[Interest] Could NOT find Qt6WebSockets trying to compile Qt 6.2.6 (Ubuntu 22.04)

Alexandru Croitor alexandru.croitor at qt.io
Tue Jan 10 13:13:25 CET 2023


Hi,

I can't say what's going wrong with qtwebsockets at the moment, but try configuring with -skip qtwebsockets -skip qttranslations

That should hopefully avoid the second error.

________________________________________
From: Interest <interest-bounces at qt-project.org> on behalf of Stefan Seefeld <stefan at seefeld.name>
Sent: Sunday, January 8, 2023 11:57 PM
To: interest at qt-project.org
Subject: [Interest] Could NOT find Qt6WebSockets trying to compile Qt 6.2.6 (Ubuntu 22.04)

I'm trying to compile Qt 6.2.6 from source (using the qt-everywhere-src-6.2.6.tar.xz  source package) following instructions from https://doc.qt.io/qt-6.2/build-sources.html, and I get the following error:

-- 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

Configuring again with the additional option `-skip qtwebsockets` then lets me compile Qt, but ultimately yields this error:

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

Any idea what the problem is ?

Thanks,

[https://ci3.googleusercontent.com/mail-sig/AIorK4yh4RzsqlxV6irScDGRVZ8a7NRCh_INtpPsAHx2Y8v4Vu3VKsI54RFNs3YRZk_2xTTtMMdSCzdNrf5XRUlmF4BkezmtZv-j5c3A4G0hEA]

      ...ich hab' noch einen Koffer in Berlin...



More information about the Interest mailing list