Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.0
-
None
-
macOS Mojave, v10.14.6
Qt installed via online installer.
Description
I guess this could be a follow up to this issue: https://bugreports.qt.io/browse/QTBUG-79672
I am currently encountering the following issue: I try to update the builds of a project of mine to Qt 5.15. Worked great in most cases (kudos!) but I run into an issue with the iOS build.
For reference, you can checkout the project (OpenTodoList, project can be cloned from Gitlab - https://gitlab.com/rpdev/opentodolist/) on the git hash 85d32efe4a2e1af4de5810c7323c76bb82fb6e8b.
When trying to build the project on this particular revision for iOS in release mode, the build fails with the following error messages:
cd app/ && ( test -e Makefile || /Users/martin/Qt/5.15.0/ios/bin/qmake -o Makefile /Users/martin/Projects/rpdev/opentodolist/app/app.pro -spec macx-ios-clang -config release CONFIG+=iphoneos CONFIG+=device CONFIG+=ccache -after ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 3.24.0-14-g85d32ef /Users/martin/Qt/5.15.0/ios/bin/rcc: File does not exist '/Users/martin/Projects/rpdev/opentodolist/build-ios/app/qmake_qmake_qm_files.qrc' qmlimportscanner: No such file or directory: "/Users/martin/Projects/rpdev/opentodolist/build-ios/app/qmake_qmake_qm_files.qrc" /Users/martin/Qt/5.15.0/ios/mkspecs/features/qt.prf:304: Error parsing JSON at 1:1: illegal value Project ERROR: Failed to parse qmlimportscanner output.
When applying the following patch on top:
diff --git a/app/app.pro b/app/app.pro index 3c04aa7..f0c4312 100644 --- a/app/app.pro +++ b/app/app.pro @@ -6,6 +6,8 @@ include(../lib/lib.pri) QT += qml quick xml concurrent widgets +CONFIG += c++14 lrelease embed_translations + # Use Qt Quick Compiler for release builds: CONFIG(release, debug|release) { # Note: This option must come before the embed_translations option, @@ -15,8 +17,6 @@ CONFIG(release, debug|release) { QTQUICK_COMPILER_SKIPPED_RESOURCES += res.qrc } -CONFIG += c++14 lrelease embed_translations - SOURCES += main.cpp RESOURCES += \
which basically reverts the workaround which has been applied for QTBUG-79672 (i.e. ensuring that the qtquickcompiler config option appears after the embed_translations one) everything builds just fine.
Attachments
Issue Links
- relates to
-
QTBUG-79016 Processing qm file name error when using config embed_translations
-
- Closed
-