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

QtNetworkAuth fails to build when Qt is configured with FEATURE_thread=OFF

    XMLWordPrintable

Details

    • Bug
    • Status: Reported
    • P3: Somewhat important
    • Resolution: Unresolved
    • 5.15.3, 6.0.3, 6.1.3, 6.2
    • None
    • None

    Description

      This was discovered while trying to build QtNetworkAuth targeting WebAssembly ( a static build)

      https://codereview.qt-project.org/c/qt/qt5/+/336695/25

      But can be easily reproduced by configuring a host Qt with -shared and -no-feature-thread (which implies -no-feature-http).

      If one gets past the compilation errors, you get multiple link errors.
      The source files either need to be adapted to properly handle QT_NO_HTTP or the module should skip building anything if the feature is disabled.

      Attachments

        For Gerrit Dashboard: QTBUG-93243
        # Subject Branch Project Status CR V

        Activity

          People

            manordheim MÃ¥rten Nordheim
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes