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

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -