06-14-2013 03:01 AM
I already posted this in the announcement thread, but I am making a new topic just to keep things organized.
The 'Design View' button that lets you preview qml files is FINALLY clickable in the 10.2 NDK on Linux. But it never works. Is there any way to fix this? I get a pretty unhelpful error:
"Problem loading qml file: Unable to render QML preview"
I am really hoping this is fixable, because this is the biggest feature and it has been completely missing from the Linux builds since the first few Beta SDKs.
Anyone else having problems with this?
Solved! Go to Solution.
06-14-2013 06:26 AM
06-14-2013 07:54 AM
I'm on windows and using a straight forward QML (No Custom). And I also get "Problem loading qml file: Unable to render QML preview"
So you are not the only one. It was working on old build though (10.0.9). But I struggle to death to install Latest Gold and the old one (10.0.9) will constantly lose my device. I really want to like Blackberry, but they have not been making it easy for me, yet again.
I was given a project (One of my old Android projects, This one (South Africa Only)) where I have to redo the project natively and learn BB10 in less than 3 weeks. But so far the tools keep kicking me in the face, reminds me all over again how an uphill battle it was developing for older blackberry. I wish it was more like Android or iOs, where the development just works.
06-14-2013 02:25 PM
06-14-2013 06:36 PM
Linux configuration are vary drammatically between users, this specific issue is probably related to
open gl drivers are missing, you can check IDE log to see what it complains about.
06-14-2013 07:23 PM
06-19-2013 09:45 AM
This article describes how to possible fix Ubuntu 12.04 to work with preview
06-25-2013 02:28 PM
I see this in the eclipse log:
My environment is
Ubuntu 13.04 x86-64
nVIDIA graphics card and corresponding binary drivers
06-25-2013 11:12 PM
BTW, the QML preview depends on libosmesa so don't forget to install the correspondig package with
# apt-get install libosmesa6:i386
Digging a bit more I found that glGetString is provided by libGL.so but libbbcascades-IDE.so is not linked to it, which cause the undefined symbol error. I somewhat fixed the problem by preloading the i386 version of libdl, this way:
And now I have QML preview working on Ubuntu 13.04 x86-64!
I hope this helps you.
06-25-2013 11:28 PM - edited 06-25-2013 11:40 PM