Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. building 6.9.2 and 6.9.1 fails to find file for installation
Forum Updated to NodeBB v4.3 + New Features

building 6.9.2 and 6.9.1 fails to find file for installation

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 335 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.
  • N Offline
    N Offline
    Nuno Pedrosa
    wrote last edited by
    #1

    I am trying to build Qt from the sources in download.qt.io in the official_releases
    I have tried 6.9.1 and 6.9.2, but I keep having the same problem.

    here are my settings:
    python 3.9.13
    cmake 4.1.1
    Visual studio 2022 17.14.13

    it seems to satisfy the minimum requirements.

    here the list of commands I use:

    set QT_VERS=6.9.1
    mkdir msvc2022_x64
    cd msvc2022_x64
    call "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64
    path=%cd%\qtbase\bin;%path%
    call ..\qt-everywhere-src-%QT_VERS%\configure.bat --prefix=C:\kbcdev\qt\%QT_VERS%_MY\msvc2022_x64 -opensource -confirm-license -debug-and-release -nomake tests -nomake examples -qtlibinfix _my -- -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe || goto :errors
    cmake --build . --config Debug || goto :errors
    cmake --install . --config Debug || goto :errors
    

    it compiles fine (I think) and when running the install step I get this:

    CMake Error at qtdeclarative/tools/qmltime/cmake_install.cmake:80 (file):
      file INSTALL cannot find
      "C:/qt_build/6.9.1/msvc2022_x64/qtbase/qml/QmlTime/qmltime.qmltypes": File
      exists.
    Call Stack (most recent call first):
      qtdeclarative/tools/cmake_install.cmake:102 (include)
      qtdeclarative/cmake_install.cmake:47 (include)
      cmake_install.cmake:67 (include)
    

    has anybody come across this problem?

    I am quite familiar with cmake, but this is a massive project and I could not find where this files was supposed to be generated to try and fix that.

    Thanks

    kkoehneK 1 Reply Last reply
    0
    • N Nuno Pedrosa

      I am trying to build Qt from the sources in download.qt.io in the official_releases
      I have tried 6.9.1 and 6.9.2, but I keep having the same problem.

      here are my settings:
      python 3.9.13
      cmake 4.1.1
      Visual studio 2022 17.14.13

      it seems to satisfy the minimum requirements.

      here the list of commands I use:

      set QT_VERS=6.9.1
      mkdir msvc2022_x64
      cd msvc2022_x64
      call "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64
      path=%cd%\qtbase\bin;%path%
      call ..\qt-everywhere-src-%QT_VERS%\configure.bat --prefix=C:\kbcdev\qt\%QT_VERS%_MY\msvc2022_x64 -opensource -confirm-license -debug-and-release -nomake tests -nomake examples -qtlibinfix _my -- -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe || goto :errors
      cmake --build . --config Debug || goto :errors
      cmake --install . --config Debug || goto :errors
      

      it compiles fine (I think) and when running the install step I get this:

      CMake Error at qtdeclarative/tools/qmltime/cmake_install.cmake:80 (file):
        file INSTALL cannot find
        "C:/qt_build/6.9.1/msvc2022_x64/qtbase/qml/QmlTime/qmltime.qmltypes": File
        exists.
      Call Stack (most recent call first):
        qtdeclarative/tools/cmake_install.cmake:102 (include)
        qtdeclarative/cmake_install.cmake:47 (include)
        cmake_install.cmake:67 (include)
      

      has anybody come across this problem?

      I am quite familiar with cmake, but this is a massive project and I could not find where this files was supposed to be generated to try and fix that.

      Thanks

      kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote last edited by
      #2

      Shot in the dark, but you might try a slightly older CMake version. Just suggesting this as CMake 4.1.1 is fairly new, and the error message looks ... dubious.

      Director R&D, The Qt Company

      1 Reply Last reply
      0

      • Login

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