ubuntu qt6.4.2 system install and qt6.7 online istaller conflict
-
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 existHow can set qtcreator for use only home/qt dir instead /usr/lib/x86_64-linux-gnu/cmake/Qt6CoreTools one
-
C Christian Ehrlicher moved this topic from General and Desktop on
-
@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.
-
Use the correct kit in QtCreator which points to your 6.7.3 installation.
-
Use the correct kit in QtCreator which points to your 6.7.3 installation.
@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 ....

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.
-
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 -
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 -
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@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.
-
@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.
-
@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?@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
-
@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?@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
-
G gfxx has marked this topic as solved on
