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

Assistant not launching on Ubuntu22.04 when compiled statically

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 6.5.0 RC
    • 6.5.0 Beta3
    • Tools: Assistant
    • Linux/X11

    Description

      Have Qt 6.5.0 beta3 sources extracted on Ubuntu22.04 (branch 6.5), do a static build:

      cmake -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -DINPUT_bundled_xcb_xinput=yes -DINPUT_doubleconversion=qt -DINPUT_harfbuzz=qt -DINPUT_headersclean=yes -DINPUT_libjpeg=qt -DINPUT_libpng=qt -DINPUT_libudev=no -DINPUT_pcre=qt -DOpenGL_GL_PREFERENCE=LEGACY -DQT_BUILD_EXAMPLES=FALSE -DQT_BUILD_TESTS=OFF -G Ninja -DBUILD_SHARED_LIBS=OFF /home/qt/RTA/src-6.5.0 -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.5.0/qtbase -DBUILD_qtwebengine=FALSE 

      Configure and build finishes fine.

      Launching Designer and Linguist succeeds, but when launching Assistant:

      /home/qt/RTA/src-6.5.0/qtbase/bin/assistant: symbol lookup error: /home/qt/RTA/src-6.5.0/qtbase/bin/assistant: undefined symbol: PQsetSingleRowMode 

      Test is executed also on RHEL9 and SLES15_SP4 and Assistant launches there, as in macOS and MinGW & MSVC.

      I ran same test in Ubuntu20.04 (branch 6.4), Assistant launches there, Qt sources and the build setup are identical.

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes