Results 1 to 3 of 3

Thread: WebView with QtQuick2

  1. #1
    Join Date
    Oct 2013
    Posts
    12
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X

    Default WebView with QtQuick2

    can't seem to get a WebView working with QtQuick 2. The error is
    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.
    I'm compiling on 64-bit Mac OSX running 10.8.4.

    The QML is:

    Qt Code:
    1. import QtQuick 2.1
    2. import QtQuick.Controls 1.0
    3. import QtQuick.Window 2.0
    4. import QtQuick.Layouts 1.0
    5. import QtWebKit 3.0
    6.  
    7. WebView {
    8. id: oauthWeb
    9. url: "https://www.google.com"
    10. }
    To copy to clipboard, switch view to plain text mode 
    I've also included QT += widgets network webkit webkitwidgets and CONFIG += x86 in the PRO file.

    Can't quite work out what is happening. The webview doesn't show at all.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: WebView with QtQuick2

    It is likely that you are mixing debug and release libraries.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    c1223 (24th October 2013)

  4. #3
    Join Date
    Oct 2013
    Posts
    12
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: WebView with QtQuick2

    Fixed. Thanks!

Similar Threads

  1. QtQuick2 in a Citrix environment?
    By gemmell in forum Qt Quick
    Replies: 0
    Last Post: 29th June 2013, 05:46
  2. Replies: 1
    Last Post: 21st June 2013, 16:39
  3. QtQuick2 access image pixel
    By Talei in forum Qt Quick
    Replies: 4
    Last Post: 3rd June 2013, 09:02
  4. QtQuick2.0 and Graphic Card
    By alizadeh91 in forum Qt Programming
    Replies: 3
    Last Post: 6th April 2013, 16:09
  5. Replies: 6
    Last Post: 29th January 2013, 23:30

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.