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
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.3, 6.0.3, 6.1.3, 6.2
    • 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

        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: