Errors when tryin to create standalone executable
-
Hello,
I'm trying to create a standalone Qt GUI executable using Visual Studio and Qt 5.12.11.
I've followed this example: https://wiki.qt.io/Build_Standalone_Qt_Application_for_WindowsHowever, I found out that the configure command is only available in QTDIR\5.12.11\Src. After trying to execute the command from my visual studio console, I receive a fatal error:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstddef(12): C1083: Cannot open include file: 'stddef.h': No such file or directoryAfter some research it might be a problem related to the Windows Driver Kit which is also installed on my system, but I'm not sure how to fix it.
-
If you don't need a static build, consider going the standard and easy way:
- compile your app normally
- run
windeployqtto deploy it - that's it ;-)