Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problems building Qt 5.9.4 from source on Windows
I did the following:
Install Visual Studio 2017
started a 'x86 native tools command prompt for VS 2017' cmd shell
downloaded and unzipped https://download.qt.io/official_releases/qt/5.9/5.9.4/single/qt-everywhere-opensource-src-5.9.4.zip to S:\Qt\5.9.4
configure -opensource -confirm-license -opengl desktop -skip qtwebengine -nomake tests -nomake examples -no-plugin-manifests -debug-and-release -platform win32-msvc -verbose
Everything seemed to work ok. But when I try to build my application (which used SVG) I get:
Unknown module(s) in QT:svg
When I look at S:\Qt\5.9.4 I see there are qt5svg.dll files in:
But they haven't been copied to S:\Qt\5.9.4\qtbase\bin . In fact S:\Qt\5.9.4\qtbase\bin looks rather empty.
I've wasted hours on this. Any ideas would be much appreciated.
did you run
No. You don't do 'nmake install' on Windows if you are doing an 'in tree' build (the default). This is explained in the Windows build instructions somewhere.
Alos I build Qt 5.5.1 following basically the same process, without any issues.
I never managed to get the build from source working on Windows. I had to install from binaries. but even that was a hassle. If anyone is interested there are more details here:
machomani last edited by
I have successfully build Qt 5.9 with additional argument -prefix C:\Qt5.9 while configuring and then nmake and nmake install.