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

XMLHttpRequest fails after open() if built with QApplication

XMLWordPrintable

    • Linux/X11

      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)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes