Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 11.0.3
-
None
-
Linux Ubuntu 22.04 running in a UTM AArch64 virtualization on a M1 Mac
Description
I'm installing Qt and Qt Creator in a Linux Ubuntu 22.04 running in a UTM AArch64 virtualization on a M1 Mac, following this guide: https://wiki.qt.io/Building_Qt_Creator_from_Git_on_Ubuntu_22.04
After running this:
$ git clone --recursive https://code.qt.io/qt-creator/qt-creator.git repo
$ cmake -G Ninja -S repo -B build -D CMAKE_BUILD_TYPE=Release
... configuration aborts with the following error output:
CMake Error at /usr/lib/aarch64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlCompilerPrivateTargets.cmake:107 (message): The imported target "Qt6::QmlCompilerPrivate_resources_1" references the file "/usr/lib/aarch64-linux-gnu/objects-None/QmlCompilerPrivate_resources_1/.rcc/qrc_builtins.cpp.o" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/aarch64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlCompilerPrivateTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/aarch64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlCompilerPrivateConfig.cmake:60 (include) /usr/lib/aarch64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package) src/plugins/qmldesigner/CMakeLists.txt:4 (find_package) -- Configuring incomplete, errors occurred!
Here's a stackoverflow post describing the same issue with Docker on x86_64:
https://stackoverflow.com/questions/76728617/building-qt6-qt-creator-inside-docker-ubuntu
2 different workarounds:
- Cloning the Qt Creator sources from branch 10.0 works fine
- Configuring with -DWITH_QMLDESIGNER=OFF works fine