Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. ubuntu qt6.4.2 system install and qt6.7 online istaller conflict
Forum Updated to NodeBB v4.3 + New Features

ubuntu qt6.4.2 system install and qt6.7 online istaller conflict

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
9 Posts 3 Posters 1.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.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by
    #1

    every project seems qt creator online installer is not configured for build home/qt project file but /usr/lib/x86_64-linux-gnu/cmake/Qt6xxxxxxx file ... so receive these error or similar one>

    /home/gc81/Qt/Examples/Qt-6.7.3/graphs/3d/surfacegallery/CMakeLists.txt:22: warning: Found package configuration file:
    
      /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake
    
    but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
    FOUND.  Reason given by package:
    
    Failed to find required Qt component "Quick3D".
    
    Expected Config file at
    "/usr/lib/x86_64-linux-gnu/cmake/Qt6Quick3D/Qt6Quick3DConfig.cmake" does
    NOT exist
    

    How can set qtcreator for use only home/qt dir instead /usr/lib/x86_64-linux-gnu/cmake/Qt6CoreTools one

    bkt

    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
    • gfxxG gfxx

      @Christian-Ehrlicher .... after restart the pc ... all become normal .... BUT webchannel reply to me that not possible use CLANG ... so I switch to GCC .... and now receive these messages:

      :-1: error: You need to set an executable in the custom run configuration.
      

      what means? ..... I reply by me:

      That project for some reasons have not cmake file, but .pro file incomplete .... maybe need to clean it .... other example work as expected.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #7

      @gfxx
      At a guess check your Run configuration for the project and see what it has for the executable to produce? Maybe it got cleared when you changed compilers?

      gfxxG 2 Replies Last reply
      1
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Use the correct kit in QtCreator which points to your 6.7.3 installation.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        gfxxG 1 Reply Last reply
        1
        • Christian EhrlicherC Christian Ehrlicher

          Use the correct kit in QtCreator which points to your 6.7.3 installation.

          gfxxG Offline
          gfxxG Offline
          gfxx
          wrote on last edited by gfxx
          #3

          @Christian-Ehrlicher actually I use qtcreator 14 .... on ubuntu 24, and remove qtcreator of ubuntu repository (qtcreator 13) ... So I can use only what receive from online-isntaller .... but if try to compile an example project I obtain these situation ....

          qmake6-error.png

          That is not desired ..... all module need to be find on /home/gc81/Qt/....... need to move manually everytime from /usr/lib .... to /home/... ??? Or there are possibility to make these automatic?

          I change qmake kit to only one qt6.7.3 present on pc ... but these not help to change DIR module folder in qt creator.

          DIR_NOTFOUD .... because not discover the module on system ... that have qt6.4.2 installed.

          bkt

          1 Reply Last reply
          0
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #4

            I don't see what your Qt installation has to do with what QtCreator you're using.
            When you've installed Qt6.7 somewhere then normally QtCreator correctly creates a kit for it. If not, you have to do it by your own: https://doc.qt.io/qtcreator/creator-targets.html

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            gfxxG 2 Replies Last reply
            1
            • Christian EhrlicherC Christian Ehrlicher

              I don't see what your Qt installation has to do with what QtCreator you're using.
              When you've installed Qt6.7 somewhere then normally QtCreator correctly creates a kit for it. If not, you have to do it by your own: https://doc.qt.io/qtcreator/creator-targets.html

              gfxxG Offline
              gfxxG Offline
              gfxx
              wrote on last edited by gfxx
              #5

              @Christian-Ehrlicher these is my kit

              kit6-7.png

              as you see is the default one ....

              bkt

              1 Reply Last reply
              0
              • Christian EhrlicherC Christian Ehrlicher

                I don't see what your Qt installation has to do with what QtCreator you're using.
                When you've installed Qt6.7 somewhere then normally QtCreator correctly creates a kit for it. If not, you have to do it by your own: https://doc.qt.io/qtcreator/creator-targets.html

                gfxxG Offline
                gfxxG Offline
                gfxx
                wrote on last edited by gfxx
                #6

                @Christian-Ehrlicher .... after restart the pc ... all become normal .... BUT webchannel reply to me that not possible use CLANG ... so I switch to GCC .... and now receive these messages:

                :-1: error: You need to set an executable in the custom run configuration.
                

                what means? ..... I reply by me:

                That project for some reasons have not cmake file, but .pro file incomplete .... maybe need to clean it .... other example work as expected.

                bkt

                JonBJ 1 Reply Last reply
                0
                • gfxxG gfxx

                  @Christian-Ehrlicher .... after restart the pc ... all become normal .... BUT webchannel reply to me that not possible use CLANG ... so I switch to GCC .... and now receive these messages:

                  :-1: error: You need to set an executable in the custom run configuration.
                  

                  what means? ..... I reply by me:

                  That project for some reasons have not cmake file, but .pro file incomplete .... maybe need to clean it .... other example work as expected.

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #7

                  @gfxx
                  At a guess check your Run configuration for the project and see what it has for the executable to produce? Maybe it got cleared when you changed compilers?

                  gfxxG 2 Replies Last reply
                  1
                  • JonBJ JonB

                    @gfxx
                    At a guess check your Run configuration for the project and see what it has for the executable to produce? Maybe it got cleared when you changed compilers?

                    gfxxG Offline
                    gfxxG Offline
                    gfxx
                    wrote on last edited by gfxx
                    #8

                    @JonB just done .... and it works ...but now try a webengine project and receive these messages:

                    /home/gc81/Qt/Examples/Qt-6.7.3/webenginewidgets/recipebrowser/CMakeLists.txt:16: warning: Found package configuration file:
                    
                      /home/gc81/Qt/6.7.3/gcc_64/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake
                    
                    but it set Qt6WebEngineWidgets_FOUND to FALSE so package
                    "Qt6WebEngineWidgets" is considered to be NOT FOUND.  Reason given by
                    package:
                    
                    Qt6WebEngineWidgets could not be found because dependency Qt6PrintSupport
                    could not be found.
                    
                    Configuring with --debug-find-pkg=Qt6PrintSupport might reveal details why
                    the package was not found.
                    
                    Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
                    of the path variables that find_package uses to try and find the package.
                    
                    Call stack:
                      /home/gc81/Qt/Examples/Qt-6.7.3/webenginewidgets/recipebrowser/CMakeLists.txt:16 (find_package)
                      /home/gc81/Qt/6.7.3/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
                    

                    but print support there is I think on QT6.7.3 folder .... so not understand .... well

                    bkt

                    1 Reply Last reply
                    0
                    • JonBJ JonB

                      @gfxx
                      At a guess check your Run configuration for the project and see what it has for the executable to produce? Maybe it got cleared when you changed compilers?

                      gfxxG Offline
                      gfxxG Offline
                      gfxx
                      wrote on last edited by
                      #9

                      @JonB said in ubuntu qt6.4.2 system install and qt6.7 online istaller conflict:

                      @gfxx
                      At a guess check your Run configuration for the project and see what it has for the executable to produce? Maybe it got cleared when you changed compilers?

                      really I try to clean and re-install 6.7.3 ..... so cancel previous build of example .... I set immediately gcc as compiler and try ... all works ... you are in right. Thanks

                      bkt

                      1 Reply Last reply
                      0
                      • gfxxG gfxx has marked this topic as solved on

                      • Login

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