Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.4.3
-
None
Description
I have a shared library and trying to copy it to Frameworks folder.
$$files macro works fine with QMAKE_BUNDLE_DATA when building for iOS, but does not work when building for macOS (no files are copied to Frameworks folder of the app bundle).
# Has no effect, nothing is deployed to Frameworks folder mylib.files = $$files($$OUT_PWD/$$DESTDIR/libmylib*.dylib) # This one works: #mylib.files += $$OUT_PWD/$$DESTDIR/libmylib.dylib $$OUT_PWD/$$DESTDIR/libmylib.1.dylib mylib.path = Contents/Frameworks QMAKE_BUNDLE_DATA += mylib