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. Qt6 from source on windows build. QtCreator issue
Forum Updated to NodeBB v4.3 + New Features

Qt6 from source on windows build. QtCreator issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt6
10 Posts 3 Posters 728 Views 2 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.
  • D Offline
    D Offline
    Dariusz
    wrote on last edited by
    #1

    Hey

    When I run the .pro project I get stuck at 7ede7117-e1e3-4232-baf4-158c3deefcd7-image.png

    How can I "type o" as no matter where/how I select it does not let me do it.

    Or what would be the right command to do it from cmd?

    TIA

    1 Reply Last reply
    0
    • artwawA Offline
      artwawA Offline
      artwaw
      wrote on last edited by
      #2

      Hi, you need to pass -opensource to the configure.bat call.

      For more information please re-read.

      Kind Regards,
      Artur

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dariusz
        wrote on last edited by
        #3

        @artwaw said in Qt6 from source on windows build. QtCreator issue:

        -opensource

        How?

        Im clicking run qmake in QtCreator and I don't have an input method :c

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          If you want to build Qt yourself, then you have to use the command line in order to execute the configure script properly.

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

          D 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            If you want to build Qt yourself, then you have to use the command line in order to execute the configure script properly.

            D Offline
            D Offline
            Dariusz
            wrote on last edited by Dariusz
            #5

            @SGaist said in Qt6 from source on windows build. QtCreator issue:

            Hi,

            If you want to build Qt yourself, then you have to use the command line in order to execute the configure script properly.

            I just wanted to load pro project to be able to navigate around source code as the https://code.woboq.org/qt5/ does not support Qt6.

            I'd like to build at some point Qt6 too but not just yet...

            How can I get the darn pro project to load src and allow me to use ide magic to jump around the source?

            TIA

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Qt 6 uses cmake and I would rather avoid trying to load the whole project in any editor. Load only the module you are interested in.

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

              D 1 Reply Last reply
              0
              • SGaistS SGaist

                Qt 6 uses cmake and I would rather avoid trying to load the whole project in any editor. Load only the module you are interested in.

                D Offline
                D Offline
                Dariusz
                wrote on last edited by
                #7

                @SGaist How do I load partially src ?

                I tried picking different cmakes but they seem to be part of bigger build and don't work by themself.

                I ended up picking root cmake that kinda work but gets errors >

                CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:155 (file):
                  file STRINGS file
                  "C:/Qt/6.0.3/Src/build/debug/qtbase/include/QtQuick3DUtils/headers.pri"
                  cannot be read.
                Call Stack (most recent call first):
                  qtbase/cmake/QtModuleHelpers.cmake:212 (qt_read_headers_pri)
                  qtquick3d/src/utils/CMakeLists.txt:7 (qt_internal_add_module)
                
                
                -- Running syncqt for module: 'QtQuick3DAssetImport' 
                CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:155 (file):
                  file STRINGS file
                  "C:/Qt/6.0.3/Src/build/debug/qtbase/include/QtQuick3DAssetImport/headers.pri"
                  cannot be read.
                Call Stack (most recent call first):
                  qtbase/cmake/QtModuleHelpers.cmake:212 (qt_read_headers_pri)
                  qtquick3d/src/assetimport/CMakeLists.txt:7 (qt_internal_add_module)
                

                And more more more.... wall of text.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Did you configure Qt at least once completely ?

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

                  D 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Did you configure Qt at least once completely ?

                    D Offline
                    D Offline
                    Dariusz
                    wrote on last edited by
                    #9

                    @SGaist I've no idea... I tried running .pro project. That did not work. I tried opening cmakelist.txt in clion & result of that is above. I guess hes missing precompiled headers(?).

                    I thought that the .pro file would do all the heavy lifting?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Then start by running the configure script, it's a requirement in order to build qtbase at least.

                      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

                      • Login

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