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. Error on ./configure script in qt-everywhere-opensource-src-5.9.6
Forum Update on Monday, May 27th 2025

Error on ./configure script in qt-everywhere-opensource-src-5.9.6

Scheduled Pinned Locked Moved Solved Installation and Deployment
25 Posts 4 Posters 4.6k Views
  • 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.
  • H Offline
    H Offline
    Hi_Be
    wrote on 6 Aug 2018, 08:21 last edited by
    #16

    I am not aware of and it was not my intention. Can I check this or is it posible,
    to take out of compilation?

    Thank you and best regards.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 6 Aug 2018, 08:54 last edited by
      #17

      The most simple is: do you need all of Qt's module right now ? If not, then only build the one you are going to use. It's going to take less time and disk space.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hi_Be
        wrote on 6 Aug 2018, 10:18 last edited by
        #18

        No, you are right, i did not Need all modules. But there are 2 Problems.
        First, if i want to skip a module, where i got the right name as skip-parameter,
        because the module-names on the QT-Webseite delivers an error. For example for the
        module "Qt SQL" -skip qt sql or -skip qt_sql or -skip sql doesn't work.

        Second, is it possible to add later the module again, if nessecary?

        K 1 Reply Last reply 6 Aug 2018, 10:40
        0
        • H Hi_Be
          6 Aug 2018, 10:18

          No, you are right, i did not Need all modules. But there are 2 Problems.
          First, if i want to skip a module, where i got the right name as skip-parameter,
          because the module-names on the QT-Webseite delivers an error. For example for the
          module "Qt SQL" -skip qt sql or -skip qt_sql or -skip sql doesn't work.

          Second, is it possible to add later the module again, if nessecary?

          K Offline
          K Offline
          koahnig
          wrote on 6 Aug 2018, 10:40 last edited by koahnig 8 Jun 2018, 10:41
          #19

          @Hi_Be said in Error on ./configure script in qt-everywhere-opensource-src-5.9.6:

          No, you are right, i did not Need all modules. But there are 2 Problems.
          First, if i want to skip a module, where i got the right name as skip-parameter,
          because the module-names on the QT-Webseite delivers an error. For example for the
          module "Qt SQL" -skip qt sql or -skip qt_sql or -skip sql doesn't work.

          https://doc.qt.io/qt-5/configure-options.html#excluding-qt-modules and
          https://doc.qt.io/qt-5/sql-driver.html#building-the-drivers
          You should see all options with running

          configure -help
          

          Second, is it possible to add later the module again, if nessecary?

          Yes

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          1
          • H Offline
            H Offline
            Hi_Be
            wrote on 6 Aug 2018, 12:07 last edited by
            #20

            Sorry, may be a missunderstandig of mine, but

            in https://doc.qt.io/qt-5/configure-options.html#excluding-qt-modules
            is discripted:
            Excluding Qt Modules¶

            Configure's -skip option allows top-level source directories to be excluded from the Qt build. Note that many directories contain multiple Qt modules. For example, to exclude Qt NFC and Qt Bluetooth from the Qt build, provide -skip qtconnectivity as the argument to configure.

            ./configure -skip qtconnectivity

            and when i look under QT-Modules (https://doc.qt.io/qt-5/qtmodules.html) i see:

            The following table lists the Qt essentials:

            Module

            Description

            Qt Core Core non-graphical classes used by other modules.
            Qt GUI Base classes for graphical user interface (GUI) components. Includes OpenGL.
            Qt Multimedia Classes for audio, video, radio and camera functionality.
            Qt Multimedia Widgets Widget-based classes for implementing multimedia functionality.
            Qt Network Classes to make network programming easier and more portable.
            Qt QML Classes for QML and JavaScript languages.
            Qt Quick A declarative framework for building highly dynamic applications with custom user interfaces.
            Qt Quick Controls 2 Provides lightweight QML types for creating performant user interfaces for desktop, embedded, and mobile devices. These types employ a simple styling architecture and are very efficient.
            Qt Quick Dialogs Types for creating and interacting with system dialogs from a Qt Quick application.
            Qt Quick Layouts Layouts are items that are used to arrange Qt Quick 2 based items in the user interface.
            Qt Quick Test A unit test framework for QML applications, where the test cases are written as JavaScript functions.
            Qt SQL Classes for database integration using SQL.
            ...

            Can you give me a example, how the Modul QT SQL could be excluded and where
            i found the argument for skip?
            May be, i understand this better.
            Thank you.

            K 1 Reply Last reply 6 Aug 2018, 12:24
            0
            • H Hi_Be
              6 Aug 2018, 12:07

              Sorry, may be a missunderstandig of mine, but

              in https://doc.qt.io/qt-5/configure-options.html#excluding-qt-modules
              is discripted:
              Excluding Qt Modules¶

              Configure's -skip option allows top-level source directories to be excluded from the Qt build. Note that many directories contain multiple Qt modules. For example, to exclude Qt NFC and Qt Bluetooth from the Qt build, provide -skip qtconnectivity as the argument to configure.

              ./configure -skip qtconnectivity

              and when i look under QT-Modules (https://doc.qt.io/qt-5/qtmodules.html) i see:

              The following table lists the Qt essentials:

              Module

              Description

              Qt Core Core non-graphical classes used by other modules.
              Qt GUI Base classes for graphical user interface (GUI) components. Includes OpenGL.
              Qt Multimedia Classes for audio, video, radio and camera functionality.
              Qt Multimedia Widgets Widget-based classes for implementing multimedia functionality.
              Qt Network Classes to make network programming easier and more portable.
              Qt QML Classes for QML and JavaScript languages.
              Qt Quick A declarative framework for building highly dynamic applications with custom user interfaces.
              Qt Quick Controls 2 Provides lightweight QML types for creating performant user interfaces for desktop, embedded, and mobile devices. These types employ a simple styling architecture and are very efficient.
              Qt Quick Dialogs Types for creating and interacting with system dialogs from a Qt Quick application.
              Qt Quick Layouts Layouts are items that are used to arrange Qt Quick 2 based items in the user interface.
              Qt Quick Test A unit test framework for QML applications, where the test cases are written as JavaScript functions.
              Qt SQL Classes for database integration using SQL.
              ...

              Can you give me a example, how the Modul QT SQL could be excluded and where
              i found the argument for skip?
              May be, i understand this better.
              Thank you.

              K Offline
              K Offline
              koahnig
              wrote on 6 Aug 2018, 12:24 last edited by
              #21

              @Hi_Be

              You can check out what the proper options is by

              ./configure -help
              

              Under windows is says:

              Database options:
              
                -sql-<driver> ........ Enable SQL <driver> plugin. Supported drivers:
                                       db2 ibase mysql oci odbc psql sqlite2 sqlite tds
                                       [all auto]
                -sqlite .............. Select used sqlite3 [system/qt]
              

              I would use the prefix "-no" which would be "-no-sql-mysql" according to this help text.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              1
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 6 Aug 2018, 18:40 last edited by
                #22

                To shorten things, start by only building qtbase, then you can continue with the other modules.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Hi_Be
                  wrote on 7 Aug 2018, 12:42 last edited by
                  #23

                  Ok, now the building of qt works!

                  But to get the correct Parameters/arguments for adding or removing
                  modules likes a little as a quesswork.

                  For example in the documentation was the example

                  "./configure -skip qtconnectivity"

                  where "qtconnectivity" belongs to the modules "Qt NFC" and "Qt Bluetooth" (as descriped in the doc by the skip example)

                  But where could i find, that "qtconnectivity" was the right argument to
                  remove connections?

                  Neither the terminal Output of "./configure -help" nor the terminal
                  Output of the configure script, wenn running:


                  Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
                  Configuration: use_gold_linker sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples enable_new_dtags f16c largefile precompile_header shared rpath release c++11 c++14 c++1z concurrent dbus no-pkg-config reduce_exports reduce_relocations stl
                  Build options:
                  Mode ................................... release
                  Optimize release build for size ........ no
                  Building shared libraries .............. yes
                  Using C++ standard ..................... C++1z
                  Using ccache ........................... no
                  Using gold linker ...................... yes
                  Using new DTAGS ........................ yes
                  Using precompiled headers .............. yes
                  Using LTCG ............................. no
                  Target compiler supports:
                  SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
                  AVX .................................. AVX AVX2 F16C
                  AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI
                  Build parts ............................ libs examples tools
                  Qt modules and options:
                  Qt Concurrent .......................... yes
                  ....

                  (an so on) contains the term "qtconnectivity".

                  Is there no complete list of all arguments of skip and
                  the belonging modules and a list of arguments off
                  modules which ar by -no-..... excluded?
                  For example:

                  • skip
                    Connections (Bluetooth, NFC,..) - "qtconnectivity"
                    Speech - "qtspeech"
                    Developement Tools - "devtools"

                  Thank you and best regards

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 7 Aug 2018, 18:50 last edited by
                    #24

                    IIRC, the skip argument matches the name of the modules you can find as sub-folders in the Qt 5 root folder.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      Hi_Be
                      wrote on 8 Aug 2018, 07:08 last edited by
                      #25

                      Thank you very much. This answer is very helpfully for me.

                      1 Reply Last reply
                      0

                      25/25

                      8 Aug 2018, 07:08

                      • Login

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