Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QML Webview - Unable to get the PAC script at "http://wpad/wpad.dat" (Remote Host Unavailable)
Forum Updated to NodeBB v4.3 + New Features

QML Webview - Unable to get the PAC script at "http://wpad/wpad.dat" (Remote Host Unavailable)

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rawberg
    wrote on 26 Apr 2013, 06:14 last edited by
    #1

    On OSX 10.8.3 when I try to create a simple QML webview with QT5.0.1 or 5.0.2 I keep getting the same error.
    @
    Unable to get the PAC script at "http://wpad/wpad.dat" (Remote Host Unavailable)
    @

    main.cpp
    @
    #include <QApplication>
    #include <QtQuick/QQuickView>
    #include <QtWebKit/QtWebKit>

    int main(int argc, char *argv[])
    {
    QApplication app(argc, argv);

    QQuickView view;
    view.setTitle("Hello Webview");
    view.setMinimumSize(QSize(800, 600));
    view.setResizeMode(QQuickView::SizeRootObjectToView);
    view.setSource(QUrl("qrc:/main.qml"));
    view.show();
    
    return app.exec();
    

    }
    @

    main.qml
    @
    import QtQuick 2.0
    import QtWebKit 3.0

    WebView {
    url: "http://news.ycombinator.com"
    anchors.right: parent
    anchors.left: parent
    }

    @

    1 Reply Last reply
    0

    1/1

    26 Apr 2013, 06:14

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved