Skills: C++ Programming, Mac OS, Qt, Software Architecture See more: delphi compile project, red5 compile project, compile program using gcc, deploy qt application on windows, build qt project from command line windows, qt 5.
Makefile:69: recipe for target ‘sub-examples-make_first’ failed I need to compile a project for Mac Os using static version of Qt 5.11.
Mingw32-make: Leaving directory ‘C:/Qt/5.10.1/Src/qtbase/examples’ Makefile:177: recipe for target ‘sub-network-make_first’ failed Mingw32-make: Leaving directory ‘C:/Qt/5.10.1/Src/qtbase/examples/network’ Makefile:56: recipe for target ‘sub-download-make_first’ failed Makefile:36: recipe for target ‘debug’ failed Mingw32-make: Leaving directory ‘C:/Qt/5.10.1/Src/qtbase/examples/network/download’ Yes it acually did: but the command mingw32-make ended with errors:
This repository contains Qt 5.6.3 sources with a script meant to build a static version of the library with MSVC static runtime, as well as additional fixes meant to make the build runnable on Windows XP with a processor without any additional instruction set extensions. You can also run the following command to get rid of build files you don’t need (since the install command already copied them to your static build destination folder): mingw32-make clean Static Qt 5.6.3 build for Windows XP without SSE2. Continue reading 'How to Build Qt 5. This only covers the paths and configurations for Qt 5.6 and it’s titled MSVC 2010 because Qt 5.6 installation includes pre-built libraries for all Compiler versions except MSVC 2010.
Also you can skip building tests and examples for a shorter build time, in that case you have to use the following command instead of the one above: configure -opensource -confirm-license -static -platform win32-g++ -opengl desktop -prefix "C:\Qt\Qt5.9.2\5.9.2\mingw53_32_static" -skip webengine -nomake tests -nomake examplesĪfter that, run this command (this will take a long time, and will require a lot of disk space): mingw32-makeĪfter the install process you’ll get your static build inside the following folder: C:\Qt\Qt5.9.2\5.9.2\mingw53_32_static If you have already seen my Guide on How to Build Qt 5.5 Static wit MSVC then you probably won’t find anything new in this article. Note that WebEngine module can’t be built statically so it is skipped. Now start a command prompt instance and run the following command in “C:\Qt\Qt5.9.2\5.9.2\Src” folder: configure -opensource -confirm-license -static -platform win32-g++ -opengl desktop -prefix "C:\Qt\Qt5.9.2\5.9.2\mingw53_32_static" -skip webengine Then create the following folder: C:\Qt\Qt5.9.2\5.9.2\mingw53_32_static Assuming that you have installed Qt into the default path, you have to make sure the following two entries are added to the PATH environment variable: C:\Qt\Qt5.9.2\5.9.2\Src\gnuwin32\bin