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
Developer
connyhald
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *

Re: qt components for BB10

Ok, I don't know about that. Only did the builing on Linux so far.

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Please use plain text.
New Developer
vladest
Posts: 88
Registered: ‎06-16-2012
My Device: N950/E7/N808/N9/X7/BB10 Alpha
My Carrier: Kievstar

Re: qt components for BB10

hi again

 

can you help me to understand whot I did wrong:

1. built qt 4.8.2 under linux

2. setup qtdir to the built Qt

3. built qt-components

 

but when I deploy all the stuff and try to run my app, got:

plugin cannot be loaded for module "com.nokia.symbian": The plugin '/apps/org.demo.MoneyAssistant.testDev_eyAssistant9e41277f/native/imports/com/nokia/symbian.1.1/libsymbianplugin_1_1_3.so' uses incompatible Qt library. Expected build key "arm blackberry g++ no-pkg-config", got "arm blackberry qcc no-pkg-config"

 

what is wrong?

thanks

Qt/Symbian/Meego/BB10/Cascades developer
Please use plain text.
New Developer
vladest
Posts: 88
Registered: ‎06-16-2012
My Device: N950/E7/N808/N9/X7/BB10 Alpha
My Carrier: Kievstar

Re: qt components for BB10

ok, fixed the build issue but...scrolling speed become much much worse than with 4.8.0 libraries :smileysad:

Qt/Symbian/Meego/BB10/Cascades developer
Please use plain text.
Developer
jheron
Posts: 188
Registered: ‎01-27-2012
My Device: playbook
My Carrier: ...

Re: qt components for BB10

Hi folks,

I ported the symbian components along time ago and uploaded them HERE. IIRC I had to change one of the components files to enable full screen for pageview on the pb, I cant remember where I had to make the changes but I can figure it out again if anybody is having trouble...

I also compiled the Qt 4.8.2 libs in x86 and armv7le debug and release, they were posted HERE  by Borceg.

With the latest 4.8.2 libs the scrolling in qml is smooth as can be for me (on pb), even on large detailed listviews. Also QDescktop services works out of the box for native email and browser access on my pb.

The original 4.8 libs that come with the bb Qt SDK should not be used, they are very buggy and way outdated!

To see all the bug fixes related to QNX/BB on the main Qt 4.8.2 branch look HERE

Have fun!

Cheers,

Jon

Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: qt components for BB10

Hi jheron

You mention that QdesktopServices works out of the box for your PB for native email and browser.

I tried that and is not working on my, this

QDesktopServices::openUrl(QUrl("http://www.google.com",QUrl::TolerantMode));

 gives me:

"QDesktopServices::launchWebBrowser not implemented"

 

Can you confirm that opening url in native web browser works?

Please use plain text.
Developer
jheron
Posts: 188
Registered: ‎01-27-2012
My Device: playbook
My Carrier: ...

Re: qt components for BB10

[ Edited ]

Apologies!

I should have said that qml desktop services works. I have not tried it from c++ yet. I ASSumed it would work on the c++ side too.... :Online2long:

Here is what's confirmed to work from qml to open the native browser:

 Qt.openUrlExternally("http://website.com")

Cheers,

Jon

Please use plain text.
New Developer
vladest
Posts: 88
Registered: ‎06-16-2012
My Device: N950/E7/N808/N9/X7/BB10 Alpha
My Carrier: Kievstar

Re: qt components for BB10

Hi Jon

 

just checked your bild of 4.8.2. Unfortunately I have same issue as with my own build: GridView flicking is an slideshow :smileysad:


Qt/Symbian/Meego/BB10/Cascades developer
Please use plain text.
Developer
jheron
Posts: 188
Registered: ‎01-27-2012
My Device: playbook
My Carrier: ...

Re: qt components for BB10

Is that on a playbook or a bb10 sim that its lagging?

I have only released my apps for the playbook and have not done any in depth testing on the bb10 sim. They were very glitchy at first but once 4.8.1 came out they smoothed right out like silk on my pb... Perhaps its an issue with bb10 if that's what your testing with?

Perhaps logging a bug will get it some attention if that is the case. Or perhaps a new build with the latest bb10ndk released today will make a difference...

Good luck!

Jon

Please use plain text.
New Developer
vladest
Posts: 88
Registered: ‎06-16-2012
My Device: N950/E7/N808/N9/X7/BB10 Alpha
My Carrier: Kievstar

Re: qt components for BB10

I've tested it on Alpha device

Qt/Symbian/Meego/BB10/Cascades developer
Please use plain text.
Developer
connyhald
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *

Re: qt components for BB10

Sorry guys, I was away for a while... Of course the definition of "laggy" is a bit fuzzy, but for me the difference between the default BB10 Qt and a recent Qt 4.8.2 was huge. To me it's still not butter-smooth but somewhat ok.

 

If anyone is interessted I could upload my binaries of Qt and Symbian Components somewhere so you could check it out by yourself.

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Please use plain text.