[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


Hi,

After installing Qt 5.15 using yocto recipes without https(no openssl),
tried to build QtWebkit 5.212 Alpha4 with patch
https://github.com/qtwebkit/qtwebkit/commit/e7ec14144ce58418d94568c41ac94d4d87969363
.

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
Qt5NetworkConfig.cmake
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:

qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:68:12:
error: ‘QSslSocket’ has not been declared
     return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
            ^
/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:69:9:
error: ‘QSslSocket’ has not been declared
         QSslSocket
::sslLibraryVersionString().startsWith(QLatin1String("OpenSSL"));
         ^
Source/WebCore/CMakeFiles/WebCore.dir/build.make:39113: recipe for target
'Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o'
failed
make[2]: ***
[Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o]
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
https://github.com/qtwebkit/qtwebkit/commit/e7ec14144ce58418d94568c41ac94d4d87969363
through yocto recipes.

Best Regards,
Ramakanth
-------------- 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