Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-30897

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.0.1, 5.0.2, 5.1.0
    • None
    • {noformat}
      Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
      Target: x86_64-apple-darwin12.3.0
      Thread model: posix
      {noformat}

    Description

      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 which seems like it's trying discover a proxy even though I'm not behind one.

      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
      }
      

      project.pro

      QT += widgets qml quick webkitwidgets
      
      #HEADERS +=
      
      SOURCES += \
          main.cpp
      
      OTHER_FILES += \
          main.qml
      
      RESOURCES += \
          resources.qrc
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            rawberg David Feinberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes