<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Marten,<div class=""><br class=""></div><div class="">Thank you for your reply.</div><div class=""><br class=""></div><div class="">Yes the patch required? My configure line was:</div><div class=""><br class=""></div><div class="">./configure -prefix /Users/nsantos/Qt/6.4.2/macos -static -debug-and-release -nomake examples -nomake tests -nomake benchmarks -nomake manual-tests -nomake minimal-static-tests -openssl-linked -I/Users/nsantos/Qt-Utils/openssl/include OPENSSL_LIBS="/Users/nsantos/Qt-Utils/openssl/lib/libssl.a /Users/nsantos/Qt-Utils/openssl/lib/libcrypto.a”</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Nuno<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 7 Dec 2022, at 11:59, Mårten Nordheim <<a href="mailto:marten.nordheim@qt.io" class="">marten.nordheim@qt.io</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[Reply is inline]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">-----Original Message-----<br class="">From: Nuno Santos <<a href="mailto:nuno.santos@imaginando.pt" class="">nuno.santos@imaginando.pt</a>><br class="">Sent: onsdag 7. desember 2022 11:50<br class="">To: Mårten Nordheim <<a href="mailto:marten.nordheim@qt.io" class="">marten.nordheim@qt.io</a>><br class="">Cc: Qt Interest <<a href="mailto:interest@qt-project.org" class="">interest@qt-project.org</a>><br class="">Subject: Re: [Interest] Qt6 - Fails to compile when openssl-linked enabled<br class=""><br class="">Marten,<br class=""><br class="">Thanks for your reply.<br class=""><br class="">I’m on branch 6.4.2 and before any configure I always call:<br class=""><br class="">git submodule foreach --recursive "git clean -dfx" && git clean -dfx<br class=""><br class="">Should I try with another branch?<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">No, it shouldn't be needed. I just configured 6.4 branch locally and it</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">works fine. With only<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://codereview.qt-project.org/c/qt/qtbase/+/446542" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://codereview.qt-project.org/c/qt/qtbase/+/446542</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">as the extra patch.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">I think this might indicate that the openssl compile test fails, which</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">could disable the feature. But just to make sure; do you call configure</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">like `../qt5/configure ... -openssl-linked` ?</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class="">Regards,<br class=""><br class="">Nuno<br class=""><br class=""><blockquote type="cite" class="">On 7 Dec 2022, at 09:45, Mårten Nordheim <<a href="mailto:marten.nordheim@qt.io" class="">marten.nordheim@qt.io</a>><br class=""></blockquote>wrote:<br class=""><blockquote type="cite" class=""><br class="">Hey,<br class=""><br class="">If this is a clean build I need to know which branch you are building.<br class="">If not then you could try deleting CMakeCache.txt and reconfiguring,<br class="">there were some changes around configuration of openssl recently<br class="">which may be conflicting with values in the cache.<br class=""><br class="">Mårten<br class=""><br class=""><blockquote type="cite" class="">-----Original Message-----<br class="">From: Interest <<a href="mailto:interest-bounces@qt-project.org" class="">interest-bounces@qt-project.org</a>> On Behalf Of Nuno<br class="">Santos<br class="">Sent: onsdag 7. desember 2022 10:28<br class="">To: Qt Interest <<a href="mailto:interest@qt-project.org" class="">interest@qt-project.org</a>><br class="">Subject: [Interest] Qt6 - Fails to compile when openssl-linked enabled<br class=""><br class="">Hi,<br class=""><br class="">I’m trying to compile Qt 6 with openssl-linked but I’m having this error and<br class="">I’m not being able to interpret it.<br class=""><br class="">What is failing? Can you please help me here?<br class=""><br class="">Thanks in advance!<br class=""><br class="">Regards,<br class=""><br class="">Nuno<br class=""><br class=""><br class="">Configuring submodule 'qtbase'<br class="">CMake Error at qtbase/cmake/QtBuildInformation.cmake:490 (message):<br class="">Feature "openssl": Forcing to "ON" breaks its condition:<br class=""><br class="">    QT_FEATURE_openssl_runtime OR QT_FEATURE_openssl_linked<br class=""><br class="">Condition values dump:<br class=""><br class="">    QT_FEATURE_openssl_runtime = "OFF"<br class="">    QT_FEATURE_openssl_linked = "OFF"<br class=""><br class="">Call Stack (most recent call first):<br class="">qtbase/cmake/QtFeature.cmake:281 (qt_configure_add_report_error)<br class="">qtbase/cmake/QtFeature.cmake:403<br class="">(qt_feature_check_and_save_internal_value)<br class="">qtbase/cmake/QtFeature.cmake:155 (qt_evaluate_feature)<br class="">qtbase/cmake/QtFeature.cmake:349 (qt_evaluate_config_expression)<br class="">qtbase/cmake/QtFeature.cmake:606 (qt_evaluate_feature)<br class="">qtbase/cmake/QtFeature.cmake:575 (qt_feature_module_end)<br class="">qtbase/src/CMakeLists.txt:9 (qt_feature_evaluate_features)<br class=""><br class=""><br class="">-- Could NOT find md4c (missing: md4c_DIR)<br class="">-- Could NOT find md4c (missing: md4c_DIR)<br class="">CMake Error at qtbase/cmake/QtTargetHelpers.cmake:832 (message):<br class="">WrapOpenSSLHeaders::WrapOpenSSLHeaders is not a valid target.<br class="">Call Stack (most recent call first):<br class="">qtbase/src/plugins/tls/openssl/CMakeLists.txt:54<br class="">(qt_internal_add_target_include_dirs)<br class=""><br class=""><br class="">-- Configuring incomplete, errors occurred!<br class="">_______________________________________________<br class="">Interest mailing list<br class=""><a href="mailto:Interest@qt-project.org" class="">Interest@qt-project.org</a><br class="">https://lists.qt-project.org/listinfo/interest</blockquote></blockquote></blockquote></div></blockquote></div><br class=""></div></body></html>