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

modules depending on QtGUI not automatically deactivated when configuriting with -no-gui

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0 Beta1
    • 5.2.1
    • Build System
    • None
    • Linux (openSUSE 12.3) x86_64
    • many

    Description

      I configured the build using

      ./configure -no-gui -opensource -confirm-license

      And then I just started to build. It looks like some modules do not check if their dependencies are enabled and still try to build if not. In this case e.g. this happens:

      cd examples/ && ( test -e Makefile || /tmp/qt-everywhere-opensource-src-5.2.1/qtbase/bin/qmake /tmp/qt-everywhere-opensource-src-5.2.1/qtdeclarative/examples/examples.pro -o Makefile ) && make -f Makefile
      make[2]: Entering directory `/tmp/qt-everywhere-opensource-src-5.2.1/qtdeclarative/examples'
      cd qml/ && ( test -e Makefile || /tmp/qt-everywhere-opensource-src-5.2.1/qtbase/bin/qmake /tmp/qt-everywhere-opensource-src-5.2.1/qtdeclarative/examples/qml/qml.pro -o Makefile ) && make -f Makefile
      make[3]: Entering directory `/tmp/qt-everywhere-opensource-src-5.2.1/qtdeclarative/examples/qml'
      cd qmlextensionplugins/ && ( test -e Makefile || /tmp/qt-everywhere-opensource-src-5.2.1/qtbase/bin/qmake /tmp/qt-everywhere-opensource-src-5.2.1/qtdeclarative/examples/qml/qmlextensionplugins/qmlextensionplugins.pro -o Makefile ) && make -f Makefile
      Project ERROR: Unknown module(s) in QT: gui

      Things then depending on QtDeclarative (e.g. QtLocation) are not omitted as it looks to me on a glance.

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              rebemlix Rolf Eike Beer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes