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

Compiling qt-everywhere-src fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.2.8
    • 6.2.6
    • Build System: CMake
    • An Ubuntu 20.04 or Ubuntu 22.04 - based docker container with all documented prerequisite packages installed.
    • Linux/X11
    • 3b15fb111 (tqtc/lts-6.2)

    Description

      Running `configure`  (even with using "-skip qtwebsockets" !) yields

       

      – Could NOT find Qt6WebSockets (missing: Qt6WebSockets_DIR)

      CMake Warning at

      /home/user/srcdir/qt-build/build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:263

      (message):

       Failed to find Qt component "WebSockets".

       

       Expected Config file at

       "/home/user/srcdir/qt-build/build/qtbase/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake"

       

      does NOT exist

       

      After `configure` is done, that file does exist. So, running `configure` again, I this time get this output:

      CMake Warning at

      /home/user/srcdir/qt-build/build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:263

      (message):

      Failed to find Qt component "WebSockets".

       

      Expected Config file at

      "/home/user/srcdir/qt-build/build/qtbase/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake"

      exists

       

      Continuing with the build then eventually yields this hard error:

       

      lrelease error: cannot create '/home/user/srcdir/qt-build/build/qtbase/share/qt6/translations/qtwebsockets_en.qm': No such file or directory

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            stefan_seefeld Stefan Seefeld
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes