Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88214

configure -skip qtdeclarative fails

    XMLWordPrintable

Details

    Description

      Qt 6's configure script does support the -skip argument, but it seems many combinations are not covered:

      configure -skip qtdeclarative
      [...]
      CMake Error at qtquickcontrols2/CMakeLists.txt:18 (find_package):
        Found package configuration file:
      
          C:/dev/qt/dev/cmake-test/qtbase/lib/cmake/Qt6/Qt6Config.cmake
      
        but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
        FOUND.  Reason given by package:
      
        Failed to find Qt component "Qml" config file at ""
      
        Failed to find Qt component "Quick" config file at ""
      

      There is logic in qt5/CMakeLists.txt that seems to try to handle unmet dependencies (see logic after # Check for unmet dependencies. Anyhow, for some reason that is not triggered here. Also the logic seems to try to bail out for unmet dependencies, while in Qt 5 leaf-modules that depend on disabled modules where just skipped.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            semlanik Alexey Edelev
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes