12-19-2012 11:02 AM - edited 12-19-2012 11:40 AM
Thanks for the answer.
I read all this after having done another clean install. I made another project from scratch and I had to do small changes, like adding QtNetwork/ to <QNetworkAccessManager>
and in the post you refer to it says: "The difference is only that in the Gold release it appears to work on the first time you create a new project in the IDE. But as soon as you restart the IDE the problem is back."
So I guess it is a quick fix because I reinstalled it, but on new projects I'll have to go through the hassle (unless they patch it). In the Includes section there are 9 items (include, cpp, cpp/c, freetype2, qt4, qt4/QtCore, qt4/QtDeclarative, a gcc one and an armv7 one). Yesterday there were only 4 or so.
Yesterday I had reinstalled the SDK, but the first projects I created were examples, so when I did the important one, the fix didn't work (or I was too tired/grumpy to realize I had to do the small changes I did today).
Welly well, I closed and reopened the SDK and most Includes are gone.
Also, the Build and Run configurations got all screwed up. If I build for Simulator-Debug and then attempt to run on Simulator-Debug, it says I'm trying to run a program made for device on the simulator : /
12-19-2012 01:54 PM
Do not touch the "Project-> add librabry" thing, just make an "include <someLibrary>" statement and it's work fine, sometimes you need to specify includes in .pro file but it's rare, look on BB10 cascades documentation, they'll tell you if an element needs .pro inclusion (Usually for big libraries like QNetwork or QSQL).
Also, if you have syntax error on QObject in your header file, just try to recompile with "Device-debug" build, and it will go, if not just ignore it, if "include <QObject>" has no syntax error, everything is fine.
01-06-2013 07:26 PM
I don't know what happened. Maybe its the fact that my IDE kept crashing and becoming unresponsive...
Getting "UnRESOLVeD INclUSION" errors in my header files when i include QNetworkaccessmanager.
SOMEONE HELP. this is critical to all my apps trying to access the internet to pull data.
01-07-2013 01:20 AM