08-30-2012 10:47 AM
Hi,
I've imported BatterySample from GitHub and when I run on Blackberry Dev Alpha Simulator, the QNX Momentics IDE wrote in Console window:
"
bb::cascades::QmlDocument: error when loading QML from: QUrl( "file:///accounts/1000/appdata/com.example.MyApp.t
--- errors: (file:///accounts/1000/appdata/com.example.MyApp.t
import bb.device 1.0
^)
"
But there's "LIBS += -lbbdevice" in .pro file.
What can I do? What's the problem?
Thanks
Solved! Go to Solution.
08-30-2012 01:28 PM
The suggested import line should be in your QML
Graham
08-31-2012 02:31 AM
08-31-2012 08:40 AM
Hi,
You must replace this statement BB.device 1.0 with import bb.cascades 1.0 in main.qml file
09-05-2012 09:57 AM
Did these changes solve your problems?
Graham
09-10-2012 11:24 AM
I'm sorry, I'm back from vacation. It works now.
09-10-2012 11:35 AM
Great news - hope you had a great vacation too :-)
Graham
09-11-2012 06:59 AM
gperry wrote:Great news - hope you had a great vacation too :-)
Graham
yes, I have been used to recharge batteries!
09-11-2012 08:47 AM
Very appropriate :-)