Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Build Qt 6.11, "skip" ignored (not working)
Qt 6.11 is out! See what's new in the release blog

Build Qt 6.11, "skip" ignored (not working)

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 6 Posters 459 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    maisoui
    wrote last edited by
    #1

    Hi,

    I tried to build Qt 6.11 like I did for all previous versions of Qt 6, and it seems that "skip" argument is ignored. I tried "-skip qtwebengine -skip qtdoc" or "-skip qtwebengine,qtdoc", but "config,summary" file confirms that these modules are not ignored and will be part of the build ("WebEngine .............................. yes"). I noticed that config.opt.in file doesn't inlcudes the "skip" argument whereas it did in previous versions.

    Is anyone else having the same issue?
    Best regards,
    Jonathan

    1 Reply Last reply
    1
    • M maisoui

      Hi,
      Thank you for your answer. I read the documentation multiple times and tried a lot of calls to configure with different options, but modules designed by "skip" are never ignored and are part of build (according to config.summary).

      Here is a sample of my call to configure:

      -debug-and-release -opensource -confirm-license -opengl desktop -sql-mysql -no-dbus -no-icu -no-fontconfig -nomake examples -nomake tests -skip qt3d,qt5compat,qtcoap,qtconnectivity,qtdatavis3d,qtdeclarative,qtdoc,qtgrpc,qtlocation,qtlottie,qtmqtt,qtopcua,qtquick3d,qtquick3dphysics,qtquickeffectmaker,qtquicktimeline,qtremoteobjects,qtscxml,qtsensors,qtserialbus,qtserialport,qtshadertools,qtspeech,qtvirtualkeyboard,qtwayland,qtwebengine,qtwebview -optimize-size -shared ...
      

      Any suggestions are welcomed.

      K Offline
      K Offline
      kodarn
      wrote last edited by
      #7

      @maisoui To get you going, you could try to ignore the -skip thingy, and use CMake variables instead, like:

      configure -debug-and-release -opensource -confirm-license -opengl desktop -sql-mysql -no-dbus -no-icu -no-fontconfig -nomake examples -nomake tests -optimize-size -shared ... -- -DBUILD_qt3d=OFF -DBUILD_qt5compat=OFF -DBUILD_qtcoap=OFF -DBUILD_qtconnectivity=OFF -DBUILD_qtdatavis3d=OFF -DBUILD_qtdeclarative=OFF -DBUILD_qtdoc=OFF -DBUILD_qtgrpc=OFF -DBUILD_qtlocation=OFF -DBUILD_qtlottie=OFF -DBUILD_qtmqtt=OFF -DBUILD_qtopcua=OFF -DBUILD_qtquick3d=OFF -DBUILD_qtquick3dphysics=OFF -DBUILD_qtquickeffectmaker=OFF -DBUILD_qtquicktimeline=OFF -DBUILD_qtremoteobjects=OFF -DBUILD_qtscxml=OFF -DBUILD_qtsensors=OFF -DBUILD_qtserialbus=OFF -DBUILD_qtserialport=OFF -DBUILD_qtshadertools=OFF -DBUILD_qtspeech=OFF -DBUILD_qtvirtualkeyboard=OFF -DBUILD_qtwayland=OFF -DBUILD_qtwebengine=OFF -DBUILD_qtwebview=OFF
      
      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote last edited by
        #2

        Hi,

        Can you show the exact steps you are taking to build Qt ?

        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
        • M Offline
          M Offline
          maisoui
          wrote last edited by
          #3

          Hi,

          I'm not sure to understand your question. Here's my steps :

          • call vcvarsall.bat for Visual Studio 2026
          • set a couple of variables (like PATH)
          • call configure.bat with arguments
          • cmake --build . --parallel
          • cmake --install . --config Release
          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote last edited by
            #4

            The exact configure call would be good so people can try and reproduce your issue in the same context.

            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
            • P Offline
              P Offline
              Peter Watson
              wrote last edited by
              #5

              @hollow knight I’ve run into something similar with Qt 6.11—seems like the -skip option isn’t behaving the same way as in earlier versions. It might be related to changes in the build system or how modules are handled now. Have you tried using the new configure flags or checking the official docs for any updates on this?I’ve run into something similar with Qt 6.11—seems like the -skip option isn’t behaving the same way as in earlier versions. It might be related to changes in the build system or how modules are handled now. Have you tried using the new configure flags or checking the official docs for any updates on this?

              1 Reply Last reply
              0
              • M Offline
                M Offline
                maisoui
                wrote last edited by maisoui
                #6

                Hi,
                Thank you for your answer. I read the documentation multiple times and tried a lot of calls to configure with different options, but modules designed by "skip" are never ignored and are part of build (according to config.summary).

                Here is a sample of my call to configure:

                -debug-and-release -opensource -confirm-license -opengl desktop -sql-mysql -no-dbus -no-icu -no-fontconfig -nomake examples -nomake tests -skip qt3d,qt5compat,qtcoap,qtconnectivity,qtdatavis3d,qtdeclarative,qtdoc,qtgrpc,qtlocation,qtlottie,qtmqtt,qtopcua,qtquick3d,qtquick3dphysics,qtquickeffectmaker,qtquicktimeline,qtremoteobjects,qtscxml,qtsensors,qtserialbus,qtserialport,qtshadertools,qtspeech,qtvirtualkeyboard,qtwayland,qtwebengine,qtwebview -optimize-size -shared ...
                

                Any suggestions are welcomed.

                K 1 Reply Last reply
                0
                • M maisoui

                  Hi,
                  Thank you for your answer. I read the documentation multiple times and tried a lot of calls to configure with different options, but modules designed by "skip" are never ignored and are part of build (according to config.summary).

                  Here is a sample of my call to configure:

                  -debug-and-release -opensource -confirm-license -opengl desktop -sql-mysql -no-dbus -no-icu -no-fontconfig -nomake examples -nomake tests -skip qt3d,qt5compat,qtcoap,qtconnectivity,qtdatavis3d,qtdeclarative,qtdoc,qtgrpc,qtlocation,qtlottie,qtmqtt,qtopcua,qtquick3d,qtquick3dphysics,qtquickeffectmaker,qtquicktimeline,qtremoteobjects,qtscxml,qtsensors,qtserialbus,qtserialport,qtshadertools,qtspeech,qtvirtualkeyboard,qtwayland,qtwebengine,qtwebview -optimize-size -shared ...
                  

                  Any suggestions are welcomed.

                  K Offline
                  K Offline
                  kodarn
                  wrote last edited by
                  #7

                  @maisoui To get you going, you could try to ignore the -skip thingy, and use CMake variables instead, like:

                  configure -debug-and-release -opensource -confirm-license -opengl desktop -sql-mysql -no-dbus -no-icu -no-fontconfig -nomake examples -nomake tests -optimize-size -shared ... -- -DBUILD_qt3d=OFF -DBUILD_qt5compat=OFF -DBUILD_qtcoap=OFF -DBUILD_qtconnectivity=OFF -DBUILD_qtdatavis3d=OFF -DBUILD_qtdeclarative=OFF -DBUILD_qtdoc=OFF -DBUILD_qtgrpc=OFF -DBUILD_qtlocation=OFF -DBUILD_qtlottie=OFF -DBUILD_qtmqtt=OFF -DBUILD_qtopcua=OFF -DBUILD_qtquick3d=OFF -DBUILD_qtquick3dphysics=OFF -DBUILD_qtquickeffectmaker=OFF -DBUILD_qtquicktimeline=OFF -DBUILD_qtremoteobjects=OFF -DBUILD_qtscxml=OFF -DBUILD_qtsensors=OFF -DBUILD_qtserialbus=OFF -DBUILD_qtserialport=OFF -DBUILD_qtshadertools=OFF -DBUILD_qtspeech=OFF -DBUILD_qtvirtualkeyboard=OFF -DBUILD_qtwayland=OFF -DBUILD_qtwebengine=OFF -DBUILD_qtwebview=OFF
                  
                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jimholland
                    wrote last edited by
                    #8

                    @slope Instead of relying on -skip, explicitly disable modules using CMake flags, for example:

                    -DQT_BUILD_WEBENGINE=OFF
                    -DQT_BUILD_DOCS=OFF

                    (module names can vary slightly, so it’s worth checking the specific option names in the module’s CMakeLists or documentation)

                    1 Reply Last reply
                    1
                    • R Offline
                      R Offline
                      Rosemaruy
                      Banned
                      wrote last edited by Rosemaruy
                      #9
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        maisoui
                        wrote last edited by
                        #10

                        Thank you all for your help.

                        I've changed my approach and now use "-submodules" to include only the modules I need, without having to worry about excluding everything I don't need. I think this will also make it easier to maintain when new Qt releases.

                        Best regards

                        1 Reply Last reply
                        2
                        • M maisoui has marked this topic as solved

                        • Login

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