You can find some qt configure options in its official document. But more options are undocumented. To get a full list of qt configure options, you should understand how qt […]

.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 […]

The role of qmake in Qt configure

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 […]

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”, […]