File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ contains(VERSION, .*dev.*) {
2929CONFIG += qt \
3030 thread \
3131 lrelease \
32- embed_translations
32+ embed_translations \
33+ debug_and_release
3334
3435QT += network \
3536 xml \
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ build_app() {
5555 " QMAKE_APPLE_DEVICE_ARCHS=${target_arch} " " QT_ARCH=${target_arch} " \
5656 " ${@: 2} "
5757 make -f " ${build_path} /Makefile" -C " ${build_path} " -j " ${job_count} "
58- target_name=$( sed -nE ' s/^QMAKE_TARGET *= *(.*)$/\1/p' " ${build_path} /Makefile" )
58+ target_name=$( sed -nE ' s/^QMAKE_TARGET *= *(.*)$/\1/p' " ${build_path} /Makefile.Release " )
5959 if [[ ${# target_archs_array[@]} -gt 1 ]]; then
6060 # When building for multiple architectures, move the binary to a safe place to avoid overwriting/cleaning by the other passes.
6161 mv " ${build_path} /${target_name} .app/Contents/MacOS/${target_name} " " ${deploy_path} /${target_name} .arch_${target_arch} "
You can’t perform that action at this time.
0 commit comments