09-28-2012 06:09 AM
When I try using the QML Design Mode in the QNX Momentics IDE it always shows an error message. For example the design mode view shows the error message:
Problem loading qml file:
module "bb.platform" is not installed
How do I get the design mode to work. Or is this a bug in the QNX Momentics IDE. I am using the latest version 10.0.9 beta 3 of the BlackBerry 10 Native SDK for MacOS.
MacOS X 10.8.2
09-28-2012 09:04 AM
11-12-2012 03:22 PM
Unistalling all installed SDK is not a good idea since someone could also develops for PlayBook. I'm getting the same problem. Will let you know once I fix it.
11-12-2012 03:48 PM
Since my original posting in this thread, I have come to learn that this is a bug. The QML editor will work fine as long as you don't include any custom qmlRegisterType that you may define in the cpp. This is why some sample apps work with the editor and others don't.
11-12-2012 03:50 PM
11-12-2012 03:54 PM
Assuming there are no errors, yes. Just because a view doesn't render in QML preview doesn't mean there is anything necessarily wrong with it. There may very well be errors, but just read the error and if it mentions the custom type not being installed, then it should be safe to ignore.
To test, deploy it to a simulator or device. The main qml file of my app doesn't render in the preview but works fine once deployed.
11-12-2012 04:01 PM