How to build qtbase-everywhere-src-6.5.4 only on windows using MingW64 ?
-
wrote on 21 Mar 2025, 09:35 last edited by Mr.Anubis
I am new to qt and I want to build static version of library qtbase-everywhere-src-6.x.x only (skipping all other modules) on windows 10 so that I can use it with mingw. I want minimal build due to pc's limited resources. This will be learning path for me to build heavy library like this (atleast I can try hence I just want to follow this path)
I have already installed perl, python, openssl, ninja, mingw with seh (not from qt). How to proceed? which flags etc to use?
Thanks a lot
Regards -
You can choose how to use the openssl libs: https://doc.qt.io/qt-6/configure-options.html#ssl
-
Please follow the documentation: https://doc.qt.io/qt-6/windows-building.html
If you get some errors report back here with the relevant information.
-
wrote on 21 Mar 2025, 09:41 last edited by JonB
Just be aware you will not be able to build Qt's (optional) QtWebEngine module with MinGW, so don't pick that if offered. Nor for that matter anything Bluetooth.
-
wrote on 21 Mar 2025, 12:11 last edited by Mr.Anubis
Thanks @Christian-Ehrlicher and @JonB It worked in first go :)
Can you guys check the build log, here is the build log : https://pastebin.com/1bQ9xsfP
openssl support missing ? and some other, not sure why
Thanks and Regards -
wrote on 21 Mar 2025, 13:04 last edited by Mr.Anubis
QT expects Openssl libs where?? Thanks
-
You can choose how to use the openssl libs: https://doc.qt.io/qt-6/configure-options.html#ssl
-
1/6