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

warning: undefined symbol: _ZN7QThread12setStackSizeEj

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 5.14.0 Beta2
    • Build System
    • None
    • WebAssembly

    Description

      Built Qt 5.14 Beta2 with Emscripten 1.38.27. 

      Configured with explicitly setting -no-feature-thread option.

      Now when I try to build a minimal QtQuick application, I get this error

      warning: undefined symbol: _ZN7QThread12setStackSizeEj
      

       I tried to build with this linker options added to the .pro file:

      QMAKE_LFLAGS -= "-s ERROR_ON_UNDEFINED_SYMBOLS=1"
      QMAKE_LFLAGS += "-s ERROR_ON_UNDEFINED_SYMBOLS=0"
      

      The project builds but the same error appears on the browser's console. 

      It seems that in qqmlthread.cpp in QQmlThreadPrivate::QQmlThreadPrivate(QQmlThread *q) constructor , a new call setStackSize is new in this version which causes this problem on that Emscripten version.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            soheilarmin Soheil Armin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes