[Craft] [Bug 456452] Craft blueprint qtbase fails to build on macOS when using the Qt Patch Collection
Javier O. Cordero Pérez
bugzilla_noreply at kde.org
Thu Jul 7 16:17:07 BST 2022
https://bugs.kde.org/show_bug.cgi?id=456452
--- Comment #1 from Javier O. Cordero Pérez (Cuperino) <javiercorderoperez at gmail.com> ---
Craft blueprint qtbase fails to build on macOS when using the Qt Patch
Collection (continuation)
STEPS TO REPRODUCE
1. Fix or work around the bug stated in my previous comment.
2. Repeat the same steps to reproduce as in my previous comment.
OBSERVED RESULT
Compilation fails because of a command line option that is no longer valid:
> Creating qmake...
> Done.
> Info: creating cache file /Users/javier/CraftRoot/build/libs/qt5/qtbase/work/build/.qmake.cache
> ERROR: Unknown command line option '-macos-additional-datadirs'.
> Action: compile for libs/qt5/qtbase:kde/5.15 FAILED
Error lies at libs/qt5/qtbase lines:
>189 if CraftCore.compiler.isMacOS:
>190 command += f"-macos-additional-datadirs \"{CraftCore.standardDirs.locations.data}\" "
Removing those lines results in a successful build for me, but I don't know if
doing so is a good idea.
EXPECTED RESULT
libs/qt5/qtbase builds successfully
SOFTWARE/OS VERSIONS
macOS: Big Sur 11.6 (x86_64)
Qt Version: 5.15.5 kde-patched
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list