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
Posts: 41
Registered: ‎09-14-2012
My Device: Playbook 64Gb
My Carrier: n/a

Qt on BB playbook -- is there much actual interest in this?

Hi

 

As a matter of curiosity, is anybody actually writing or porting substantial applications using Qt? Or is Qt still in the realms of interesting experiments? I ask because there doesn't seem to be much discussion on this forum. Is this a topic that is discussed elsewhere?

 

Best wishes

Kevin

Developer
Posts: 162
Registered: ‎01-11-2012
My Device: BlackBerry 9790, BlackBerry PlayBook 64Gb, BlackBerry 10 Dev Alpha
My Carrier: MTS

Re: Qt on BB playbook -- is there much actual interest in this?

Hi Kevin,

There are two my very simple Qt/QML apps in App World (The tower of Hanoi and VRPR): http://appworld.blackberry.com/webstore/vendor/18166

Also I've ported DjView on PlayBook: http://forum.kpda.ru/index.php/topic,765.0.html

And I personally know developers who use Qt on PlayBook. Also note that BlackBerry Casacdes SDK is based on Qt.

If you have any questions, just ask. I guess you'll get answers.
Respectfully,
Oleg

Developer, QNX RTOS, BlackBerry 10 and PlayBook
Follow me on Twitter (in Russian)
St.Petersburg BlackBerry Dev. Group
Contributor
Posts: 41
Registered: ‎09-14-2012
My Device: Playbook 64Gb
My Carrier: n/a

Re: Qt on BB playbook -- is there much actual interest in this?

Hi Oleg

Thanks. It's good to know that I'm not the only person trying to use Qt.

Still, it's funny... I asked a question on this forum about detecting when the virtual keyboard is visible in a Qt application, and got no answers. Since being unable to detect that the virtual keyboard is visible essentially renders it impossible to implement any Qt application that has any substantial keyboard input, I would have thought that anybody who had tried to implement a substantial application would have come across this problem. But nobody seemed to know.

That's why I wondered if such issues were getting discussed elsewhere.

Best wishes
Kevin


Developer
Posts: 162
Registered: ‎01-11-2012
My Device: BlackBerry 9790, BlackBerry PlayBook 64Gb, BlackBerry 10 Dev Alpha
My Carrier: MTS

Re: Qt on BB playbook -- is there much actual interest in this?

Kevin,

Sorry, but I do not understand what is your trouble with keyboard. If I understand you correctly, you shouldn't worry about system keyboard, its functionality (showing, hiding, rendering, etc) is provided by Tablet OS.
Respectfully,
Oleg

Developer, QNX RTOS, BlackBerry 10 and PlayBook
Follow me on Twitter (in Russian)
St.Petersburg BlackBerry Dev. Group
Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Qt on BB playbook -- is there much actual interest in this?

Oleg, it is impossible to get current state (shown/hidden?). Sometimes it is needed.

Developer
Posts: 43
Registered: ‎06-30-2012
My Device: Bold 9900
My Carrier: T-Mobile

Re: Qt on BB playbook -- is there much actual interest in this?

Not only an interest, but I have also offered up regular rebuilds of the QT Library (as well as the symbian components) for both the Device as well as the SIM.

 

 

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

Re: Qt on BB playbook -- is there much actual interest in this?

XD Do you have a PDF viewer like Okular too :smileyvery-happy:

Contributor
Posts: 41
Registered: ‎09-14-2012
My Device: Playbook 64Gb
My Carrier: n/a

Re: Qt on BB playbook -- is there much actual interest in this?

Hi Oleg

 

The problem with the keyboard is that it pops up over the top of whatever widgets are displayed. If one of them happens to be a text control, then there's just no way to use the application. Well, I suppose you could just type blind, and hope that the text is OK.

 

Essentially, you can't put any widget that takes text in the bottom half of the screen, because as soon as the keyboard is displayed, you can't see the widget any more.

 

If an event were dispatched to the application when the keyboard appeared and disappeared, it would be relatively straightforward to adjust the layout so that everything were accessible. It would still be somewhat awkward to ensure the that widget with input focus is always in view, but it would at least be possible. At the moment, it doesn't seem to be possible.

 

Or am I just missing something, somewhere?

 

Best wishes

Kevin

 

Developer
Posts: 188
Registered: ‎01-27-2012
My Device: playbook
My Carrier: ...

Re: Qt on BB playbook -- is there much actual interest in this?

Perhaps this will help?

http://www.developer.nokia.com/Community/Wiki/Workaround_to_hide_VKB_in_QML_apps_%28Known_Issue%29

or maybe:

http://qt-project.org/forums/viewthread/11544

Are you using the symbian qml components or widgets? Are you using the latest Qt4.8.3 libs? There are many fixes for QNX in the latest libs as fixes for bb are coming in weekly...  http://qt.gitorious.org/qt/qt/commits/4.8

Good luck,

Jon

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Qt on BB playbook -- is there much actual interest in this?

Thanks Jon, I'll try the first link, it might actually work.

BTW 4.8.3 did not work at all on BB10 without this patch:

diff --git a/src/plugins/platforms/blackberry/qbbintegration.cpp b/src/plugins/platforms/blackberry/qbbintegration.cpp
index 6733f18..025b537 100644
--- a/src/plugins/platforms/blackberry/qbbintegration.cpp
+++ b/src/plugins/platforms/blackberry/qbbintegration.cpp
@@ -36,6 +36,7 @@
 ****************************************************************************/
 
 //#define QBBINTEGRATION_DEBUG
+#define QBB_SCREENEVENTTHREAD