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

qhttpmultipart not available on wasm?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 5.13.2
    • Network: HTTP
    • None
    • WebAssembly
    • 6b171dc6c0c0f0a822b212df77b58b28bd92716c

    Description

      when trying to include <QHttpMultiPart> get error about missing http config? is this supposed to work?

      In file included from ../../../Qt/5.13.2/wasm_32/include/QtNetwork/QHttpMultiPart:1:
       ../../../Qt/5.13.2/wasm_32/include/QtNetwork/qhttpmultipart.h:49:1: error: static_assert failed due to requirement 'bool(-1 == 1)' "Required feature http for file ../../../Qt/5.13.2/wasm_32/include/QtNetwork/qhttpmultipart.h not available."
       QT_REQUIRE_CONFIG(http);
       ^~~~~~~~~~~~~~~~~~~~~~~
       ../../../Qt/5.13.2/wasm_32/include/QtCore/qglobal.h:87:36: note: expanded from macro 'QT_REQUIRE_CONFIG'
       #define QT_REQUIRE_CONFIG(feature) Q_STATIC_ASSERT_X(QT_FEATURE_##feature == 1, "Required feature " #feature " for file " __FILE__ " not available.")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       ../../../Qt/5.13.2/wasm_32/include/QtCore/qglobal.h:121:49: note: expanded from macro 'Q_STATIC_ASSERT_X'
       # define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
       ^ ~~~~~~~~~~~~~~~
      

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            andres.kruse Andres Kruse
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes