create dll in qt
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”, […]
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 […]
I use some RSA encrypt/decrypt functions in openssl lib so I installed the latest openssl lib 1.1.0 and imported the lib into my Qt project. I thought my Qt was […]
Although you can use QSettings to access Windows registry, sometimes it is more convenient to use Windows API directly,i.e., you are porting an old project that uses Windows API. The […]
The constructor of QWidget has an optional parameter:parent. I did not take care about this parameter in the past. Sometimes I create a QWidget object without providing the parent parameter, […]
I have been wondering how the size of Qt widgets is determined. I read a lot of articles about sizeHint, minimumSizeHint, minimumSize,resize, sizePolicy, geometry, layout, etc. Guess what? I am […]
openssl is a common used third-party library. I imported the library in my Mingw project by adding the following lines in the .pro file: INCLUDEPATH += c:\Qt\Qt5.12.1\Tools\mingw730_64\opt\include LIBS += -L […]
In Qt Creator, a build kit is composed of a compiler and a debugger,etc. Click Tools/Options, you may see quite a few kits such as Desktop Qt 5.12.1 MinGW 64-bit, Desktop Qt 5.12.1 […]
If you use Qt Creator/Mingw(the Qt Creator installation package contains Mingw so you do not need to install Mingw separately), you will have no problem debugging your application. Qt Creator […]
The silly qt creator building/debugging system always causes trouble for me. This is the error message popped(“Unexpected CDB Exit” is the window title, “The CDB process terminated” is the content […]