Marten,

Thank you for your reply.

Yes the patch required? My configure line was:

./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”

Best,

Nuno

> On 7 Dec 2022, at 11:59, Mårten Nordheim <marten.nordh...@qt.io> wrote:
> 
> [Reply is inline]
> 
>> -----Original Message-----
>> From: Nuno Santos <nuno.san...@imaginando.pt>
>> Sent: onsdag 7. desember 2022 11:50
>> To: Mårten Nordheim <marten.nordh...@qt.io>
>> Cc: Qt Interest <interest@qt-project.org>
>> Subject: Re: [Interest] Qt6 - Fails to compile when openssl-linked enabled
>> 
>> Marten,
>> 
>> Thanks for your reply.
>> 
>> I’m on branch 6.4.2 and before any configure I always call:
>> 
>> git submodule foreach --recursive "git clean -dfx" && git clean -dfx
>> 
>> Should I try with another branch?
> 
> No, it shouldn't be needed. I just configured 6.4 branch locally and it
> works fine. With only 
> https://codereview.qt-project.org/c/qt/qtbase/+/446542 
> <https://codereview.qt-project.org/c/qt/qtbase/+/446542>
> as the extra patch.
> I think this might indicate that the openssl compile test fails, which
> could disable the feature. But just to make sure; do you call configure
> like `../qt5/configure ... -openssl-linked` ?
> 
>> 
>> Regards,
>> 
>> Nuno
>> 
>>> On 7 Dec 2022, at 09:45, Mårten Nordheim <marten.nordh...@qt.io>
>> wrote:
>>> 
>>> Hey,
>>> 
>>> If this is a clean build I need to know which branch you are building.
>>> If not then you could try deleting CMakeCache.txt and reconfiguring,
>>> there were some changes around configuration of openssl recently
>>> which may be conflicting with values in the cache.
>>> 
>>> Mårten
>>> 
>>>> -----Original Message-----
>>>> From: Interest <interest-boun...@qt-project.org> On Behalf Of Nuno
>>>> Santos
>>>> Sent: onsdag 7. desember 2022 10:28
>>>> To: Qt Interest <interest@qt-project.org>
>>>> Subject: [Interest] Qt6 - Fails to compile when openssl-linked enabled
>>>> 
>>>> Hi,
>>>> 
>>>> I’m trying to compile Qt 6 with openssl-linked but I’m having this error 
>>>> and
>>>> I’m not being able to interpret it.
>>>> 
>>>> What is failing? Can you please help me here?
>>>> 
>>>> Thanks in advance!
>>>> 
>>>> Regards,
>>>> 
>>>> Nuno
>>>> 
>>>> 
>>>> Configuring submodule 'qtbase'
>>>> CMake Error at qtbase/cmake/QtBuildInformation.cmake:490 (message):
>>>> Feature "openssl": Forcing to "ON" breaks its condition:
>>>> 
>>>>     QT_FEATURE_openssl_runtime OR QT_FEATURE_openssl_linked
>>>> 
>>>> Condition values dump:
>>>> 
>>>>     QT_FEATURE_openssl_runtime = "OFF"
>>>>     QT_FEATURE_openssl_linked = "OFF"
>>>> 
>>>> Call Stack (most recent call first):
>>>> qtbase/cmake/QtFeature.cmake:281 (qt_configure_add_report_error)
>>>> qtbase/cmake/QtFeature.cmake:403
>>>> (qt_feature_check_and_save_internal_value)
>>>> qtbase/cmake/QtFeature.cmake:155 (qt_evaluate_feature)
>>>> qtbase/cmake/QtFeature.cmake:349 (qt_evaluate_config_expression)
>>>> qtbase/cmake/QtFeature.cmake:606 (qt_evaluate_feature)
>>>> qtbase/cmake/QtFeature.cmake:575 (qt_feature_module_end)
>>>> qtbase/src/CMakeLists.txt:9 (qt_feature_evaluate_features)
>>>> 
>>>> 
>>>> -- Could NOT find md4c (missing: md4c_DIR)
>>>> -- Could NOT find md4c (missing: md4c_DIR)
>>>> CMake Error at qtbase/cmake/QtTargetHelpers.cmake:832 (message):
>>>> WrapOpenSSLHeaders::WrapOpenSSLHeaders is not a valid target.
>>>> Call Stack (most recent call first):
>>>> qtbase/src/plugins/tls/openssl/CMakeLists.txt:54
>>>> (qt_internal_add_target_include_dirs)
>>>> 
>>>> 
>>>> -- Configuring incomplete, errors occurred!
>>>> _______________________________________________
>>>> Interest mailing list
>>>> Interest@qt-project.org
>>>> https://lists.qt-project.org/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to