![]() ![]() In Visual Studio Extensions -> Qt VS Tools -> Qt Options, add C:\Qt\qt-5.15.0-static and make it the default. Select Qt4: Add a new version by pressing the plus button enter a name and the path to qmake (Path-To-Qt-SDKqtstaticbinqmake.exe) add the MinGW directory (copy from 4.7.0) If you create a new project, you are asked, which Qt version you want to use. Set PATH=C:\Qt\qt-5.15.0-src\qtbase\bin %PATH%Ĭonfigure -debug-and-release -prefix "C:\Qt\qt-5.15.0-static" -opensource -platform win32-msvc -opengl desktop -static -static-runtime -nomake examples -nomake tests Open QtCreator and go to the Tools / Options menu. ![]() Run 圆4 Native Tools Command Prompt for VS 2019 cd C:\Qt\qt-5.15.0-src But this is what i get after running configure. I followed the instructions on Qt webpage about building it. The requirements for building Qt 5 modules from source are listed separately for each supported platform: Qt for Windows - Requirements Qt for X11 Requirements Qt for macOS - Requirements In addition, the following tools are required for building the Qt WebEngine module: All. How to build Qt statically with MSVC 2019 I want to be able to debug into qt source code so i started compiling the latest Qt version 5.8 on my MAC. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |