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. Build Error!
Qt 6.11 is out! See what's new in the release blog

Build Error!

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 836 Views 1 Watching
  • 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.
  • R Offline
    R Offline
    Rangantha B V
    wrote on last edited by
    #1

    I am trying to build qt source code from gerrit using below command and steps:

    ssh://ranganatha_b_v@codereview.qt-project.org:29418/qt/qt5.git
    
    cd qt5/
    perl init-repository
    
    mkdir qt5-build
    cd qt5-build
    //configuration command 
    cmake -G Ninja \
          -DCMAKE_BUILD_TYPE=Debug \
          -DFEATURE_developer_build=ON \
          -DQT_BUILD_TESTS_BY_DEFAULT=ON\
          -DQT_BUILD_TESTS=ON\
          -DQT_BUILD_EXAMPLES=OFF \
          -DQT_BUILD_DOCS=ON \
          -DQT_BUILD_QML_DOC=ON \
          -DCMAKE_INSTALL_PREFIX=/Volumes/QtSource/qt-bug \
    /Volumes/QtSource/qt5
    
    cmake --build . --parallel
    cmake --install .
    

    and i am getting the below error when i try to install.

    -- Installing: /Volumes/QtSource/qt-bug/tests/auto/quickwidgets/qquickwidget/data/tapHandler.qml
    CMake Error at qtdeclarative/tests/auto/qmlls/modules/cmake_install.cmake:46 (file):
      file INSTALL cannot find
      "/Volumes/QtSource/qt5/qtdeclarative/tests/auto/qmlls/modules/DEPENDENCIES":
      No such file or directory.
    Call Stack (most recent call first):
      qtdeclarative/tests/auto/qmlls/cmake_install.cmake:62 (include)
      qtdeclarative/tests/auto/cmake_install.cmake:102 (include)
      qtdeclarative/tests/cmake_install.cmake:42 (include)
      qtdeclarative/cmake_install.cmake:560 (include)
      cmake_install.cmake:67 (include)
    

    i am facing this issue from last few weeks. can anyone please help me to fix this error or please correct me if i am doing wrong.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Any particular reason for building all the tests ?
      If not, then you can still have them configured but not built as part of the rest of the build.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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