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

Superfluous optional components

    XMLWordPrintable

Details

    • All
    • 5
    • 2ec9d7b53 (dev), de29dc3d9 (6.9), 5ef811f33 (6.8), bdec0dd3e (tqtc/lts-6.5), 3edd95672 (dev), 8f61fffc1 (6.9), 0dc68b3e4 (6.8)
    • Foundation Sprint 122

    Description

      It looks like the optional components defined in CMakeLists.txt (Gui Widgets Quick QuickControls2) are only relevant for the tests.

      Missing optional components will create a warning when Qt is configured:

      -- Configuring submodule 'qtconnectivity'
      -- Could NOT find Qt6Widgets (missing: Qt6Widgets_DIR)
      CMake Warning at /home/.../Temp/toolchain/b/src/qt-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:239 (message):
        Failed to find optional Qt component "Widgets".
      
        Expected Config file at
        "/home/.../Temp/toolchain/b/src/qt-build/qtbase/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake"
        does NOT exist
      
      Call Stack (most recent call first):
        qtconnectivity/CMakeLists.txt:15 (find_package)
      

      It would be clean the request this optional components only, when the tests are build.

      Attachments

        Issue Links

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

          Activity

            People

              vuokko Juha Vuolle
              larss Lars Schmertmann
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes