qmake subdirs
.pro file can specify a subdirs template. You may think to use subdirs template, you need to create sub directories and create sub project files in them. But actually you […]
.pro file can specify a subdirs template. You may think to use subdirs template, you need to create sub directories and create sub project files in them. But actually you […]
How do you display multiple-line messages in .pro file? The following code does not work. message(“First line\nSecond line”) The backslash is indeed an escape character in the string, but it […]
We’ve known the role of the configure script in configuring Qt for build. The last step of the configure script is to call qmake.exe to complete the remaining configuration. The […]
If you want to build qt from source code, the first thing you would do is to run the Qt configure script. Where is the Qt configure script? The Qt […]
In my experience in using Qt, I find it would be hard to make a business app without the help of Qt experts. In other words, you need to buy […]
When you debug a QtWebEngine application, you may use qDebug to print information here and there. You need to turn on the console by adding a line “CONFIG += console” […]
I have a very simple test project based on QtWebEngine: ——webengineview.h——- #ifndef WEBENGINEVIEW_H #define WEBENGINEVIEW_H #include <QWebEngineView> class WebengineView : public QWebEngineView { Q_OBJECT public: WebengineView(QWidget *parent = 0); ~WebengineView(); […]
In Qt, there seem a lot of classes related to XML:QDomDocument, QXmlStreamReader,QXmlSimpleReader,etc. You can choose any one to parse an XML document. QDomDocument is more powerful but keep all content […]
Creating dll seems an easy task in Qt. In Qt creator, click File/New File or Project/Projects/Library/C++ Library, then simply choose a name, you will create a dll project. Click “build”, […]
We have talked about programming with Qt WebEngine. Every time you create a QWebEngineView object, you’ll start a QtWebEngineProcess.exe process. The process corresponds to the Chromium browser Qt WebEngine is […]