Error building static Qt with msvc2019

  • I'm trying to build Qt statically with msvc2019. It configures fine, seems to build fine, and then barfs on the install with the following:

    -- Installing: C:/Qt/Qt6.0.3/6.0.3/msvc2019s/bin/qtattributionsscanner.exe
    CMake Error at qttools/src/qtplugininfo/cmake_install.cmake:42 (file):
      file INSTALL cannot find
      "C:/Qt/Qt6.0.3/6.0.3/build/qtbase/bin/qtplugininfo.exe": No such file or
    Call Stack (most recent call first):
      qttools/src/cmake_install.cmake:77 (include)
      qttools/cmake_install.cmake:42 (include)
      cmake_install.cmake:62 (include)

    Here is my configure command:

    configure.bat -prefix "C:\Qt\Qt6.0.3\6.0.3\msvc2019s" -release -platform win32-msvc -confirm-license -opensource -nomake examples -nomake tests -static

    Anyone see anything wrong with this? Do you need any more info?

  • Lifetime Qt Champion

    This post is deleted!

Log in to reply