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
Contributor
sonyfever
Posts: 10
Registered: ‎10-05-2012
My Device: Blackberry 10 Alpha

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

Thanks for the useful tips!

 

The error message for the pre-compiled Qt 4.8.3 is "Qt version is not properly installed, please run make install."

For compiler, Qt Creator auto detects mingw but I also added GCC compiler option pointing to the qcc in Momentics according to wiki.

 

New Contributor
tnatter
Posts: 4
Registered: ‎10-04-2012
My Device: -
My Carrier: -

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

That sounds related to the missing default mkspec in the Qt installation in the NDK.

 

From the wiki page:

"Note: the Qt shipped with the SDK needs a little fix first to make this work. This fix is not needed for selfcompiled Qt versions. The SDK Qt is missing the default symlink for the mkspec. To fix this, create the symlink $BBNDK/target/qnx6/usr/share/qt4/mkspecs/default, pointing to $BBNDK/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-qcc."

 

Either that, or missing environment.

Contributor
sonyfever
Posts: 10
Registered: ‎10-05-2012
My Device: Blackberry 10 Alpha

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

I managed to set it up to the point where I have blackberry kit and can start building helloworld.

I used NDK's Qt 4.8.3 and got the following compilation errors:

 

qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,C:/bbndk/target_10_0_9_386/qnx6/armle-v7/lib -Wl,-rpath-link,C:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib -Wl,-O1 -o stockona main.o qmlapplicationviewer.o moc_qmlapplicationviewer.o -LC:/bbndk/target_10_0_9_386/qnx6/armle-v7/lib -LC:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib -LC:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib/qt4/lib -LC:/bbndk/target_10_0_9_386/qnx6/usr/lib/qt4/lib -lm -lbps -lQtDeclarative -lQtGui -lQtCore

C:\bbndk\host_10_0_9_52\win32\x86\usr\bin\ntoarm-ld: warning: libQtScript.so.4, needed by C:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib/qt4/lib/libQtDeclarative.so, not found (try using -rpath or -rpath-link)

C:\bbndk\host_10_0_9_52\win32\x86\usr\bin\ntoarm-ld: warning: libQtSvg.so.4, needed by C:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib/qt4/lib/libQtDeclarative.so, not found (try using -rpath or -rpath-link)

C:\bbndk\host_10_0_9_52\win32\x86\usr\bin\ntoarm-ld: warning: libQtSql.so.4, needed by C:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib/qt4/lib/libQtDeclarative.so, not found (try using -rpath or -rpath-link)

C:\bbndk\host_10_0_9_52\win32\x86\usr\bin\ntoarm-ld: warning: libQtXmlPatterns.so.4, needed by C:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib/qt4/lib/libQtDeclarative.so, not found (try using -rpath or -rpath-link)

C:\bbndk\host_10_0_9_52\win32\x86\usr\bin\ntoarm-ld: warning: libQtNetwork.so.4, needed by C:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib/qt4/lib/libQtDeclarative.so, not found (try using -rpath or -rpath-link)

make: Leaving directory `C:/stockona_bb/stockona-build-7a90ed-Release'

C:/bbndk/target_10_0_9_386/qnx6/armle-v7/usr/lib/qt4/lib/libQtDeclarative.so: undefined reference to `QScriptDeclarativeClass::Value::Value(QScriptEngine*, QString const&)'

 

Also tried the pre-compiled Qt 4.8.3 from bryanh99 but when building the project, I got "Qt version is invalid. Please run make install."

Developer
borceg
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

I can't get working the latest libs. Installed Qt creator 2.6 rc but I get only make.exe: *** [ui_mainwidget.h] Error -1073741515.

Switching to old 4.8.1 lib works without problem.
New Developer
vladest
Posts: 88
Registered: ‎06-16-2012
My Device: N950/E7/N808/N9/X7/BB10 Alpha

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

hi

 

works fine with qt 2.6 and qt 4.8.4

I'm strongly recommend to recreate a kits

Qt/Symbian/Meego/BB10/Cascades developer
Developer
borceg
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

Still no luck man. Using qt creator build from here http://builds.qt-project.org/view/Qt Creator/
New Developer
vladest
Posts: 88
Registered: ‎06-16-2012
My Device: N950/E7/N808/N9/X7/BB10 Alpha

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

getting QtCreator from Jenkins

Qt/Symbian/Meego/BB10/Cascades developer
Developer
borceg
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

Found the problem: moc uic rcc and lrelease fail to run because of missing libgcc_s_sjlj-1.dll

Obviously something went wrong during the last qt 4.8.x windows build.
Contributor
bryanh99
Posts: 43
Registered: ‎06-30-2012
My Device: Bold 9900

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

I have updated the build to 4.8.4 (the latest) and created a new thread at http://supportforums.blackberry.com/t5/Native-Development/QT-4-8-4-yes-4-8-4-Build-Posting/td-p/1955...

 

Enjoy....

Developer
Zingam
Posts: 195
Registered: ‎05-09-2012
My Device: Playbook, Z10 LE

Re: QT 4.8.3 + Symbian components built for ARM + SIM (updated on 9.15.2012)

I used the utility QtMove by RunFastSoft to fix the paths. Try qmake.exe -query. Theoretically you could use qt.conf to fix them but it doesn't work for me and I don't see what's could be wrong.

 

Currently I get the warning: "No qmlviewer installed"