Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
01-03-2013 10:48 AM
I download Qt 5.0.1 from Git and build it for BB10 as instruction: http://qt-project.org/wiki/Building-Qt5-for-Blackb
main.qml:1:1: module "QtQuick" is not installed import QtQuick 2.0
I use the basic Blackberry Qt Quick 2 application template to create the helloworld.
TEMPLATE = app QT += qml quick # Additional import path used to resolve QML modules in Creator's code model QML_IMPORT_PATH = # The .cpp file which was generated for your project. Feel free to hack it. SOURCES += main.cpp OTHER_FILES += bar-descriptor.xml \ qml/main.qml
<?xml version='1.0' encoding='utf-8' standalone='no'?> <qnx xmlns="http://www.qnx.com/schemas/application/1.0"> <id>com.example.qtquick2</id> <name>qtquick2</name> <versionNumber>1.0.0</versionNumber> <description>DESCRIPTION</description> <initialWindow> <systemChrome>none</systemChrome> <transparent>false</transparent> <autoOrients>true</autoOrients> <aspectRatio>landscape</aspectRatio> </initialWindow> <publisher>PUBLISHER</publisher> <copyright>COPYRIGHT</copyright> <env value="app/native/imports" var="QML_IMPORT_PATH"/> <env value="app/native/plugins" var="QT_PLUGIN_PATH"/> <env value="app/native/lib" var="LD_LIBRARY_PATH"/> <arg>-platform</arg> <arg>qnx</arg> <action system="true">run_native</action> <asset path="qtquick2" type="Qnx/Elf" entry="true">qtquick2</asset> <asset path="%SRC_DIR%/qml">qml</asset> <!-- These values will be replaced when deploying in Qt Creator --> <asset path="%QT_INSTALL_LIBS%">lib</asset> <asset path="%QT_INSTALL_PLUGINS%">plugins</asset> <asset path="%QT_INSTALL_IMPORTS%">imports</asset> </qnx>
Any suggestion is appreciated. Thanks.
Solved! Go to Solution.
01-04-2013 05:17 AM
QtQuick 2.0 might not be *officially* supported, but it works (mostly).
A couple of notes
01-04-2013 06:34 AM
01-04-2013 07:37 AM
Here is the description of the template in QtCreator :
Creates an experimental Qt Quick 2 application for BlackBerry 10. You need an own Qt5 build for BlackBerry 10 since Qt5 is not provided in the current BlackBerry 10 NDK and is not included in DevAlpha devices.
01-04-2013 08:44 AM
Hmm, never tried those templates so can't say anything about it. Probably it's still work in progress.
But your suggestion works. Thanks.