-
Bug
-
Resolution: Done
-
P1: Critical
-
5.14.1
-
None
-
macOS Catalina 10.15.3
-
-
495db2cd2bb9130864f2dd1291788288765dfe7a
Combined with "lrelease embed_translations" config, the Release build fails on Qt 5.14.1.
The following is the error message:
/Users/futabanzu/Qt/5.14.1/clang_64/mkspecs/features/resources_functions.prf:70: Cannot write file /qmake_qmake_qm_files.qrc: Cannot create parent directory
19:34:58: プロセス "/Users/futabanzu/Qt/5.14.1/clang_64/bin/qmake" はコード 3 で終了しました。
プロジェクト FooBar のビルド・デプロイ中にエラーが発生しました (キット Desktop Qt 5.14.1 clang 64bit)
ステップ "qmake" 実行中
By modifying "resources_functions.prf" like the following, I found that the $$resource_file seems to be wrong.

The expected behaviour (on the Debug build) is:
Project MESSAGE: /Users/futabanzu/build-FooBar-Desktop_Qt_5_14_1_clang_64bit-Debug/qmake_qmake_qm_files.qrc
(i.e. $$resource_file should be in the build directory)
while the behaviour on the Release build is:
Project MESSAGE: /qmake_qmake_qm_files.qrc