02-19-2012 11:34 AM
Hi All,
I managed to get the symbian qt-components working on the playbook, they are symbian style but look good on the pb in my opinion. http://doc.qt.nokia.com/qt-components-symbian/exam
To use them just add the standard import to your qml file as you would for symbian:
import com.nokia.symbian 1.1
Then you need to add the qt-components imports folder (attached) to the qml folder in your project directory, I have attached the imports folder with the components and plugins that I prebuilt for the playbook proc. Assuming that you add the qml folder to the bar package in the pro file like this:
-e qml qml \
You just need to put the imports folder into the qml folder and you will be good to go.
That's it, enjoy the components on the PlayBook!!
Cheers,
Jon
02-19-2012 11:15 PM
Hi jheron,
Were you able to get the qt library built on Windows? I have the NDK + simulator working, just need to figure out how to get the qt library built so I can start using it...
02-19-2012 11:28 PM
Hi i68040,
To be able to use QT in QNX Momentics on windows, I compiled it on linux (I used a virtual machine) and I copied the STAGE folder to windows. After that, I changed the settings of a project to use Qt libs.
Hope it helps.
02-20-2012 10:03 AM
Sorry 168040, I dropped windows over a year ago. If you don't want to install linux you can just run it from a cd (http://fedoraproject.org/wiki/FedoraLiveCD), then compile the libs from there.
The components I attached above are already compiled and ready to go on the pb but likely wont work in the sim as they are built for the armle-v7.
I remember seeing a configure.exe in the BB Qt port. Did you try to configure them from windows with that?
I am not sure if your familiar with building Qt libs or not but you need to configure them with the configure utility before you 'make' them.
Perhaps this link will help? http://developer.qt.nokia.com/doc/qt-4.8/configure
Good luck!
Jon
02-20-2012 02:00 PM
Here is a couple examples of the beauty ui's you can build using Qt's qml with the symbian components. These are screen shots I took right off the playbook today...


02-20-2012 03:09 PM - edited 02-20-2012 08:46 PM
aaahhh...it's nice! I'll look into that.
Edit:
I tried to use the symbian components on the playbook but I get this error :
"com.nokia.symbian" is not installed
The imports folder is present in the qml folder like you said. I'm not sure how to fix that.
Any idea?
02-20-2012 08:55 PM
I use the Qt SDK to design and code the app, the nokia simulator works well for quick testing I find too...
Qt creator will complain about the components not being installed if you have not installed the Symbian components from the updater but they should work fine once deployed to the device, what's giving you the error, the playbook or the sim?
If your using creator I would recommend installing the components from the update tool, then you can use the designer without any complaints.
The above ui's were done by my bro, Keats Pascoe, in about 1 month he hammered out 3 quality apps with Qt Quick, he is a savant! lol
Hang on and I will upload my initial components test code...
Cheers,
Jon
02-20-2012 09:21 PM - edited 02-20-2012 09:22 PM
Here is the test code I ran to get them working, a signed bar file is included. Its just a component 'Button' but obviously you can test any of the symbian components you want...
Cheers,
Jon
02-20-2012 09:35 PM - edited 02-20-2012 09:38 PM
Jon - thank for adobting this components. it's really looks great!
02-20-2012 10:22 PM
@Azazello, thanks ! I didn't thought of this env. variable.