0

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.

Michael Donohue
  • 11,776
  • 5
  • 31
  • 44
TealFawn
  • 329
  • 4
  • 14

1 Answers1

2

You must either specify using bb::cascades

using namespace bb::cascades;

Or fully qualify the super class

class BrowserView : public bb::cascades::WebView {
Richard
  • 8,920
  • 2
  • 18
  • 24