05-11-2013 09:39 PM
I'm a ex android developer, although simple apps nothing complex and self taught myself to code on that.
I seem to be having troubles self teaching myself QML and Cascades however. I have my GUI pretty much set up ready to go, I'm just having trouble and figuring out how to implement API's from Facebook and Twitter.
I have my application set up on each of the social sites respectively and that's where I'm at a loss on how to input the code needed for a user to log in and pull simple News Feed and Timeline information within my application.
Also when using the IDE I try to follow some tutorials, and I've added pretty much every library into my app to make my life easy, yet when i do something like
import bb.data 1.0
it gives me a error that it's not installed and its honest to god driving me nuts. Any help is greatly appreciated.
05-12-2013 12:14 AM
Register the type you want to use in QML by call function
before you create QmlDocument. In addition, add
LIBS += -lbbdata
to your .pro file.
05-12-2013 12:37 AM - edited 05-12-2013 12:43 AM
No, update the .pro file and:
Add these line
qmlRegisterType < bb::data::DataSource > ();
before the line
Application app(argc, argv);
Forum post has some error, replace : with :
05-12-2013 12:59 AM - edited 05-12-2013 01:04 AM
What's the error?
Adding this line
to the top of main.cpp but under the line
#include <QLocale> #include <QTranslator>
05-12-2013 01:22 AM - edited 05-12-2013 01:24 AM
Forum post has some error, so please replace : with :