Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Error building static Qt with msvc2019

Error building static Qt with msvc2019

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 2 Posters 289 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pderocco
    wrote on 23 Apr 2021, 07:13 last edited by pderocco
    #1

    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
      directory.
    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?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 23 Apr 2021, 07:15 last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0

      1/2

      23 Apr 2021, 07:13

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved