http://th30z.blogspot.com/2008/08/qt...lick_2711.html
for me the handler does not work, the appleEventProcessor is not emited
Can you help ?
http://th30z.blogspot.com/2008/08/qt...lick_2711.html
for me the handler does not work, the appleEventProcessor is not emited
Can you help ?
That worked for me when I was using Qt compiled with Carbon (not Cocoa).
The example is with carbon
Qt Code:
// Carbon Headers #ifdef Q_WS_MAC #include <Carbon/Carbon.h> #endifTo copy to clipboard, switch view to plain text mode
Qt Code:
macx:LIBS += -framework CarbonTo copy to clipboard, switch view to plain text mode
Please check whether QT_MAC_USE_COCOA define is on.
This tells me "Cocoa!"
Still can't get it working.#ifdef QT_MAC_USE_COCOA
qDebug() << "Cocoa!" ;
#else
qDebug() << "Carbon!" ;
#endif
Is that because I have complied both of them ?
Qt Code:
LIBS += -framework \ Sparkle \ -framework \ Cocoa LIBS += -framework CarbonTo copy to clipboard, switch view to plain text mode
Added after 31 minutes:
I have just made two builds with only cocoa and with only carbon. Both not working.
Last edited by migel; 20th April 2012 at 17:36.
Bookmarks