Using QML qt-components with QtQNX for BlackBerry PlayBook

With BlackBerry PlayBook you can now use Qt libraries to develop your applications. The problem is that QML components are not available yet (they will be available with CascadesUI in the near future), but you can use Symbian qt-components to develop your application UI. This should also make the porting of an existing Symbian Qt application easier.

We suppose you have already built and installed QtQNX under this directory: ~/QtQNX/ARM/ (please change it matching the folder where you installed it).
At this point you have to get qt-components sources using this command:

1
2
git clone git://gitorious.org/qt-components/qt-components.git
qt-components  

Now enter the directory you just checked and compile the components:

1
2
3
4
cd qt-components  
QTDIR=\~/QtQNX/ARM/  
./configure -symbian  
make  

Whend you complete all the previous operations, you’ll have two directories inside qt-components/imports, please copy them inside the QtQNX installation directory:

1
2
cp -R imports/Qt \~/QtQNX/ARM/imports/  
cp -R imports/com \~/QtQNX/ARM/imports/  

That’s all for now. In the next posts I’ll show you how to use these components, providing a small code example. In the mean time you can find more informations hereĀ http://supportforums.blackberry.com/t5/Native-SDK-for-BlackBerry-Tablet/QML-symbian-qt-components-for-PlayBook/td-p/1574275

comments powered by Disqus
source code available on GitHub
Built with Hugo
Theme Stack designed by Jimmy