<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Hi Stefan,<br>
pls note that Ubuntu 20.04 is supported on 6.2. Ubuntu 22.04 is known to have issues.</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">However, if compiling w/o websockets is the goal, wiping the build tree and deleting websockets from the source tree
 is likely to help.</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Sorry for accidently squashing both issues together.</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Cheers<br>
Axel<br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Stefan Seefeld <stefan@seefeld.name><br>
<b>Gesendet:</b> Montag, 9. Januar 2023 15:13<br>
<b>An:</b> Axel Spoerl <axel.spoerl@qt.io><br>
<b>Cc:</b> interest@qt-project.org <interest@qt-project.org><br>
<b>Betreff:</b> Re: [Interest] Could NOT find Qt6WebSockets trying to compile Qt 6.2.6 (Ubuntu 22.04)</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>[sorry, forgot to reply to the list]</div>
<div><br>
</div>
<div>Thanks for following up. This issue is different from the previous<br>
one, and downgrading cmake to 3.24.x doesn't make any difference. I<br>
still do get the warning from the `configure` process, and the build<br>
error during `make` execution.<br>
<br>
Thanks,<font color="#888888"><br>
</font></div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Jan 9, 2023 at 1:02 AM Axel Spoerl via Interest <<a href="mailto:interest@qt-project.org">interest@qt-project.org</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="x_msg6477104320709895564">
<div dir="ltr"><span><span style="color:black; font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:white">Good morning Stefan,</span></span>
<div><span style="color:black; font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:white">provided the build is on Linux, this is a known issue (<a href="https://bugreports.qt.io/browse/QTBUG-109046" rel="noopener noreferrer" target="_blank">https://bugreports.qt.io/browse/QTBUG-109046</a>),
 fixed in 6.4.2.</span></div>
<div><span style="color:black; font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:white">A workaround is downgrading to CMake 3.24 (3.24.2 working for me, 3.24.3 should also work).
</span></div>
<div><span style="color:black; font-size:12pt; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:white">Brgds<br>
Axel</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)"><br>
</span></div>
<div id="x_m_6477104320709895564appendonsend"></div>
<hr style="display:inline-block; width:98%">
<div id="x_m_6477104320709895564divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Interest <<a href="mailto:interest-bounces@qt-project.org" target="_blank">interest-bounces@qt-project.org</a>> im Auftrag
 von Stefan Seefeld <<a href="mailto:stefan@seefeld.name" target="_blank">stefan@seefeld.name</a>><br>
<b>Gesendet:</b> Sonntag, 8. Januar 2023 23:57<br>
<b>An:</b> <a href="mailto:interest@qt-project.org" target="_blank">interest@qt-project.org</a> <<a href="mailto:interest@qt-project.org" target="_blank">interest@qt-project.org</a>><br>
<b>Betreff:</b> [Interest] Could NOT find Qt6WebSockets trying to compile Qt 6.2.6 (Ubuntu 22.04)</font>
<div> </div>
</div>
<div>
<div dir="ltr">I'm trying to compile Qt 6.2.6 from source (using the <span style="font-family:monospace">
<span style="color:rgb(0,0,0); background-color:rgb(255,255,255)">qt-everywhere-src-6.2.6.tar.xz  source package)</span> following instructions from
<a href="https://doc.qt.io/qt-6.2/build-sources.html" target="_blank">https://doc.qt.io/qt-6.2/build-sources.html</a>, and I get the following error:<br>
</span>
<div><br>
</div>
<div>
<blockquote style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<span style="font-family:monospace"><span style="color:rgb(0,0,0); background-color:rgb(255,255,255)">-- Could NOT find Qt6WebSockets (missing: Qt6WebSockets_DIR)
</span></span><br>
<span style="font-family:monospace">CMake Warning at /home/user/srcdir/qt-build/build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:263 (message):
</span><br>
<span style="font-family:monospace"> Failed to find Qt component "WebSockets". </span>
<br>
<span style="font-family:monospace"></span><br>
<span style="font-family:monospace"> Expected Config file at </span><br>
<span style="font-family:monospace"> "/home/user/srcdir/qt-build/build/qtbase/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake"
</span><br>
<span style="font-family:monospace"> does NOT exist</span><br>
<span style="font-family:monospace"></span></blockquote>
<span style="font-family:monospace"><br>
</span></div>
<div><span style="font-family:monospace">Configuring again with the additional option `-skip qtwebsockets` then lets me compile Qt, but ultimately yields this error:<br>
</span></div>
<div><br>
</div>
<div>
<blockquote style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<span style="font-family:monospace"><span style="color:rgb(0,0,0); background-color:rgb(255,255,255)">lrelease error: cannot create '/home/user/srcdir/qt-build/build/qtbase/share/qt6/translations/qtwebsockets_en.qm': No such file
</span></span><br>
<span style="font-family:monospace">or directory</span><br>
<span style="font-family:monospace"></span></blockquote>
<span style="font-family:monospace"><br>
</span></div>
<div><span style="font-family:monospace">Any idea what the problem is ?</span></div>
<div><span style="font-family:monospace"><br>
</span></div>
<div><span style="font-family:monospace">Thanks,<br>
</span></div>
<div><br>
<div dir="ltr">
<div dir="ltr"><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4yh4RzsqlxV6irScDGRVZ8a7NRCh_INtpPsAHx2Y8v4Vu3VKsI54RFNs3YRZk_2xTTtMMdSCzdNrf5XRUlmF4BkezmtZv-j5c3A4G0hEA"><br>
<pre>      ...ich hab' noch einen Koffer in Berlin...
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org" target="_blank">Interest@qt-project.org</a><br>
<a href="https://lists.qt-project.org/listinfo/interest" rel="noreferrer" target="_blank">https://lists.qt-project.org/listinfo/interest</a><br>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr"><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4yh4RzsqlxV6irScDGRVZ8a7NRCh_INtpPsAHx2Y8v4Vu3VKsI54RFNs3YRZk_2xTTtMMdSCzdNrf5XRUlmF4BkezmtZv-j5c3A4G0hEA"><br>
<pre>      ...ich hab' noch einen Koffer in Berlin...
</pre>
</div>
</div>
</div>
</body>
</html>