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

XMLHttpRequest fails after open() if built with QApplication

    XMLWordPrintable

Details

    • Linux/X11

    Description

      I was working on this personal project: https://github.com/librehat/kesdict and found out that if I use QApplication instead of QGuiApplication in the main.cpp, the XMLHttpRequest will fail at stage 'OPEN'. The error handler also doesn't capture any failures when logging the event (it prints as undefined).

      The same issue when I use qmlscene to launch the QML directly.

       

      Note that I cannot reproduce this issue on my macbook (Brew installed Qt 5.14.1)

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            symeon Symeon Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes