[webkit-qt] Yocto Qt 5.15 and QtWebkit 5.212 ssl error

Ramakanth Kesireddy rama.kesi at gmail.com
Tue May 4 23:15:55 PDT 2021


After installing Qt 5.15 using yocto recipes without https(no openssl),
tried to build QtWebkit 5.212 Alpha4 with patch

However, it throws below error:-

-- Performing Test Qt5Network_PRIVATE_HEADER_FOUND - Failed
CMake Error at Source/cmake/OptionsQt.cmake:82 (message):
Header private/http2protocol_p.h is not found. Please make sure that:
1. Private headers of Qt5Network are installed
2. Qt5Network_PRIVATE_INCLUDE_DIRS is correctly defined in
Call Stack (most recent call first):
Source/cmake/OptionsQt.cmake:649 (CHECK_QT5_PRIVATE_INCLUDE_DIRS)
Source/cmake/WebKitCommon.cmake:51 (include)
CMakeLists.txt:137 (include)

Though resolved the above error, commenting the above in OptionsQt.cmake
since it is not applicable for our usecases, but ending up with below error:

error: ‘QSslSocket’ has not been declared
     return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
error: ‘QSslSocket’ has not been declared
Source/WebCore/CMakeFiles/WebCore.dir/build.make:39113: recipe for target
make[2]: ***
Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1576: recipe for target
'Source/WebCore/CMakeFiles/WebCore.dir/all' failed
make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Please let me know if there is any other patch to be applied apart from
through yocto recipes.

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20210505/77236ad8/attachment.htm>

More information about the webkit-qt mailing list