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

Manually-specified variables were not used by the project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.1
    • 6.8.0
    • Build System: CMake
    • None
    • 2ce2817b8 (6.8)

    Description

      Since Qt 6.8.0 we have a warning in our configure statement.

       Manually-specified variables were not used by the project:
          BUILD_qtbase,qtwebsockets,qtscxml,qttranslations,qtdeclarative,qtimageformats,qttools,qtsvg,qtconnectivity,qtshadertools
      
      configure -release -optimize-size "" -prefix /tmp/example/dist -system-proxies -openssl-linked -I /tmp/example/dist/include -L /tmp/example/dist/lib -no-feature-calendarwidget -no-feature-colordialog -no-feature-dial -no-feature-fontcombobox -no-feature-fontdialog -no-feature-lcdnumber -no-feature-splashscreen -no-feature-syntaxhighlighter -no-feature-undoview -no-feature-securetransport -no-feature-schannel -no-feature-mdiarea -submodules qtbase,qtwebsockets,qtscxml,qttranslations,qtdeclarative,qtimageformats,qttools,qtsvg,qtconnectivity,qtshadertools -no-journald -no-directfb -no-linuxfb -no-libproxy --linker=gold -no-qml-debug -opensource -confirm-license -nomake examples -nomake tests -no-mtdev -no-dbus -no-sql-sqlite -qt-zlib -qt-pcre -qt-harfbuzz -qt-libpng -qt-libjpeg -ccache -no-feature-hijricalendar -no-feature-islamiccivilcalendar -no-feature-jalalicalendar -no-feature-designer -no-feature-testlib_selfcover -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-sharedmemory -no-feature-textodfwriter -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-printsupport -no-feature-dtls -no-feature-dom -no-feature-sql -no-feature-xml -no-feature-pdf -no-feature-brotli -no-feature-topleveldomain -no-feature-private_tests -no-feature-dnslookup -no-feature-sctp -no-feature-localserver -no-feature-filesystemwatcher -no-feature-libresolv -no-feature-quickcontrols2-imagine -no-feature-quickcontrols2-material -no-feature-quickcontrols2-universal -no-feature-quickcontrols2-fusion -skip qtactiveqt,qtlanguageserver -- -DOPENSSL_ROOT_DIR=/tmp/example/dist -DCMAKE_PREFIX_PATH=/tmp/example/dist
      

      This will generate a top-level configure statement like this:

      -- -DBUILD_qtbase,qtwebsockets,qtscxml,qttranslations,qtdeclarative,qtimageformats,qttools,qtsvg,qtconnectivity,qtshadertools=ON 
      

      Maybe it should be -DBUILD_qtbase=ON -DBUILD_qtwebsockets=ON .... ?

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes