What preprocessor can I used to detect if QT is used to build my codes -
i writing library project in c, may built or without qt. there preprocessor directive (no headers required) can use distinguish whether qt in use in c code?
i somthing like:
#ifdef i_am_qt // qt specific codes #else // codes other environments #endif
thanks.
#ifdef qt_core_lib // qt specific codes #else // codes other environments #endif
Comments
Post a Comment