12-15-2012 09:16 PM
I am just beginning to experiment with Cascades development. I have followed several tutorials and what not, done the HelloWorld stuff. But I decided to try the Sample Apps and I have run into a problem and I can't seem to find an answer for it.
Basically in a couple of the sample apps (https://developer.blackberry.com/cascades/sampleap
Q_DECL_EXPORT int main(int argc, char **argv)
If I remove the Q_DECL_EXPORT from the statement the syntax error goes away. Is there a library I'm supposed to have loaded to get Q_DECL_EXPORT to work. Or is there some configuration element that I have set wrong. This is rather frustrating. I have spent way too much time on google now, trying to figure out what I'm doing wrong and as such here I am, asking for help. Hopefully someone else has run into this before and can assist me.
For the record I have downloaded and installed installer-bbndk-bb10_0_09-win32-1673-201
12-16-2012 06:21 AM
I think Q_DECL_EXPORT is by default appended and added in the SDK Gold version. In Beta 2, my apps didn't have this keyword.
Pls. check this out: https://developer.blackberry.com/cascades/referenc
Pls also check if QtCore and QtDeclarative are included in your libraries, one of these two is the library for that.