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

qeventdispatcher_glib.cpp:300: undefined reference to `g_thread_init'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.0.0 Alpha
    • Build System: CMake

    Description

      cmake build system does not link to the required gthread-2 library

      [ 40%] Linking CXX shared library ../../lib/libQt6Core.so
      Generating version linker script
      ^[[91mCMakeFiles/Core.dir/kernel/qeventdispatcher_glib.cpp.o: In function `QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*)':
      /usr/local/src/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:300: undefined reference to `g_thread_init'

      please consider this bug for alpha release

      https://codereview.qt-project.org/c/qt/qtbase/+/313689

      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
            jschueller Julien Schueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes