Static Windows 10 build with 5.15.5
Unsolved
General and Desktop
-
Hey folks
I am attempting to build a project that had previously been built with 5.8. I came up with multiple LNK errors and was able to work around that by hard-coding the IDLXMLGEN cmake file to use the dynamic Qt path:
set(idlxmlgen_qt_install_dir "C:/Program Files/Qt/Qt5.15.5/5.15.5/msvc2019_64")
This seemed to get around the errors and progress the build, leading to a different error, for which I am garnering support from Qt (see here: https://forum.qt.io/topic/136320/failing-to-build-with-5-15-5-on-windows-10/2)
Any suggestions on how to get around these lnk errors and build the IDLXMLGEN project statically with 5.15.5?
I don't have privileges to attach the file with the errors, but there are 99 that are similar to this:
main.obj : error LNK2019: unresolved external symbol "public: class QDebug __cdecl QMessageLogger::warning(void)const " (?warning@QMessageLogger@@QEBA?AVQDebug@@XZ) referenced in function "public: __cdecl <lam bda_7bea84bdf1f155f6e323c76dcb6a3464>::operator()(class QCommandLineOption const &,char const *)const " (??R<lambda_7bea84bdf1f155f6e323c76dcb6a3464>@@QEBA@AEBVQCommandLineOption@@PEBD@Z) [C:\t\tool\idlxmlgen\ idlxmlgen_project-prefix\src\idlxmlgen_project-build\idlxmlgen.vcxproj] [c:\t\tool\idlxmlgen\idlxmlgen_project-build.vcxproj]
Best regards and happy friday!
Jesse