c++ - QT + winId() - Determine handle type -
c++ - QT + winId() - Determine handle type -
is there way, either @ runtime or (preferably) using preprocessor macros, determine whether handle returned qwidget::winid()
handle cocoa window or handle carbon window?
windows obvious, i'm more interested in mac. particular library i'm using knows how utilize various handles, needs know which type handle before using it.
there preprocessor defines in qtcore/qconfig.h this.
search qt_mac_use_cocoa
on internet.
c++ cocoa qt carbon
Comments
Post a Comment