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

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.

Posts: 18
Registered: ‎01-31-2013
My Device: Dev Alpha
My Carrier: MobileTeleSystem

QWebPage QWebView

Hi all.
I have some code from my old Qt application.
Some classes in my application use such Qt classes like QWebPage QWebFrame.
Momentics says that 


#include <QWebView> - unresolved includion.


here is my .pro file

QT += gui declarative network core

INCLUDEPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtGui
INCLUDEPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtDeclarative
INCLUDEPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtNetwork
INCLUDEPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtCore

DEPENDPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtGui
DEPENDPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtDeclarative
DEPENDPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtNetwork
DEPENDPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtCore

LIBS += -lwebkit

 Any suggestions?
Sorry for bad English.

Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: QWebPage QWebView

[ Edited ]

It seems that webkit module is required and although lib files are present, I couldn't find the headers in NDK.


You might be able to compile it by deploying your own Qt build to the device (Wiki on qt-project.org has a page on this)  but that'll probably not help much. QWebFrame inherits from QWidget and it's not possible to mix Qt widgets with Cascades widgets. I'd consider using native Cascades classes:



Andrey Fidrya, @zmeyc on twitter
New Developer
Posts: 17
Registered: ‎11-08-2012
My Device: Z10 Limited Edition
My Carrier: H3G - Italy

Re: QWebPage QWebView

The class QWebView does not seem to be available in the Cascades.
But I see that the documentation mentions QWebView.


This leaves me doubtful, I have to find other ways to achieve my purpose or is there a way to use them?