Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Hithredin
Posts: 404
Registered: ‎06-03-2010
My Device: Z10 Red
My Carrier: Free

check module availability in code

Hi!

 

I want to use preprocessors with conditions regarding a QT module and Cascades library availabilitity.

For instance, I want to detect within a preprocessor condition, whether qtXml, qtSql or lbbcascadesmaps has been added (or not) in the .pro.

 

Basically, the idea:

 

#ifdef QT_XML
// My code
//#endif

 

 

I read that:

http://qt-project.org/forums/viewthread/8072

 

It says it works with  QT Macros, but I cannot find the name of the macro for the BB10's modules and libraries.

 

Thanks!

Please use plain text.