Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
2.4.2
-
None
-
-
e44a761b3 (2.5)
Description
When trying to build on iOS using Qt 6.8 you get lots of warnings like these:
WARNING: Could not open prl file '/Users/.../Qt/6.8.0/ios/lib/libQt63DAnimation_debug.prl' for module 'Qt3DAnimation' (Error: Unable to open file '/Users/.../Qt/6.8.0/ios/lib/libQt63DAnimation_debug.prl': No such file or directory), and failed to deduce the library file path. This module will likely not be usable by qbs. WARNING: Could not open prl file '/Users/.../Qt/6.8.0/ios/lib/libQt63DAnimation.prl' for module 'Qt3DAnimation' (Error: Unable to open file '/Users/.../Qt/6.8.0/ios/lib/libQt63DAnimation.prl': No such file or directory), and failed to deduce the library file path. This module will likely not be usable by qbs. WARNING: Could not open prl file '/Users/.../Qt/6.8.0/ios/lib/libQt63DCore_debug.prl' for module 'Qt3DCore' (Error: Unable to open file '/Users/.../Qt/6.8.0/ios/lib/libQt63DCore_debug.prl': No such file or directory), and failed to deduce the library file path. This module will likely not be usable by qbs. WARNING: Could not open prl file '/Users/.../Qt/6.8.0/ios/lib/libQt63DCore.prl' for module 'Qt3DCore' (Error: Unable to open file '/Users/.../Qt/6.8.0/ios/lib/libQt63DCore.prl': No such file or directory), and failed to deduce the library file path. This module will likely not be usable by qbs.
And ultimately the build fails with
ERROR: ld: framework 'Qt6Core' not found
This happens because starting with this Qt version some of the Qt libraries are now inside of framework bundles. Presumably because of the new PrivacyInfo plist requirement (QBS-1812).
The .prl files are also located inside of the bundles but qbs is not aware of that and just expects plain static libraries with the prl directly next to them.
Attachments
For Gerrit Dashboard: QBS-1816 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
604572,3 | Qt support: Fix building against frameworks | 2.5 | qbs/qbs | Status: MERGED | +2 | -1 |