07-25-2013 11:33 PM
I'm trying implement CustomSqlDataSource from the quotes sample application. I tried copying the the customsqldatasource.cpp and customsqldatasource.h into the src folder but the customsqldatasource.cpp is throwing a lot of errors
mSqlConnector = new SqlConnection(mSourceInDataFolder, "connect");
all of them are related to bb::data
undefined reference to `bb::data::SqlConnection::SqlConnection(QStr
ing const&, QString const&, QObject*)'
undefined reference to `bb::data::operator<<(QDebug, bb::data::DataAccessReply const&)'
Solved! Go to Solution.
07-26-2013 01:32 PM
Ah! I forgot that. One more query though, the quotes sample app displays UI preview for all the pages while my aplication displays the following error:
module "bb.data" is not installed
07-26-2013 03:53 PM
Place in your cpp:bb::data:::DataSource::registerQmlTypes();
within onStart method. doesnt work