Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.4.0 Beta2
-
None
Description
Trying to build the Squish quickaddressbook example (A simple QQC2-based app) against Qt 6.4.0beta2 for iOS simulator fails with the following error messages during build:
clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/libqtquick2plugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQml/libqmlplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQml/Models/libmodelsplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQml/WorkerScript/libworkerscriptplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/libqtquickcontrols2plugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/impl/libqtquickcontrols2implplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Fusion/libqtquickcontrols2fusionstyleplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Material/libqtquickcontrols2materialstyleplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Imagine/libqtquickcontrols2imaginestyleplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Universal/libqtquickcontrols2universalstyleplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/iOS/libqtquickcontrols2iosstyleplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Basic/libqtquickcontrols2basicstyleplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Templates/libqtquicktemplates2plugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Fusion/impl/libqtquickcontrols2fusionstyleimplplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Window/libquickwindowplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Material/impl/libqtquickcontrols2materialstyleimplplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Imagine/impl/libqtquickcontrols2imaginestyleimplplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Universal/impl/libqtquickcontrols2universalstyleimplplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/iOS/impl/libqtquickcontrols2iosstyleimplplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Shapes/libqmlshapesplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Controls/Basic/impl/libqtquickcontrols2basicstyleimplplugin.a' clang: error: no such file or directory: '/Users/qt/work/qt/qtdeclarative/build/target/qml/QtQuick/Layouts/libqquicklayoutsplugin.a' Command Ld failed with a nonzero exit code
My cleaned qmake project looks like this:
QT *= quick SOURCES += main.cpp RESOURCES += quickaddressbook.qrc
A quick grep shows that these absolute paths come from the QMAKE_PRL_LIBS variable in 6.4.0/ios/qml/QtQuick/libqtquick2plugin.prl.
Attachments
Issue Links
- duplicates
-
QTBUG-104396 qmake projects try to link to static qt libraries with hardcoded CI paths (no such file or directory)
- Closed
-
QTBUG-104708 qmake projects try to link to static qt libraries with hardcoded CI paths part 2
- Closed