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

Tools in qtbase fail to link to QtCore when Qt is statically built

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.10.0 FF
    • 6.8.2
    • Build System: CMake
    • None
    • GCC used as the compiler and linker
    • Linux/Wayland, Linux/X11, Linux/Other display system
    • 2d2718356 (dev)

    Description

      When Qt is built with -DFEATURE_shared=OFF, QtCore is still built as a shared library. Right after it gets built, tools fail to link and errors appear about missing references to QtCore symbols.

      Steps to reproduce:

      • cmake -GNinja -DFEATURE_shared=OFF -DFEATURE_rpath=OFF -DFEATURE_precompile_header=OFF -DFEATURE_openssl_linked=ON -DFEATURE_sql=OFF -DFEATURE_printsupport=OFF -DFEATURE_testlib=OFF -DFEATURE_eglfs=OFF -DFEATURE_linuxfb=OFF -DFEATURE_vnc=OFF -DFEATURE_vkkhrdisplay=OFF .. (Just -DFEATURE_shared=OFF should suffice)
      • cmake --build . --parallel

      Logs are in the attachment.

      Attachments

        1. log.txt
          65 kB
          Kemal
        2. results.json
          20 kB
          Cristian Le

        Issue Links

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

          Activity

            People

              lecris Cristian Le
              kemal Kemal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes