can't seem to get a WebView working with QtQuick 2. The error isI'm compiling on 64-bit Mac OSX running 10.8.4.objc[71279]: Class QNSListener is implemented in both /Qt5.1.1/5.1.1/clang_64/plugins/bearer/libqcorewlanbearer.dylib and /Qt5.1.1/5.1.1/clang_64/plugins/bearer/libqcorewlanbearer_debug.dylib. One of the two will be used. Which one is undefined.
The QML is:
I've also included QT += widgets network webkit webkitwidgets and CONFIG += x86 in the PRO file.Qt Code:
import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Window 2.0 import QtQuick.Layouts 1.0 import QtWebKit 3.0 WebView { id: oauthWeb url: "https://www.google.com" }To copy to clipboard, switch view to plain text mode
Can't quite work out what is happening. The webview doesn't show at all.
Bookmarks