Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
bobdodd
Posts: 116
Registered: ‎10-31-2012
My Carrier: -

QML Preview on Gold Release (Windows 8)

I just tried opening a QML file on the new Gold Release of the Cascades SDK.

 

I got a message saying that it was checking compatibility. Then it told me the test had failed, and that Preview was now disabled.

 

What it didn't do is tell me why....

 

I'm on Win 8, which is also now supported, but it I assume there is still something extra I need to update for the QML Preview?

 

Please use plain text.
Developer
smiley
Posts: 1,361
Registered: ‎07-14-2008
My Carrier: Fido

Re: QML Preview on Gold Release (Windows 8)

I have the same problem on Win7. Try switching the sdk to v1673 on top of the IDE.  It will reload the workspace.

Please use plain text.
Developer
bobdodd
Posts: 116
Registered: ‎10-31-2012
My Carrier: -

Re: QML Preview on Gold Release (Windows 8)

I did switch it, but when Momentics restarted it didn't do the check, it just left the feature disabled.

 

Since it's working for you, I'll have a hunt through the settings and see if I can get it to do the check again.

Please use plain text.
Contributor
schumi1331
Posts: 23
Registered: ‎11-15-2012
My Carrier: E-Plus

Re: QML Preview on Gold Release (Windows 8)

had this problem with upgrading from Beta 3 to Beta 4. After I couldn't solve it, I uninstalled the SDK completely, rebooted and installed the new, and everything worked fine (Win 7).

 

Have done the same with Gold, so that's no real upgrading, but worked even without reboot...

Please use plain text.
Contributor
choudhry
Posts: 15
Registered: ‎12-19-2010

Re: QML Preview on Gold Release (Windows 8)

I had the same issue this morning after doing a clean install of the GOLD SDK on Windows 8.  The FIX is to update Video Card driver from ATI or NVIDIA and it will work. In my case, I had a ATI card and after updating driver, it worked. No need even for a reboot.

 

You would need to go to Windows > Preferences > BlackBerry > QML Editor and uncheck Disable QML Preview

Please use plain text.
Developer
Azr79
Posts: 28
Registered: ‎02-24-2012
My Carrier: Free

Re: QML Preview on Gold Release (Windows 8)

OSX Mountain Lion, same problem, QML Preview compatibility check failed.

Please use plain text.
Developer
mdodd
Posts: 186
Registered: ‎07-19-2012
My Carrier: Three

+1 for this issue. NVidia Quadro FX 380, Windows 7. Was w...

+1 for this issue. NVidia Quadro FX 380, Windows 7. Was working perfectly fine in Beta 4, disabled in gold.



Did this post help you? If so, please make sure to "like" it!
Please use plain text.
New Contributor
sosok
Posts: 5
Registered: ‎11-29-2012
My Carrier: ATT

Re: +1 for this issue. NVidia Quadro FX 380, Windows 7. Was w...

Windows Vista, same problem. Did anyone figure it out yet?
Please use plain text.
Developer
razorek
Posts: 61
Registered: ‎06-28-2012
My Carrier: T-Mobile

Re: +1 for this issue. NVidia Quadro FX 380, Windows 7. Was w...

I've had the same issue. What I did was clean the whole workspace Project -> Clean ... -> clean all projects.

Then I've build the project which I'm working on currently

Restarted the IDE (don't know whether it was necessary)

And lastly I've enabled the preview like choudhry described before me:

"You would need to go to Windows > Preferences > BlackBerry > QML Editor and uncheck Disable QML Preview"

 

The IDE had again checked for compatibility and this time it didn't complain. My QML preview is working as it should :smileyhappy:.

Please use plain text.
Contributor
azazello
Posts: 40
Registered: ‎01-15-2012
My Carrier: MTS

aldRe: QML Preview on Gold Release (Windows 8)

[ Edited ]

I found follow error in logs - IDE try to open file, which is not exist ("c:/temp" is a windows temp directory for me - and it's  not a default path).

 

!ENTRY com.rim.tad.tools.qml.simulator 4 0 2012-12-17 14:29:05.898
Please use bb::cascades::Application to instantiate application
bb::cascades::QmlDocument: error when loading QML from:   QUrl( "file:///c:/Temp/previewTest.qml" )  
  --- errors:  (file:///c:/Temp/previewTest.qml: File name case mismatch)
java.util.concurrent.ExecutionException: java.lang.Exception: file:///c:/Temp/previewTest.qml: File name case mismatch

Process exited with code: -1

 

also, it requiried a GL ES2 - so you need to use up-to-date drivers from ATI/NVIDIA

ES shim 0
HLP: OpenGL ES vendor info:
  vendor:     NVIDIA Corporation
  renderer:   GeForce GTX 460/PCIe/SSE2
  version:    OpenGL ES 2.0 - GlesDesktopShim running on 4.3.0
OpenGL has ES2 compatibility
Enabling workaround for NVIDIA Corporation driver ES2 GLSL compatibility bug
OrientationSupportPrivate::getSupportedDisplayOrientation:   
OrientationSupportPrivate::initDirectionAndOrientation:
   isCardOrViewer:  false
   manifestDisplayOrientation: All
   displayOrientation: All
   uiOrientation: Portrait
   displayDirection: North
   nativeDisplayOrientation: Portrait

 



/rgds
Andrey Yaromenok aka azazello
Please use plain text.