As far as I understand ( without knowing much about frameworks on the Mac ) the commands generated by qtAddLibrary depend on the qmake variable qt_framework. ( Guess whether it is enabled depends on how Qt had been built. )
So the first thing should be to add the following to src.pro:
CONFIG(qt_framework, qt_framework|qt_no_framework) {
CONFIG += lib_bundle
}
CONFIG(qt_framework, qt_framework|qt_no_framework) {
CONFIG += lib_bundle
}
To copy to clipboard, switch view to plain text mode
But what has to be in this bundle ? Could you check what changes, when you use the following sequence:
CONFIG(qt_framework, qt_framework|qt_no_framework) {
CONFIG += lib_bundle
FRAMEWORK_HEADERS.version = Versions
FRAMEWORK_HEADERS.files = $${HEADERS}
FRAMEWORK_HEADERS.path = Headers
QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
}
CONFIG(qt_framework, qt_framework|qt_no_framework) {
CONFIG += lib_bundle
FRAMEWORK_HEADERS.version = Versions
FRAMEWORK_HEADERS.files = $${HEADERS}
FRAMEWORK_HEADERS.path = Headers
QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
}
To copy to clipboard, switch view to plain text mode
What has happened after you have build the qwt library ( in src ) and what is installed where, when you do "make install" then ?
Uwe
PS: Is nobody out there knowing about Mac frameworks and qmake ?
Bookmarks