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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Visitor
voltaren
Posts: 1
Registered: ‎02-15-2013
My Carrier: Megafon

AIR Native Extension with usage of library that requires Qt

Hi, everyone. I'm trying to create native extension for AIR, where i using Blackberry Device Info. When i add this library and QtCore to my project, and trying to use classes from Blackberry Device Info, i get error during compiling -
"fatal error: QtCore/qconfig.h: No such file or directory       line 62, external location: /Applications/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtCore/qglobal.h    C/C++ Problem"
can any one help me how to fix it? May be i can get information about carrier using BPS? But i'm looking into BPS API and there is nothing about getting carrier name. Thanks for help.

Please use plain text.
Developer
Developer
CMY
Posts: 1,117
Registered: ‎02-10-2009
My Carrier: Verizon

Re: AIR Native Extension with usage of library that requires Qt

I received a similar error and it was because I only included the ..../qt4/QtCore directory but you also need to add the ..../qt4 directory because the headers are included as <QtCore/.....>
Please use plain text.