How to enable ssl support for Qt?
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 […]
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 […]
Although this authority document talks about the porting issues arising from transferring from qtwebkit to qtwebengine, there are still a lot more to do to accomplish the porting. Porting from […]
Here is a code snippet writing data to a file: QFile outfile(“file.txt”); if (!outfile.open(QIODevice::Append)) { exit(); } QTextStream out(&outfile); out.setCodec(“UTF-8”); for(int i=0;i<100000;i++) { out<<“somedata”; } outfile.close(); If you press the […]