04-16-2014 04:38 PM
I am working with a headless and I want to use the WebView or WebPage class in it. When I use it I get the following error "undefined reference to `bb::cascades::WebPage::WebPage(QObject*)". I have included <bb/cascades/WebPage> class, can anyone help to resolve this issue.
04-17-2014 10:52 AM
Headless apps do not have a UI portion. If you need to display something to a user via a webview, you need to have a separate app that your headless app communicates with. For more information on Headless apps see:
And there are sample apps that show Inter-Process communication between UI and headless apps:
04-17-2014 11:15 AM
Yes I know that headless apps can't have a UI, but the using the WebPage should be usable, right? The documentation says "A webpage that can be used when the app needs to interact with web content but not display it."
04-17-2014 12:09 PM
04-17-2014 12:20 PM
04-17-2014 12:28 PM
That sounds right. Now it wants you to use bb::cascades::application instead of bb::application which would lead to another error. Please do not use any classes from bb/cascades package.
This mean it is not possible to use any bb::cascades class in a headless app? So there is no solution?
04-17-2014 02:04 PM - edited 04-17-2014 02:04 PM
Not at the moment. Can you share some details on your use case here or why you need to use this class in your headless project. I will raise it internally..