일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 스크래퍼
- 국세청
- 크롤러
- nodejs
- 서이추 매크로
- Selenium 네이버 블로그
- 서로이웃추가 매크로
- 웹소켓 서버
- 네이버 블로그
- socket.io
- 크롤링
- 네이버 블로그 이웃추가 자동
- 실시간 웹소켓 서버
- 서로이웃추가 자동
- Node
- Selenium
- node.js
- rabbitmq
- kwoss2341
- 웹소켓
- 셀레니움
- amqplib
- 실시간
- Java
- 서이추 자동
- Today
- Total
목록Qt 프로그래밍/Basic Qt (9)
defaultK
pro 파일에 sql 추가해준다 QT += sql QtSql inlcude 한다 #include QSqlDatabase db; db = QSqlDatabase::addDatabase("QSQLITE"); db.setDatabaseName("/usr/local/app/my.db"); //db 경로 QString strQry = "PRAGMA synchronous = OFF;"; // 디스크 동기화 사용여부 if(!db.open()) { qDebug()
//1. 네트워크 통신을 위한 QNetworkAccessManager,QNetworkRequest 세팅 QNetworkAccessManager *mgr = new QNetworkAccessManager(); const QUrl url("http://api~");//url QNetworkRequest request(url); request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json"); //2. api request 양식에 따른 json 세팅 QJsonObject obj; /* obj["key1"] = "value1"; obj["key2"] = "value2"; obj["key3"] = "value3"; */ obj["SITE_CD"]..

doc.qt.io/qt-5/qsettings.html QSettings Class | Qt Core 5.15.3 QSettings Class The QSettings class provides persistent platform-independent application settings. More... Header: #include qmake: QT += core Inherits: QObject Note: All functions in this class are reentrant. Note: These functions are also thread-safe: reg doc.qt.io INI파일에 대한 기본설명 ko.wikipedia.org/wiki/INI_%ED%8C%8C%EC%9D%BC INI 파일 -..

doc.qt.io/qt-5/qprocess.html QProcess Class | Qt Core 5.15.3 QProcess Class The QProcess class is used to start external programs and to communicate with them. More... Header: #include qmake: QT += core Inherits: QIODevice Note: All functions in this class are reentrant. Public Types struct CreateProcessArguments ty doc.qt.io QProcess클래스는 프로세스를 실행해주는 클래스로 실행할 프로세스 이름과 명령어 인자만 던져주면 실행할 수 있다. QPro..
MyClass.h #ifndef MYCLASS_H #define MYCLASS_H #include #include class MyClass : public QObject { Q_OBJECT private: public slots: void cppslot(const int a,const int b); // slot 정의 public: MyClass(){ //생성자~~ } ~MyClass(){ //소멸자~~ } }; #endif // COUNTER_H MyClass.cpp #include "MyClass.h" #include void MyClass::cppslot(const int a,const int b) { //slgnal을 통해 받은 a,b를 이용하여 //slot을 구현하는 부분 } main.cpp /..
크로스컴파일 환경에서 qml과 cpp연동에 대해 알아보자 doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html Interacting with QML Objects from C++ | Qt QML 5.15.2 Interacting with QML Objects from C++ All QML object types are QObject-derived types, whether they are internally implemented by the engine or defined by third-party sources. This means the QML engine can use the Qt Meta Object System to dynamically in..

doc.qt.io/qt-5/signalsandslots.html Signals & Slots | Qt Core 5.15.2 Signals & Slots Signals and slots are used for communication between objects. The signals and slots mechanism is a central feature of Qt and probably the part that differs most from the features provided by other frameworks. Signals and slots are made poss doc.qt.io Qt의 중요한 특징 signal 과 slot이다 그림과 같이 Object1에 signal1이 발생하면 Objec..

doc.qt.io/qt-5/qtquick-positioning-anchors.html Positioning with Anchors | Qt Quick 5.15.2 Positioning with Anchors In addition to the more traditional Grid, Row, and Column, Qt Quick also provides a way to layout items using the concept of anchors. Each item can be thought of as having a set of 7 invisible "anchor lines": left, horizontalCenter doc.qt.io Rectangle { id: rect1; ... } Rectangle {..