TealFawn
TealFawn

Reputation: 339

How do you extend a cascades ui control

I'm trying to extend the webview control in cascades with the following code

#include <bb/cascades/WebView>

namespace mopub {

class BrowserView : public WebView {

my compile error is expected class-name before '{' token

I've tried to extend QWebView and #include but to avail.

Upvotes: 0

Views: 213

Answers (1)

Richard
Richard

Reputation: 8920

You must either specify using bb::cascades

using namespace bb::cascades;

Or fully qualify the super class

class BrowserView : public bb::cascades::WebView {

Upvotes: 2

Related Questions