I installed the QtSDK, but I can't find any documentation anywhere that specifies whether it uses the Cocoa or Carbon version. Can I find out which got installed? If not, is it safe to install the Cocoa version from the Library only dmg? Qt version is 4.6.3, system version is 10.6.4.
When using qmake, the following should work:
There is QT_MAC_USE_COCOA
, so a simple test would be:
...
#ifdef QT_MAC_USE_COCOA
std::cout << "Cocoa!" << std::endl;
#else
std::cout << "Carbon!" << std::endl;
#endif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With