- 
    Bug 
- 
    Resolution: Out of scope
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    Qt Creator 7.0.0
- 
    None
- 
    QMake version 3.1
 Using Qt version 6.2.3 in /usr/local/Qt-6.2.3/lib
 
 Raspbian clang version 11.0.1-2+rpi1
 Target: armv6k-unknown-linux-gnueabihf
 Thread model: posix
 InstalledDir: /usr/bin
 
 gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110
 g++ (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110
 
 PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
 NAME="Raspbian GNU/Linux"
 VERSION_ID="11"
 VERSION="11 (bullseye)"
 VERSION_CODENAME=bullseye
 ID=raspbian
 ID_LIKE=debianQMake version 3.1 Using Qt version 6.2.3 in /usr/local/Qt-6.2.3/lib Raspbian clang version 11.0.1-2+rpi1 Target: armv6k-unknown-linux-gnueabihf Thread model: posix InstalledDir: /usr/bin gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 g++ (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian
I have nativily built Qt 6.2.3 on raspberry and have no other version of Qt. The configuration parameters I'm using
-shared -static -glib -gtk -opengles3 -opengl es2 -eglfs -egl -opensource -confirm-license -release -qpa eglfs -prefix /usr/local/Qt-6.2.3
Tested on a small hello world app with command line and everything works ok
I'm compiling or trying to on the actual raspberry device. Since th SD card is slow and doesn't have enough capacity, I've extracted the sources on a networked hard disk, trying to compile there and on success install on the SD card.
Step 1:  cmake -DCMAKE_BUILD_TYPE=Release -G Ninja 
Step 2:  cmake --build .
Step 3:  cmake --install . --prefix /usr/local/QtCreator-7-with-Qt-6.2.3
But I have errors during step 1, the same if I use cmake-gui or even command line passing the path of Qt, LLVM and QtCreator
"-DCMAKE_PREFIX_PATH=/path/to/Qt;/path/to/llvm" \path\to\qtcreator_sources
The errors are:
CMake Error at /usr/local/Qt-6.2.3/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:1541 (get_target_property): get_target_property() called with non-existent target "Qt6::QXcbGlxIntegrationPlugin_init". Call Stack (most recent call first): /usr/local/Qt-6.2.3/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:198 (*qt_internal_propagate_object_library) /usr/local/Qt-6.2.3/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:53 (*qt_internal_add_static_plugin_import_macro) /usr/local/Qt-6.2.3/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:66 (__qt_internal_add_static_plugins_once) /usr/local/Qt-6.2.3/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:121 (include) /usr/local/Qt-6.2.3/lib/cmake/Qt6/Qt6Config.cmake:177 (find_package) cmake/FindQt5.cmake:57 (find_package) CMakeLists.txt:56 (find_package)
CMake Error at cmake/FindQt5.cmake:64 (set_property): Attempt to promote imported target "Qt6::Test" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/libs/extensionsystem/CMakeLists.txt:21 (find_package)
CMake Error at cmake/FindQt5.cmake:68 (set_property): Attempt to promote imported target "Qt6::TestPrivate" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/libs/extensionsystem/CMakeLists.txt:21 (find_package)
Make Error at cmake/FindQt5.cmake:64 (set_property): Attempt to promote imported target "Qt6::Quick3D" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:145 (find_package)
CMake Error at cmake/FindQt5.cmake:68 (set_property): Attempt to promote imported target "Qt6::Quick3DPrivate" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:145 (find_package)
CMake Error at cmake/FindQt5.cmake:64 (set_property): Attempt to promote imported target "Qt6::Quick3DAssetImport" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:165 (find_package)
CMake Error at cmake/FindQt5.cmake:68 (set_property): Attempt to promote imported target "Qt6::Quick3DAssetImportPrivate" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:165 (find_package)
CMake Error at cmake/FindQt5.cmake:64 (set_property): Attempt to promote imported target "Qt6::Quick3DParticles" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:173 (find_package)
CMake Error at cmake/FindQt5.cmake:68 (set_property): Attempt to promote imported target "Qt6::Quick3DParticlesPrivate" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:173 (find_package)
CMake Error at cmake/FindQt5.cmake:64 (set_property): Attempt to promote imported target "Qt6::Quick3DAssetUtils" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:182 (find_package)
CMake Error at cmake/FindQt5.cmake:68 (set_property): Attempt to promote imported target "Qt6::Quick3DAssetUtilsPrivate" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:182 (find_package)
CMake Error at cmake/FindQt5.cmake:64 (set_property): Attempt to promote imported target "Qt6::QuickTimeline" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:182 (find_package)
CMake Error at cmake/FindQt5.cmake:68 (set_property): Attempt to promote imported target "Qt6::QuickTimelinePrivate" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): src/tools/qml2puppet/CMakeLists.txt:182 (find_package)