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. CMake Error: Missing DEPENDENCIES File During make install for qtdeclarative/tests/auto/qmlls
Forum Updated to NodeBB v4.3 + New Features

CMake Error: Missing DEPENDENCIES File During make install for qtdeclarative/tests/auto/qmlls

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 4 Posters 204 Views 3 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.
  • S Offline
    S Offline
    SuhasKrishanamurthy
    wrote last edited by
    #1

    Hi all,

    I'm trying to build and install the Qt dev source code from Git (dev branch). Everything builds fine, but the final make install step fails with the following error:

    CMake Error at qtdeclarative/tests/auto/qmlls/modules/cmake_install.cmake:51 (file):
      file INSTALL cannot find
      "/home/ubuntuthinkpad/Suhas/qt-sourceCode/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:67 (include)
      qtdeclarative/tests/auto/cmake_install.cmake:107 (include)
      qtdeclarative/tests/cmake_install.cmake:47 (include)
      qtdeclarative/cmake_install.cmake:557 (include)
      cmake_install.cmake:72 (include)
    
    
    1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote last edited by
      #8

      It's all documented here and it works out of the box.
      I personally don't use -skip. I explicitly select the submodules I want to build.
      I always build w/o prefix into directories outside the source tree. E.g. like that:

      ../dev/configure -developer-build -xcb -nomake examples -make tests -submodules qtdeclarative
      ninja
      

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      1
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote last edited by
        #2

        Which Qt version exactly? You say dev branch which suggests newest, but then your folder is named Qt 5.
        What commands did you run, did you follow some compilation guide?

        (Z(:^

        JKSHJ 1 Reply Last reply
        1
        • Axel SpoerlA Offline
          Axel SpoerlA Offline
          Axel Spoerl
          Moderators
          wrote last edited by
          #3

          The missing DEPENDECIES isn't part of the sources, it never has been.

          Software Engineer
          The Qt Company, Oslo

          1 Reply Last reply
          0
          • sierdzioS sierdzio

            Which Qt version exactly? You say dev branch which suggests newest, but then your folder is named Qt 5.
            What commands did you run, did you follow some compilation guide?

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote last edited by
            #4

            @sierdzio said in CMake Error: Missing DEPENDENCIES File During make install for qtdeclarative/tests/auto/qmlls:

            your folder is named Qt 5.

            To be fair, that's the name of our top-level git repo for Qt 6: https://github.com/qt/qt5

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            1
            • S Offline
              S Offline
              SuhasKrishanamurthy
              wrote last edited by SuhasKrishanamurthy
              #5

              I am building Qt 6.11 from the dev branch using Gerrit, not the official GitHub mirror. I am cloning the Qt source code into a qt5 directory and using the following configure command to set up the build:

              ../configure -prefix /home/ubuntuthinkpad/Suhas/qt-sourceCode/qt-fix   -skip qttranslations -skip qt3d -skip qtandroidextras -skip webkit   -skip qtwebengine -skip qtopcua -skip qtwebview -skip qtmultimedia   -skip qtspeech -skip qtnetworkauth -skip qtwayland -skip qtpdf   -skip qtgrpc   -nomake examples -xcb -bundled-xcb-xinput -developer-build   -- -DQT_BUILD_TESTS_BY_DEFAULT=ON -DQT_BUILD_TESTS=ON -DQT_FEATURE_openssl=ON
              

              The configuration and build steps complete successfully. However, when I run the installation step with:

              cmake --install .
              

              The above error came when I ran cmake install command.

              1 Reply Last reply
              0
              • Axel SpoerlA Offline
                Axel SpoerlA Offline
                Axel Spoerl
                Moderators
                wrote last edited by
                #6

                I can't reproduce this error on my PC and it also doesn't happen in our CI.
                Out of interest: Why do you configure a developer build with a prefix? My personal use case of a developer build (which I literally use every day) is to build without prefix.

                • Have you seen this error before, i.e. with an earlier Qt version?
                • What's your git HEAD at toplevel (i.e. in the qt5 directory) and in the qtdeclarative subdirectory?

                The following hammer-fix should allow you to build without flaws. It basically wipes your build tree and resets the repository to the latest stable submodule update. The latter will destructively remove any changes you might have done in the source code. It cleans up the declarative subdirectory explicitly to make sure no DEPENDENCIES files are dangling around.

                • rm -rf /home/ubuntuthinkpad/Suhas/qt-sourceCode/qt-fix/*
                • cd /home/ubuntuthinkpad/Suhas/qt-sourceCode/qtdeclarative
                • git clean -fdx && git reset --hard
                • cd .. && git submodule update --recursive

                Software Engineer
                The Qt Company, Oslo

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SuhasKrishanamurthy
                  wrote last edited by
                  #7

                  @Axel-Spoerl I haven't seen this error before.
                  This is the HEAD 8f474fae0f after using these command and can you share the configure command to build the source code also can you Please guide the complete build process and commands.

                  1 Reply Last reply
                  0
                  • Axel SpoerlA Offline
                    Axel SpoerlA Offline
                    Axel Spoerl
                    Moderators
                    wrote last edited by
                    #8

                    It's all documented here and it works out of the box.
                    I personally don't use -skip. I explicitly select the submodules I want to build.
                    I always build w/o prefix into directories outside the source tree. E.g. like that:

                    ../dev/configure -developer-build -xcb -nomake examples -make tests -submodules qtdeclarative
                    ninja
                    

                    Software Engineer
                    The Qt Company, Oslo

                    1 Reply Last reply
                    1
                    • S SuhasKrishanamurthy has marked this topic as solved

                    • Login

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