Hi Wysota
thank you for your time! Here is the compile output... it seems there is a problem in the translation: for the second -sectcreate it removes the __TEXT flag.
May this be the problem? I actually don't have an Idea how to resolve this problem...
g++ -headerpad_max_install_names
-sectcreate __TEXT __launchd_plist /Dev/projects/test-cocoa-and-qt/helperBanana/helperBanana-Launchd.plist
-sectcreate __info_plist /Dev/projects/test-cocoa-and-qt/helperBanana/helperBanana-Info.plist
-arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o helperBanana SSPrivilegedHelperCommon.o BetterAuthorizationSampleLib.o helpermain.o
-F/Library/Frameworks -L/Library/Frameworks -framework AppKit -framework Security
-framework CoreServices -framework CoreFoundation -framework ServiceManagement -framework QtGui -framework QtCore
g++ -headerpad_max_install_names
-sectcreate __TEXT __launchd_plist /Dev/projects/test-cocoa-and-qt/helperBanana/helperBanana-Launchd.plist
-sectcreate __info_plist /Dev/projects/test-cocoa-and-qt/helperBanana/helperBanana-Info.plist
-arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o helperBanana SSPrivilegedHelperCommon.o BetterAuthorizationSampleLib.o helpermain.o
-F/Library/Frameworks -L/Library/Frameworks -framework AppKit -framework Security
-framework CoreServices -framework CoreFoundation -framework ServiceManagement -framework QtGui -framework QtCore
To copy to clipboard, switch view to plain text mode
Added after 4 minutes:
Sorry!!! I did find the solution: using $$quote did solve the problem!!!
QMAKE_LFLAGS += $$quote(-sectcreate __TEXT __info_plist /path/to/myInfo.plist)
QMAKE_LFLAGS += $$quote(-sectcreate __TEXT __launchd_plist /path/to/myLaunchd.plist)
Bookmarks