Re: [webkit-qt] QtWebkit 5.212 issue

2020-08-05 Thread Ramakanth Kesireddy
Hello Konstantin,

Below test failures of QtWebkit are reproduced only on target but not on
Ubuntu.

Am I missing something with respect to configuration which makes tests fail?

Best Regards,
Ramakanth

On Sun, 2 Aug, 2020, 15:14 Ramakanth Kesireddy,  wrote:

> Hello Konstantin,
>
> Could you please let me know if the attached patches in Qt webkit alpha4
> sources are the reason for the qwebview and qwebpage test failures on
> target?
>
> Qt being used is Qt 5.6.3.
>
> Best Regards,
> Ramakanth
>
> On Fri, Jul 31, 2020 at 12:43 PM Ramakanth Kesireddy 
> wrote:
>
>> Hello Konstantin,
>>
>> Thanks a lot for the quick response.
>> As we need to show the generated html content with css stylesheet or
>> printer with generated pdf from QWebview, it is fine not to use https
>> support.
>>
>> However, there are issues with Qtwebkit test failures which fails to load
>> the css file and apply the stylesheet with buttons.
>> I added the details in the
>> https://forum.qt.io/topic/117470/qtwebkit-test-failures-to-load-setuserstylesheeturl-qurl-fromlocalfile-css
>>
>> and attaching the webkit test failures on target.
>>
>> Please let me know if there are known patches for the test failures or
>> loading of css stylesheet issues from QWebview.
>>
>> Best Regards,
>> Ramakanth.
>>
>> On Fri, 31 Jul, 2020, 10:53 Konstantin Tokarev, 
>> wrote:
>>
>>>
>>>
>>> 31.07.2020, 07:42, "Ramakanth Kesireddy" :
>>> > Hello Konstantin,
>>> >
>>> > Sorry responding late on the old thread.
>>> >
>>> > As we need to upgrade openssl version to 1.1 which is not compatible
>>> with Qt 5.6.3.,
>>> > Could you please provide the compilation patch that you created before
>>> so that Qt WebKit could be built without https support.
>>>
>>> It was pushed already.
>>>
>>> https://github.com/qtwebkit/qtwebkit/commit/e7ec14144ce58418d94568c41ac94d4d87969363
>>>
>>> >
>>> > As you mentioned that it doesn't makes sense to use Qt WebKit without
>>> https support, do you mean it would result in any security bugs/CVEs if we
>>> use such configuration?
>>>
>>> No, it just won't support https. If you don't need it, it's fine to use,
>>> though you won't be able to open most of sites.
>>>
>>>
>>> --
>>> Regards,
>>> Konstantin
>>>
>>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-08-02 Thread Ramakanth Kesireddy
Hello Konstantin,

Could you please let me know if the attached patches in Qt webkit alpha4
sources are the reason for the qwebview and qwebpage test failures on
target?

Qt being used is Qt 5.6.3.

Best Regards,
Ramakanth

On Fri, Jul 31, 2020 at 12:43 PM Ramakanth Kesireddy 
wrote:

> Hello Konstantin,
>
> Thanks a lot for the quick response.
> As we need to show the generated html content with css stylesheet or
> printer with generated pdf from QWebview, it is fine not to use https
> support.
>
> However, there are issues with Qtwebkit test failures which fails to load
> the css file and apply the stylesheet with buttons.
> I added the details in the
> https://forum.qt.io/topic/117470/qtwebkit-test-failures-to-load-setuserstylesheeturl-qurl-fromlocalfile-css
>
> and attaching the webkit test failures on target.
>
> Please let me know if there are known patches for the test failures or
> loading of css stylesheet issues from QWebview.
>
> Best Regards,
> Ramakanth.
>
> On Fri, 31 Jul, 2020, 10:53 Konstantin Tokarev,  wrote:
>
>>
>>
>> 31.07.2020, 07:42, "Ramakanth Kesireddy" :
>> > Hello Konstantin,
>> >
>> > Sorry responding late on the old thread.
>> >
>> > As we need to upgrade openssl version to 1.1 which is not compatible
>> with Qt 5.6.3.,
>> > Could you please provide the compilation patch that you created before
>> so that Qt WebKit could be built without https support.
>>
>> It was pushed already.
>>
>> https://github.com/qtwebkit/qtwebkit/commit/e7ec14144ce58418d94568c41ac94d4d87969363
>>
>> >
>> > As you mentioned that it doesn't makes sense to use Qt WebKit without
>> https support, do you mean it would result in any security bugs/CVEs if we
>> use such configuration?
>>
>> No, it just won't support https. If you don't need it, it's fine to use,
>> though you won't be able to open most of sites.
>>
>>
>> --
>> Regards,
>> Konstantin
>>
>
<>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-07-31 Thread Ramakanth Kesireddy
Hello Konstantin,

Thanks a lot for the quick response.
As we need to show the generated html content with css stylesheet or
printer with generated pdf from QWebview, it is fine not to use https
support.

However, there are issues with Qtwebkit test failures which fails to load
the css file and apply the stylesheet with buttons.
I added the details in the
https://forum.qt.io/topic/117470/qtwebkit-test-failures-to-load-setuserstylesheeturl-qurl-fromlocalfile-css

and attaching the webkit test failures on target.

Please let me know if there are known patches for the test failures or
loading of css stylesheet issues from QWebview.

Best Regards,
Ramakanth.

On Fri, 31 Jul, 2020, 10:53 Konstantin Tokarev,  wrote:

>
>
> 31.07.2020, 07:42, "Ramakanth Kesireddy" :
> > Hello Konstantin,
> >
> > Sorry responding late on the old thread.
> >
> > As we need to upgrade openssl version to 1.1 which is not compatible
> with Qt 5.6.3.,
> > Could you please provide the compilation patch that you created before
> so that Qt WebKit could be built without https support.
>
> It was pushed already.
>
> https://github.com/qtwebkit/qtwebkit/commit/e7ec14144ce58418d94568c41ac94d4d87969363
>
> >
> > As you mentioned that it doesn't makes sense to use Qt WebKit without
> https support, do you mean it would result in any security bugs/CVEs if we
> use such configuration?
>
> No, it just won't support https. If you don't need it, it's fine to use,
> though you won't be able to open most of sites.
>
>
> --
> Regards,
> Konstantin
>


test_qwebview.log
Description: Binary data


tst_qwebpage.log
Description: Binary data
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-07-30 Thread Konstantin Tokarev


31.07.2020, 07:42, "Ramakanth Kesireddy" :
> Hello Konstantin,
>
> Sorry responding late on the old thread.
>
> As we need to upgrade openssl version to 1.1 which is not compatible with Qt 
> 5.6.3.,
> Could you please provide the compilation patch that you created before so 
> that Qt WebKit could be built without https support.

It was pushed already.
https://github.com/qtwebkit/qtwebkit/commit/e7ec14144ce58418d94568c41ac94d4d87969363

>
> As you mentioned that it doesn't makes sense to use Qt WebKit without https 
> support, do you mean it would result in any security bugs/CVEs if we use such 
> configuration?

No, it just won't support https. If you don't need it, it's fine to use, though 
you won't be able to open most of sites.


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-07-30 Thread Ramakanth Kesireddy
Hello Konstantin,

Sorry responding late on the old thread.

As we need to upgrade openssl version to 1.1 which is not compatible with
Qt 5.6.3.,
Could you please provide the compilation patch that you created before so
that Qt WebKit could be built without https support.

As you mentioned that it doesn't makes sense to use Qt WebKit without https
support, do you mean it would result in any security bugs/CVEs if we use
such configuration?

Best Regards,
Ramakanth

On Mon, 4 May, 2020, 00:17 Konstantin Tokarev,  wrote:

> This error means that your Qt is configured without https support. I've
> made a patch that fixes compilation error, however it probably doesn't make
> much sense to use such configuration with QtWebKit.
>
> 01.05.2020, 16:52, "Ramakanth Kesireddy" :
> > Hi ,
> >
> > Thanks for your email.Finally I got cmake successful after building Qt
> sensors and Qt positioning.
> >
> > However, make failed as below:
> >
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/CookieJarQt.cpp:129:49:
> warning: unused parameter ‘session’ [-Wunused-parameter]
> >  bool getRawCookies(const NetworkStorageSession& session, const URL&
> /*firstParty*/, const URL& /*url*/, Vector& rawCookies)
> >  ^
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/NetworkStateNotifierQt.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ProxyServerQt.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QNetworkReplyHandler.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QtMIMETypeSniffer.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceHandleQt.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:
> In member function ‘bool QtMIMETypeSniffer::sniff()’:
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:51:55:
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]
> >  if (!isReplyFinished && m_reply->bytesAvailable() <
> m_sniffer.dataSize())
> >^
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:
> In member function ‘virtual qint64
> WebCore::FormDataIODevice::readData(char*, qint64)’:
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:198:32:
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]
> >  if (m_currentDelta == element.m_data.size())
> > ^
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceResponseQt.cpp.o
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:
> In static member function ‘static bool
> WebCore::ResourceRequest::alpnIsSupported()’:
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:68:12:
> error: ‘QSslSocket’ has not been declared
> >  return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
> > ^
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/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
> >
> > Here is the configure line with -no-openssl:
> >
> > ./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng
> -sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip
> qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip
> qtdatavis3d -skip qtdoc -skip qtdeclarative -skip qtgamepad -skip
> qtgraphicaleffects -skip qtimageformats -skip qtnetworkauth -skip
> qtmacextras -skip qtpurchasing -skip qtmultimedia -skip qtquickcontrols
> -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-06-02 Thread Ramakanth Kesireddy
Hello Konstantin,

Could you please let me know if there is next release available QtWebkit
alpha5 which includes all the patches?

Appreciate your help in this regard.

Thanks and Regards,
Ramakanth
On Mon, 4 May, 2020, 11:57 Konstantin Tokarev,  wrote:

>
>
> 04.05.2020, 07:13, "Ramakanth Kesireddy" :
> > Thanks Konstantin for the quick response and fix.
> >
> > I shall apply the patch in the Qt webkit sources. Can you let me know if
> these patches shall be part of
> https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4?
>
> They will be a part of next release
>
> > Also if I need to install the QtWebkit includes and libs in the
> /usr/local/Qt-5.12.8, do I need to pass CMAKE_INSTALL_PREFIX =
> /usr/local/Qt-5.12.8 in cmake -DPORT=Qt -DCMAKE_BUILD_TYPE=Release
> -DQt5_DIR=/usr/local/Qt-5.12.8/lib/cmake/Qt5 -DENABLE_WEBKIT2=OFF
> -DENABLE_OPENGL=OFF -DENABLE_GEOLOCATION=OFF
> -DENABLE_DEVICE_ORIENTATION=OFF ../../qtwebkit or it installs by default?
>
> If your Qt prefix is /usr/local/Qt-5.12.8, it should be used by default,
> however you may want to check value of CMAKE_INSTALL_PREFIX in
> CMakeCache.txt (or with visual tool like ccmake or cmake-gui)
>
> >
> > Best Regards,
> > Ramakanth
> >
> > On Mon, May 4, 2020 at 9:25 AM Konstantin Tokarev 
> wrote:
> >> Patch https://0x0.st/i2Ls.txt should fix it
> >>
> >> 04.05.2020, 05:11, "Ramakanth Kesireddy" :
> >>> Hi Konstantin,
> >>>
> >>> Thanks for your mail.
> >>>
> >>> I enabled -ssl in the configure line and rebuild Qtwebkit sources with
> cmake. It passed the https support error. But it throws below error:
> >>>
> >>> Scanning dependencies of target QtTestBrowser_automoc
> >>> [ 98%] Automatic moc for target QtTestBrowser
> >>> Generating qttestbrowser.moc
> >>> Generating moc_cookiejar.cpp
> >>> Generating moc_fpstimer.cpp
> >>> Generating moc_launcherwindow.cpp
> >>> Generating moc_locationedit.cpp
> >>> Generating moc_mainwindow.cpp
> >>> Generating moc_urlloader.cpp
> >>> Generating moc_webinspector.cpp
> >>> Generating moc_webpage.cpp
> >>> Generating moc_webview.cpp
> >>> [ 98%] Built target QtTestBrowser_automoc
> >>> [ 98%] Generating qrc_QtTestBrowser.cpp
> >>> Scanning dependencies of target QtTestBrowser
> >>> [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
> >>> [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
> >>> [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:
> In member function ‘void LauncherWindow::initializeView()’:
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:174:73:
> error: ‘toggleQGLWidgetViewport’ was not declared in this scope
> >>>
>  toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
> >>>
>^
> >>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:117:
> recipe for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o'
> failed
> >>> make[2]: ***
> [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o]
> Error 1
> >>> CMakeFiles/Makefile2:2030: recipe for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
> >>> make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all]
> Error 2
> >>> Makefile:160: recipe for target 'all' failed
> >>> make: *** [all] Error 2
> >>>
> >>> Please suggest in this regard.
> >>>
> >>> Best Regards,
> >>> Ramakanth
> >>>
> >>> On Mon, May 4, 2020 at 12:17 AM Konstantin Tokarev 
> wrote:
>  This error means that your Qt is configured without https support.
> I've made a patch that fixes compilation error, however it probably doesn't
> make much sense to use such configuration with QtWebKit.
> 
>  01.05.2020, 16:52, "Ramakanth Kesireddy" :
> > Hi ,
> >
> > Thanks for your email.Finally I got cmake successful after building
> Qt sensors and Qt positioning.
> >
> > However, make failed as below:
> >
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/CookieJarQt.cpp:129:49:
> warning: unused parameter ‘session’ [-Wunused-parameter]
> >  bool getRawCookies(const NetworkStorageSession& session, const URL&
> /*firstParty*/, const URL& /*url*/, Vector& rawCookies)
> >  ^
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/NetworkStateNotifierQt.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ProxyServerQt.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QNetworkReplyHandler.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QtMIMETypeSniffer.cpp.o
> > [ 76%] Building CXX object
> 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-27 Thread Ramakanth Kesireddy
Hello Konstantin,

Since we need to pull the latest Qt 5.212 alpha sources with patches fixed
using qt.io, Could you please share the sources to pick from?

As CVE fixes are mentioned in https://wiki.qt.io/Qt_5.12.8_Change_Files,
Can you share the change files of QtWebkit 5.212 containing the CVE fixes.

Thanks and Regards,
Ramakanth

On Mon, May 18, 2020 at 9:39 AM Ramakanth Kesireddy 
wrote:

> Hello Konstantin,
>
> Could you please let me know incase there are any known CVEs or security
> bugs in QtWebkit 5.212 Alpha branch or all found are fixed?
>
> Best Regards,
> Ramakanth
>
> On Thu, 14 May, 2020, 10:58 Ramakanth Kesireddy, 
> wrote:
>
>> Could you please share the 5.212 branch incase it is synced with qt.io?
>>
>> Best Regards,
>> Ramakanth
>>
>> On Sun, 10 May, 2020, 11:23 Konstantin Tokarev, 
>> wrote:
>>
>>>
>>>
>>> 10.05.2020, 08:50, "Ramakanth Kesireddy" :
>>> > Instead of Alpha sources, can you let me know if there are any final
>>> sources from 5.212 branch?
>>>
>>> You can use tip of qtwebkit-5.212 branch on github, it includes fixes
>>> for issues you've reported.
>>> It wasn't synced with 5.212 branch at qt.io yet, but it will be soon.
>>>
>>> --
>>> Regards,
>>> Konstantin
>>>
>>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-17 Thread Ramakanth Kesireddy
Hello Konstantin,

Could you please let me know incase there are any known CVEs or security
bugs in QtWebkit 5.212 Alpha branch or all found are fixed?

Best Regards,
Ramakanth

On Thu, 14 May, 2020, 10:58 Ramakanth Kesireddy, 
wrote:

> Could you please share the 5.212 branch incase it is synced with qt.io?
>
> Best Regards,
> Ramakanth
>
> On Sun, 10 May, 2020, 11:23 Konstantin Tokarev,  wrote:
>
>>
>>
>> 10.05.2020, 08:50, "Ramakanth Kesireddy" :
>> > Instead of Alpha sources, can you let me know if there are any final
>> sources from 5.212 branch?
>>
>> You can use tip of qtwebkit-5.212 branch on github, it includes fixes for
>> issues you've reported.
>> It wasn't synced with 5.212 branch at qt.io yet, but it will be soon.
>>
>> --
>> Regards,
>> Konstantin
>>
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-13 Thread Ramakanth Kesireddy
Could you please share the 5.212 branch incase it is synced with qt.io?

Best Regards,
Ramakanth

On Sun, 10 May, 2020, 11:23 Konstantin Tokarev,  wrote:

>
>
> 10.05.2020, 08:50, "Ramakanth Kesireddy" :
> > Instead of Alpha sources, can you let me know if there are any final
> sources from 5.212 branch?
>
> You can use tip of qtwebkit-5.212 branch on github, it includes fixes for
> issues you've reported.
> It wasn't synced with 5.212 branch at qt.io yet, but it will be soon.
>
> --
> Regards,
> Konstantin
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-11 Thread Konstantin Tokarev


11.05.2020, 13:41, "Konstantin Tokarev" :
> 11.05.2020, 07:17, "Ramakanth Kesireddy" :
>>  Hi Konstantin,
>>
>>  Yes I donot need multimedia support. So disabled video and web audio as 
>> mentioned. However, got the below error:
>>
>>  CMake Error at 
>> /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 
>> (message):
>>    Could NOT find Hyphen (missing: HYPHEN_INCLUDE_DIR HYPHEN_LIBRARIES)
>>  Call Stack (most recent call first):
>>    /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 
>> (_FPHSA_FAILURE_MESSAGE)
>>    Source/cmake/FindHyphen.cmake:37 (find_package_handle_standard_args)
>>    Source/cmake/OptionsQt.cmake:842 (find_package)
>>    Source/cmake/WebKitCommon.cmake:51 (include)
>>    CMakeLists.txt:137 (include)
>>
>>  So used the below cmake options to disable -DUSE_LIBHYPHEN:
>>
>>  cmake -DPORT=Qt -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Linux 
>> -DCMAKE_SYSTEM_PROCESSOR=arm 
>> -DCMAKE_SYSROOT=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi
>>  
>> -DCMAKE_C_COMPILER=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc
>>  
>> -DCMAKE_CXX_COMPILER=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++
>>  
>> -DCMAKE_INSTALL_PREFIX=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/local/Qt-5.12.8
>>  -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER 
>> -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY 
>> -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY 
>> -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY 
>> -DQt5_DIR=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/local/Qt-5.12.8/lib/cmake/Qt5
>>  -DENABLE_WEBKIT2=OFF -DENABLE_OPENGL=OFF -DENABLE_GEOLOCATION=OFF 
>> -DENABLE_DEVICE_ORIENTATION=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF 
>> -DUSE_LIBHYPHEN=OFF ../../qtwebkit
>>
>>  Can you let me know if hyphen support is added recently in Qtwebkit 5.212 
>> unlike in Qtwebkit 5.5?
>
> Yes
>
>>  If hyphen support is disabled, it shall not do line break in the html 
>> content?
>
> It won't support automatic hyphenation feature in CSS. Lines will always be 
> broken on word boundaries.

FWIW, official Windows and macOS binaries for now are shipped with disabled 
libhyphen because of its non-portable use of data files.

-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-11 Thread Konstantin Tokarev


11.05.2020, 07:17, "Ramakanth Kesireddy" :
> Hi Konstantin,
>
> Yes I donot need multimedia support. So disabled video and web audio as 
> mentioned. However, got the below error:
>
> CMake Error at 
> /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 
> (message):
>   Could NOT find Hyphen (missing: HYPHEN_INCLUDE_DIR HYPHEN_LIBRARIES)
> Call Stack (most recent call first):
>   /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 
> (_FPHSA_FAILURE_MESSAGE)
>   Source/cmake/FindHyphen.cmake:37 (find_package_handle_standard_args)
>   Source/cmake/OptionsQt.cmake:842 (find_package)
>   Source/cmake/WebKitCommon.cmake:51 (include)
>   CMakeLists.txt:137 (include)
>
> So used the below cmake options to disable -DUSE_LIBHYPHEN:
>
> cmake -DPORT=Qt -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Linux 
> -DCMAKE_SYSTEM_PROCESSOR=arm 
> -DCMAKE_SYSROOT=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi
>  
> -DCMAKE_C_COMPILER=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc
>  
> -DCMAKE_CXX_COMPILER=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++
>  
> -DCMAKE_INSTALL_PREFIX=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/local/Qt-5.12.8
>  -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER 
> -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY 
> -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY 
> -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY 
> -DQt5_DIR=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/local/Qt-5.12.8/lib/cmake/Qt5
>  -DENABLE_WEBKIT2=OFF -DENABLE_OPENGL=OFF -DENABLE_GEOLOCATION=OFF 
> -DENABLE_DEVICE_ORIENTATION=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF 
> -DUSE_LIBHYPHEN=OFF ../../qtwebkit
>
> Can you let me know if hyphen support is added recently in Qtwebkit 5.212 
> unlike in Qtwebkit 5.5?

Yes

> If hyphen support is disabled, it shall not do line break in the html content?

It won't support automatic hyphenation feature in CSS. Lines will always be 
broken on word boundaries.



-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-10 Thread Ramakanth Kesireddy
Hi Konstantin,

Yes I donot need multimedia support. So disabled video and web audio as
mentioned. However, got the below error:

CMake Error at
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
  Could NOT find Hyphen (missing: HYPHEN_INCLUDE_DIR HYPHEN_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
  Source/cmake/FindHyphen.cmake:37 (find_package_handle_standard_args)
  Source/cmake/OptionsQt.cmake:842 (find_package)
  Source/cmake/WebKitCommon.cmake:51 (include)
  CMakeLists.txt:137 (include)

So used the below cmake options to disable -DUSE_LIBHYPHEN:

cmake -DPORT=Qt -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Linux
-DCMAKE_SYSTEM_PROCESSOR=arm
-DCMAKE_SYSROOT=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi
-DCMAKE_C_COMPILER=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc
-DCMAKE_CXX_COMPILER=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++
-DCMAKE_INSTALL_PREFIX=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/local/Qt-5.12.8
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY
-DQt5_DIR=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/local/Qt-5.12.8/lib/cmake/Qt5
-DENABLE_WEBKIT2=OFF -DENABLE_OPENGL=OFF -DENABLE_GEOLOCATION=OFF
-DENABLE_DEVICE_ORIENTATION=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF
-DUSE_LIBHYPHEN=OFF ../../qtwebkit

Can you let me know if hyphen support is added recently in Qtwebkit 5.212
unlike in Qtwebkit 5.5?
If hyphen support is disabled, it shall not do line break in the html
content?

Also let me know if the above options would work for cross-compilation.

Thanks and Regards,
Ramakanth

On Mon, May 11, 2020 at 4:34 AM Konstantin Tokarev 
wrote:

>
>
> 10.05.2020, 19:42, "Ramakanth Kesireddy" :
> > Hello Konstantin,
> >
> > I could use cmake to configure for 32 bit and install QtWebkit 32 bit
> lib on Ubuntu.
> >
> > However, cmake cross-compilation failed and throws below errors while
> configuring Qt Webkit.
> >
> > Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY
> RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.3.0", minimum required
> is "1.9")
> >
> > 
> > 
> > -- Found GStreamer:
> GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES
> (Required is at least version "1.0.3")
> > CMake Error at Source/cmake/OptionsQt.cmake:816 (message):
> >   WebAudio requires the audio and fft GStreamer libraries.  Please check
> your
> >   gst-plugins-base installation.
> > Call Stack (most recent call first):
> >   Source/cmake/WebKitCommon.cmake:51 (include)
> >   CMakeLists.txt:137 (include)
> >
> > Please suggest in this regard.
>
> You are missing GStreamer. If you don't need multimedia support you should
> use -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF
>
>
> --
> Regards,
> Konstantin
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-10 Thread Konstantin Tokarev


10.05.2020, 19:42, "Ramakanth Kesireddy" :
> Hello Konstantin,
>
> I could use cmake to configure for 32 bit and install QtWebkit 32 bit lib on 
> Ubuntu.
>
> However, cmake cross-compilation failed and throws below errors while 
> configuring Qt Webkit.
>
> Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY 
> RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.3.0", minimum required is 
> "1.9")
>
> 
> 
> -- Found GStreamer: 
> GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES
>  (Required is at least version "1.0.3")
> CMake Error at Source/cmake/OptionsQt.cmake:816 (message):
>   WebAudio requires the audio and fft GStreamer libraries.  Please check your
>   gst-plugins-base installation.
> Call Stack (most recent call first):
>   Source/cmake/WebKitCommon.cmake:51 (include)
>   CMakeLists.txt:137 (include)
>
> Please suggest in this regard.

You are missing GStreamer. If you don't need multimedia support you should use 
-DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-10 Thread Ramakanth Kesireddy
Hello Konstantin,

I could use cmake to configure for 32 bit and install QtWebkit 32 bit lib
on Ubuntu.

However, cmake cross-compilation failed and throws below errors while
configuring Qt Webkit.

Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY
RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.3.0", minimum required
is "1.9")



-- Found GStreamer:
GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES
(Required is at least version "1.0.3")
CMake Error at Source/cmake/OptionsQt.cmake:816 (message):
  WebAudio requires the audio and fft GStreamer libraries.  Please check
your
  gst-plugins-base installation.
Call Stack (most recent call first):
  Source/cmake/WebKitCommon.cmake:51 (include)
  CMakeLists.txt:137 (include)

Please suggest in this regard.

Best Regards,
Ramakanth



On Thu, May 7, 2020 at 3:45 AM Konstantin Tokarev  wrote:

>
>
> 06.05.2020, 20:13, "Ramakanth Kesireddy" :
> > Hi Konstantin,
> >
> > Thanks a lot for your email. The patch works.
> >
> > A quick Couple of questions:
> >
> > 1) As I installed 32 bit Qt binaries on Ubuntu 16.04 using multi-lib
> package, do we need to pass any cmake options so that it installs 32 bit
> QtWebkit libs? If so, could you please let me know?
>
> You should be able to do this by setting CFLAGS=-m32 and CXXFLAGS=-m32
> environment variables before running cmake first time.
> See also
> https://stackoverflow.com/questions/51637965/cmake-create-and-link-32bit-and-64bit-versions-of-library/51647547#51647547
> and other resources on cmake
>
> >
> > 2) What would be the cmake options to use sysroot and cross compiler
> tool chain for configuring QtWebkit using cmake and install on target?
>
>
> https://cmake.org/cmake/help/v3.6/manual/cmake-toolchains.7.html#cross-compiling-for-linux
>
> >
> > Appreciate your help in this regard.
> >
> > Best Regards,
> > Ramakanth
> >
>
>
> --
> Regards,
> Konstantin
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-09 Thread Konstantin Tokarev


10.05.2020, 08:50, "Ramakanth Kesireddy" :
> Instead of Alpha sources, can you let me know if there are any final sources 
> from 5.212 branch?

You can use tip of qtwebkit-5.212 branch on github, it includes fixes for 
issues you've reported.
It wasn't synced with 5.212 branch at qt.io yet, but it will be soon.

-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-09 Thread Ramakanth Kesireddy
Instead of Alpha sources, can you let me know if there are any final
sources from 5.212 branch?

Best Regards,
Ramakanth

On Sun, 10 May, 2020, 10:37 Konstantin Tokarev,  wrote:

>
>
> 10.05.2020, 05:57, "Ramakanth Kesireddy" :
> > Hi Konstantin,
> >
> > Can you let me know if the sources
> https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4 
> would
> be compatible for both Qt 5.12.8 LTS and Qt 5.15 LTS sources
>
> Yes, they are compatible with Qt >= 5.4 (though using versions older than
> 5.12 is not recommended)
>
> --
> Regards,
> Konstantin
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-09 Thread Konstantin Tokarev


10.05.2020, 05:57, "Ramakanth Kesireddy" :
> Hi Konstantin,
>
> Can you let me know if the sources 
> https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4 
> would be compatible for both Qt 5.12.8 LTS and Qt 5.15 LTS sources

Yes, they are compatible with Qt >= 5.4 (though using versions older than 5.12 
is not recommended)

-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-09 Thread Ramakanth Kesireddy
Hi Konstantin,

Can you let me know if the sources
https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4 would
be compatible for both Qt 5.12.8 LTS and Qt 5.15 LTS sources or we need to
fetch sources from other path?

Best Regards,
Ramakanth

On Sat, 9 May, 2020, 20:34 Konstantin Tokarev,  wrote:

>
>
> 09.05.2020, 07:16, "Ramakanth Kesireddy" :
> > Hi Konstantin,
> >
> > Thanks a lot for your mail.
> >
> > Can we use QtWebkit open sources from 5.212 branch if we go with Qt
> 5.12.8 or Qt 5.15 LTS commercial sources?
>
> Yes, but you'll have to comply with terms of LGPL 2.
> https://webkit.org/licensing-webkit/
>
> > If so, do you recommend to use QtWebkit sources from  or any other
> official sources
> > from master or stable branch?
> >
> > Best Regards,
> > Ramakanth
> >
> > ------ Forwarded message -----
> > From: Konstantin Tokarev 
> > Date: Thu, 7 May, 2020, 03:45
> > Subject: Re: [webkit-qt] QtWebkit 5.212 issue
> > To: Ramakanth Kesireddy 
> > Cc: Silvio Frischknecht ,
> webkit-qt@lists.webkit.org 
> >
> > 06.05.2020, 20:13, "Ramakanth Kesireddy" :
> >> Hi Konstantin,
> >>
> >> Thanks a lot for your email. The patch works.
> >>
> >> A quick Couple of questions:
> >>
> >> 1) As I installed 32 bit Qt binaries on Ubuntu 16.04 using multi-lib
> package, do we need to pass any cmake options so that it installs 32 bit
> QtWebkit libs? If so, could you please let me know?
> >
> > You should be able to do this by setting CFLAGS=-m32 and CXXFLAGS=-m32
> environment variables before running cmake first time.
> > See also
> https://stackoverflow.com/questions/51637965/cmake-create-and-link-32bit-and-64bit-versions-of-library/51647547#51647547
> and other resources on cmake
> >
> >>
> >> 2) What would be the cmake options to use sysroot and cross compiler
> tool chain for configuring QtWebkit using cmake and install on target?
> >
> >
> https://cmake.org/cmake/help/v3.6/manual/cmake-toolchains.7.html#cross-compiling-for-linux
> >
> >>
> >> Appreciate your help in this regard.
> >>
> >> Best Regards,
> >> Ramakanth
> >>
> >
> > --
> > Regards,
> > Konstantin
>
>
> --
> Regards,
> Konstantin
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-09 Thread Konstantin Tokarev


09.05.2020, 07:16, "Ramakanth Kesireddy" :
> Hi Konstantin,
>
> Thanks a lot for your mail.
>
> Can we use QtWebkit open sources from 5.212 branch if we go with Qt 5.12.8 or 
> Qt 5.15 LTS commercial sources?

Yes, but you'll have to comply with terms of LGPL 2. 
https://webkit.org/licensing-webkit/

> If so, do you recommend to use QtWebkit sources from 
> https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4 or 
> any other official sources
> from master or stable branch?
>
> Best Regards,
> Ramakanth
>
> -- Forwarded message -
> From: Konstantin Tokarev 
> Date: Thu, 7 May, 2020, 03:45
> Subject: Re: [webkit-qt] QtWebkit 5.212 issue
> To: Ramakanth Kesireddy 
> Cc: Silvio Frischknecht , webkit-qt@lists.webkit.org 
> 
>
> 06.05.2020, 20:13, "Ramakanth Kesireddy" :
>> Hi Konstantin,
>>
>> Thanks a lot for your email. The patch works.
>>
>> A quick Couple of questions:
>>
>> 1) As I installed 32 bit Qt binaries on Ubuntu 16.04 using multi-lib 
>> package, do we need to pass any cmake options so that it installs 32 bit 
>> QtWebkit libs? If so, could you please let me know?
>
> You should be able to do this by setting CFLAGS=-m32 and CXXFLAGS=-m32 
> environment variables before running cmake first time.
> See also 
> https://stackoverflow.com/questions/51637965/cmake-create-and-link-32bit-and-64bit-versions-of-library/51647547#51647547
>  and other resources on cmake
>
>>
>> 2) What would be the cmake options to use sysroot and cross compiler tool 
>> chain for configuring QtWebkit using cmake and install on target?
>
> https://cmake.org/cmake/help/v3.6/manual/cmake-toolchains.7.html#cross-compiling-for-linux
>
>>
>> Appreciate your help in this regard.
>>
>> Best Regards,
>> Ramakanth
>>
>
> --
> Regards,
> Konstantin


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-08 Thread Ramakanth Kesireddy
Hi Konstantin,

Thanks a lot for your mail.

Can we use QtWebkit open sources from 5.212 branch if we go with Qt 5.12.8
or Qt 5.15 LTS commercial sources?
If so, do you recommend to use QtWebkit sources from
https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4 or
any other official sources
from master or stable branch?

Best Regards,
Ramakanth

-- Forwarded message -
From: Konstantin Tokarev 
Date: Thu, 7 May, 2020, 03:45
Subject: Re: [webkit-qt] QtWebkit 5.212 issue
To: Ramakanth Kesireddy 
Cc: Silvio Frischknecht ,
webkit-qt@lists.webkit.org 




06.05.2020, 20:13, "Ramakanth Kesireddy" :
> Hi Konstantin,
>
> Thanks a lot for your email. The patch works.
>
> A quick Couple of questions:
>
> 1) As I installed 32 bit Qt binaries on Ubuntu 16.04 using multi-lib
package, do we need to pass any cmake options so that it installs 32 bit
QtWebkit libs? If so, could you please let me know?

You should be able to do this by setting CFLAGS=-m32 and CXXFLAGS=-m32
environment variables before running cmake first time.
See also
https://stackoverflow.com/questions/51637965/cmake-create-and-link-32bit-and-64bit-versions-of-library/51647547#51647547
and other resources on cmake

>
> 2) What would be the cmake options to use sysroot and cross compiler tool
chain for configuring QtWebkit using cmake and install on target?

https://cmake.org/cmake/help/v3.6/manual/cmake-toolchains.7.html#cross-compiling-for-linux

>
> Appreciate your help in this regard.
>
> Best Regards,
> Ramakanth
>


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-06 Thread Konstantin Tokarev


06.05.2020, 20:13, "Ramakanth Kesireddy" :
> Hi Konstantin,
>
> Thanks a lot for your email. The patch works.
>
> A quick Couple of questions:
>
> 1) As I installed 32 bit Qt binaries on Ubuntu 16.04 using multi-lib package, 
> do we need to pass any cmake options so that it installs 32 bit QtWebkit 
> libs? If so, could you please let me know?

You should be able to do this by setting CFLAGS=-m32 and CXXFLAGS=-m32 
environment variables before running cmake first time.
See also 
https://stackoverflow.com/questions/51637965/cmake-create-and-link-32bit-and-64bit-versions-of-library/51647547#51647547
 and other resources on cmake

>
> 2) What would be the cmake options to use sysroot and cross compiler tool 
> chain for configuring QtWebkit using cmake and install on target?

https://cmake.org/cmake/help/v3.6/manual/cmake-toolchains.7.html#cross-compiling-for-linux

>
> Appreciate your help in this regard.
>
> Best Regards,
> Ramakanth
>


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-06 Thread Ramakanth Kesireddy
Hi Konstantin,

Thanks a lot for your email. The patch works.


A quick Couple of questions:

1) As I installed 32 bit Qt binaries on Ubuntu 16.04 using multi-lib
package, do we need to pass any cmake options so that it installs 32 bit
QtWebkit libs? If so, could you please let me know?

2) What would be the cmake options to use sysroot and cross compiler tool
chain for configuring QtWebkit using cmake and install on target?

Appreciate your help in this regard.

Best Regards,
Ramakanth

On Wed, 6 May, 2020, 12:24 Konstantin Tokarev,  wrote:

> Please try https://0x0.st/i2UU.txt
>
> 06.05.2020, 06:36, "Ramakanth Kesireddy" :
>
> Can anyone let me know if the error is due to QtOpenGL module not
> installed in the Qt binary installations as opengl is disabled in configure
> line
> and disabled in cmake?
>
> Let me know if there is any patch to be applied further to resolve the
> error.
>
> Best Regards,
> Ramakanth
>
> On Mon, May 4, 2020 at 9:27 PM Ramakanth Kesireddy 
> wrote:
>
> Hi Konstantin,
>
> After applying the patch using patch command, it throws the below error:
>
> [100%] Built target tst_qwebsecurityorigin
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/qttestbrowser.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/urlloader.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/utils.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/webpage.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/webview.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/qrc_QtTestBrowser.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.
> In file included from
> /home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/moc_launcherwindow.cpp:9:0,
>  from
> /home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/QtTestBrowser_automoc.cpp:4:
> /home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/../../../../qtwebkit/Tools/QtTestBrowser/launcherwindow.h:39:30:
> fatal error: QtOpenGL/QGLWidget: No such file or directory
> compilation terminated.
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:333: recipe
> for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.o'
> failed
> make[2]: ***
> [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs
> CMakeFiles/Makefile2:2030: recipe for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
> make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Let me know if am missing anything in this regard.
>
> Best Regards,
> Ramakanth
>
> On Mon, May 4, 2020 at 12:50 PM Ramakanth Kesireddy 
> wrote:
>
> Hi Konstantin,
>
> Could you please let me know if the below patch applied is correct or not?
>
> #ifndef QT_NO_OPENGL
> if (!m_windowOptions.useQOpenGLWidgetViewport)
> toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
> //#ifdef QT_OPENGL_LIB
> if (!m_windowOptions.useQGLWidgetViewport)
>
> toggleQOpenGLWidgetViewport(m_windowOptions.useQOpenGLWidgetViewport);
> #endif
>
> Best Regards,
> Ramakanth
>
> On Mon, May 4, 2020 at 9:25 AM Konstantin Tokarev 
> wrote:
>
> Patch https://0x0.st/i2Ls.txt should fix it
>
> 04.05.2020, 05:11, "Ramakanth Kesireddy" :
> > Hi Konstantin,
> >
> > Thanks for your mail.
> >
> > I enabled -ssl in the configure line and rebuild Qtwebkit sources with
> cmake. It passed the https support error. But it throws below error:
> >
> > Scanning dependencies of target QtTestBrowser_automoc
> > [ 98%] Automatic moc for target QtTestBrowser
> > Generating qttestbrowser.moc
> > Generating moc_cookiejar.cpp
> > Generating moc_fpstimer.cpp
> > Generating moc_launcherwindow.cpp
> > Generating moc_locationedit.cpp
> > Generating moc_mainwindow.cpp
> > Generating moc_urlloader.cpp
> > Generating moc_webinspector.cpp
> > Generating moc_webpage.cpp
> > Generating moc_webview.cpp
> > [ 98%] Built target QtTestBrowser_automoc
> > [ 98%] Generating qrc_QtTestBrowser.cpp
> > Scanning dependencies of target QtTestBrowser
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:
> In member function ‘void LauncherWindow::initializeView()’:
> >
> 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-06 Thread Konstantin Tokarev
Please try https://0x0.st/i2UU.txt 06.05.2020, 06:36, "Ramakanth Kesireddy" :Can anyone let me know if the error is due to QtOpenGL module not installed in the Qt binary installations as opengl is disabled in configure lineand disabled in cmake? Let me know if there is any patch to be applied further to resolve the error. Best Regards,Ramakanth On Mon, May 4, 2020 at 9:27 PM Ramakanth Kesireddy  wrote:Hi Konstantin, After applying the patch using patch command, it throws the below error: [100%] Built target tst_qwebsecurityorigin[100%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/qttestbrowser.cpp.o[100%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/urlloader.cpp.o[100%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/utils.cpp.o[100%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/webpage.cpp.o[100%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/webview.cpp.o[100%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/qrc_QtTestBrowser.cpp.o[100%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.In file included from /home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/moc_launcherwindow.cpp:9:0,                 from /home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/QtTestBrowser_automoc.cpp:4:/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/../../../../qtwebkit/Tools/QtTestBrowser/launcherwindow.h:39:30: fatal error: QtOpenGL/QGLWidget: No such file or directorycompilation terminated.Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:333: recipe for target 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.o' failedmake[2]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.o] Error 1make[2]: *** Waiting for unfinished jobsCMakeFiles/Makefile2:2030: recipe for target 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failedmake[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all] Error 2Makefile:160: recipe for target 'all' failedmake: *** [all] Error 2 Let me know if am missing anything in this regard. Best Regards,Ramakanth On Mon, May 4, 2020 at 12:50 PM Ramakanth Kesireddy  wrote:Hi Konstantin, Could you please let me know if the below patch applied is correct or not? #ifndef QT_NO_OPENGL        if (!m_windowOptions.useQOpenGLWidgetViewport)            toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);//#ifdef QT_OPENGL_LIB        if (!m_windowOptions.useQGLWidgetViewport)            toggleQOpenGLWidgetViewport(m_windowOptions.useQOpenGLWidgetViewport);#endif Best Regards,Ramakanth On Mon, May 4, 2020 at 9:25 AM Konstantin Tokarev  wrote:Patch https://0x0.st/i2Ls.txt should fix it

04.05.2020, 05:11, "Ramakanth Kesireddy" :
> Hi Konstantin,
>
> Thanks for your mail.
>
> I enabled -ssl in the configure line and rebuild Qtwebkit sources with cmake. It passed the https support error. But it throws below error:
>
> Scanning dependencies of target QtTestBrowser_automoc
> [ 98%] Automatic moc for target QtTestBrowser
> Generating qttestbrowser.moc
> Generating moc_cookiejar.cpp
> Generating moc_fpstimer.cpp
> Generating moc_launcherwindow.cpp
> Generating moc_locationedit.cpp
> Generating moc_mainwindow.cpp
> Generating moc_urlloader.cpp
> Generating moc_webinspector.cpp
> Generating moc_webpage.cpp
> Generating moc_webview.cpp
> [ 98%] Built target QtTestBrowser_automoc
> [ 98%] Generating qrc_QtTestBrowser.cpp
> Scanning dependencies of target QtTestBrowser
> [ 98%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
> [ 98%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
> [ 98%] Building CXX object Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp: In member function ‘void LauncherWindow::initializeView()’:
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:174:73: error: ‘toggleQGLWidgetViewport’ was not declared in this scope
>              toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
>                                                                          ^
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:117: recipe for target 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o' failed
> make[2]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o] Error 1
> CMakeFiles/Makefile2:2030: recipe for target 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
> make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-05 Thread Ramakanth Kesireddy
Can anyone let me know if the error is due to QtOpenGL module not installed
in the Qt binary installations as opengl is disabled in configure line
and disabled in cmake?

Let me know if there is any patch to be applied further to resolve the
error.

Best Regards,
Ramakanth

On Mon, May 4, 2020 at 9:27 PM Ramakanth Kesireddy 
wrote:

> Hi Konstantin,
>
> After applying the patch using patch command, it throws the below error:
>
> [100%] Built target tst_qwebsecurityorigin
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/qttestbrowser.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/urlloader.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/utils.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/webpage.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/webview.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/qrc_QtTestBrowser.cpp.o
> [100%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.
> In file included from
> /home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/moc_launcherwindow.cpp:9:0,
>  from
> /home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/QtTestBrowser_automoc.cpp:4:
> /home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/../../../../qtwebkit/Tools/QtTestBrowser/launcherwindow.h:39:30:
> fatal error: QtOpenGL/QGLWidget: No such file or directory
> compilation terminated.
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:333: recipe
> for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.o'
> failed
> make[2]: ***
> [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs
> CMakeFiles/Makefile2:2030: recipe for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
> make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Let me know if am missing anything in this regard.
>
> Best Regards,
> Ramakanth
>
> On Mon, May 4, 2020 at 12:50 PM Ramakanth Kesireddy 
> wrote:
>
>> Hi Konstantin,
>>
>> Could you please let me know if the below patch applied is correct or not?
>>
>> #ifndef QT_NO_OPENGL
>> if (!m_windowOptions.useQOpenGLWidgetViewport)
>> toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
>> //#ifdef QT_OPENGL_LIB
>> if (!m_windowOptions.useQGLWidgetViewport)
>>
>> toggleQOpenGLWidgetViewport(m_windowOptions.useQOpenGLWidgetViewport);
>> #endif
>>
>> Best Regards,
>> Ramakanth
>>
>> On Mon, May 4, 2020 at 9:25 AM Konstantin Tokarev 
>> wrote:
>>
>>> Patch https://0x0.st/i2Ls.txt should fix it
>>>
>>> 04.05.2020, 05:11, "Ramakanth Kesireddy" :
>>> > Hi Konstantin,
>>> >
>>> > Thanks for your mail.
>>> >
>>> > I enabled -ssl in the configure line and rebuild Qtwebkit sources with
>>> cmake. It passed the https support error. But it throws below error:
>>> >
>>> > Scanning dependencies of target QtTestBrowser_automoc
>>> > [ 98%] Automatic moc for target QtTestBrowser
>>> > Generating qttestbrowser.moc
>>> > Generating moc_cookiejar.cpp
>>> > Generating moc_fpstimer.cpp
>>> > Generating moc_launcherwindow.cpp
>>> > Generating moc_locationedit.cpp
>>> > Generating moc_mainwindow.cpp
>>> > Generating moc_urlloader.cpp
>>> > Generating moc_webinspector.cpp
>>> > Generating moc_webpage.cpp
>>> > Generating moc_webview.cpp
>>> > [ 98%] Built target QtTestBrowser_automoc
>>> > [ 98%] Generating qrc_QtTestBrowser.cpp
>>> > Scanning dependencies of target QtTestBrowser
>>> > [ 98%] Building CXX object
>>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
>>> > [ 98%] Building CXX object
>>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
>>> > [ 98%] Building CXX object
>>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
>>> >
>>> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:
>>> In member function ‘void LauncherWindow::initializeView()’:
>>> >
>>> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:174:73:
>>> error: ‘toggleQGLWidgetViewport’ was not declared in this scope
>>> >
>>>  toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
>>> >
>>>^
>>> > Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:117:
>>> recipe for target
>>> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o'
>>> failed
>>> > make[2]: ***
>>> [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o]
>>> Error 1
>>> > CMakeFiles/Makefile2:2030: recipe for target
>>> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-04 Thread Ramakanth Kesireddy
Hi Konstantin,

After applying the patch using patch command, it throws the below error:

[100%] Built target tst_qwebsecurityorigin
[100%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/qttestbrowser.cpp.o
[100%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/urlloader.cpp.o
[100%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/utils.cpp.o
[100%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/webpage.cpp.o
[100%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/webview.cpp.o
[100%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/qrc_QtTestBrowser.cpp.o
[100%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.
In file included from
/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/moc_launcherwindow.cpp:9:0,
 from
/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/QtTestBrowser_automoc.cpp:4:
/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/Tools/QtTestBrowser/../../../../qtwebkit/Tools/QtTestBrowser/launcherwindow.h:39:30:
fatal error: QtOpenGL/QGLWidget: No such file or directory
compilation terminated.
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:333: recipe for
target
'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.o'
failed
make[2]: ***
[Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/QtTestBrowser_automoc.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs
CMakeFiles/Makefile2:2030: recipe for target
'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Let me know if am missing anything in this regard.

Best Regards,
Ramakanth

On Mon, May 4, 2020 at 12:50 PM Ramakanth Kesireddy 
wrote:

> Hi Konstantin,
>
> Could you please let me know if the below patch applied is correct or not?
>
> #ifndef QT_NO_OPENGL
> if (!m_windowOptions.useQOpenGLWidgetViewport)
> toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
> //#ifdef QT_OPENGL_LIB
> if (!m_windowOptions.useQGLWidgetViewport)
>
> toggleQOpenGLWidgetViewport(m_windowOptions.useQOpenGLWidgetViewport);
> #endif
>
> Best Regards,
> Ramakanth
>
> On Mon, May 4, 2020 at 9:25 AM Konstantin Tokarev 
> wrote:
>
>> Patch https://0x0.st/i2Ls.txt should fix it
>>
>> 04.05.2020, 05:11, "Ramakanth Kesireddy" :
>> > Hi Konstantin,
>> >
>> > Thanks for your mail.
>> >
>> > I enabled -ssl in the configure line and rebuild Qtwebkit sources with
>> cmake. It passed the https support error. But it throws below error:
>> >
>> > Scanning dependencies of target QtTestBrowser_automoc
>> > [ 98%] Automatic moc for target QtTestBrowser
>> > Generating qttestbrowser.moc
>> > Generating moc_cookiejar.cpp
>> > Generating moc_fpstimer.cpp
>> > Generating moc_launcherwindow.cpp
>> > Generating moc_locationedit.cpp
>> > Generating moc_mainwindow.cpp
>> > Generating moc_urlloader.cpp
>> > Generating moc_webinspector.cpp
>> > Generating moc_webpage.cpp
>> > Generating moc_webview.cpp
>> > [ 98%] Built target QtTestBrowser_automoc
>> > [ 98%] Generating qrc_QtTestBrowser.cpp
>> > Scanning dependencies of target QtTestBrowser
>> > [ 98%] Building CXX object
>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
>> > [ 98%] Building CXX object
>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
>> > [ 98%] Building CXX object
>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
>> >
>> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:
>> In member function ‘void LauncherWindow::initializeView()’:
>> >
>> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:174:73:
>> error: ‘toggleQGLWidgetViewport’ was not declared in this scope
>> >
>>  toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
>> >
>>  ^
>> > Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:117: recipe
>> for target
>> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o'
>> failed
>> > make[2]: ***
>> [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o]
>> Error 1
>> > CMakeFiles/Makefile2:2030: recipe for target
>> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
>> > make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all]
>> Error 2
>> > Makefile:160: recipe for target 'all' failed
>> > make: *** [all] Error 2
>> >
>> > Please suggest in this regard.
>> >
>> > Best Regards,
>> > Ramakanth
>> >
>> > On Mon, May 4, 2020 at 12:17 AM Konstantin Tokarev 
>> wrote:
>> >> This error means that your Qt is configured without https support.
>> I've made a patch that fixes compilation error, however it probably doesn't
>> make much sense to 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-04 Thread Ramakanth Kesireddy
Hi Konstantin,

Could you please let me know if the below patch applied is correct or not?

#ifndef QT_NO_OPENGL
if (!m_windowOptions.useQOpenGLWidgetViewport)
toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
//#ifdef QT_OPENGL_LIB
if (!m_windowOptions.useQGLWidgetViewport)

toggleQOpenGLWidgetViewport(m_windowOptions.useQOpenGLWidgetViewport);
#endif

Best Regards,
Ramakanth

On Mon, May 4, 2020 at 9:25 AM Konstantin Tokarev  wrote:

> Patch https://0x0.st/i2Ls.txt should fix it
>
> 04.05.2020, 05:11, "Ramakanth Kesireddy" :
> > Hi Konstantin,
> >
> > Thanks for your mail.
> >
> > I enabled -ssl in the configure line and rebuild Qtwebkit sources with
> cmake. It passed the https support error. But it throws below error:
> >
> > Scanning dependencies of target QtTestBrowser_automoc
> > [ 98%] Automatic moc for target QtTestBrowser
> > Generating qttestbrowser.moc
> > Generating moc_cookiejar.cpp
> > Generating moc_fpstimer.cpp
> > Generating moc_launcherwindow.cpp
> > Generating moc_locationedit.cpp
> > Generating moc_mainwindow.cpp
> > Generating moc_urlloader.cpp
> > Generating moc_webinspector.cpp
> > Generating moc_webpage.cpp
> > Generating moc_webview.cpp
> > [ 98%] Built target QtTestBrowser_automoc
> > [ 98%] Generating qrc_QtTestBrowser.cpp
> > Scanning dependencies of target QtTestBrowser
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:
> In member function ‘void LauncherWindow::initializeView()’:
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:174:73:
> error: ‘toggleQGLWidgetViewport’ was not declared in this scope
> >
>  toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
> >
>  ^
> > Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:117: recipe
> for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o'
> failed
> > make[2]: ***
> [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o]
> Error 1
> > CMakeFiles/Makefile2:2030: recipe for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
> > make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all]
> Error 2
> > Makefile:160: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > Please suggest in this regard.
> >
> > Best Regards,
> > Ramakanth
> >
> > On Mon, May 4, 2020 at 12:17 AM Konstantin Tokarev 
> wrote:
> >> This error means that your Qt is configured without https support. I've
> made a patch that fixes compilation error, however it probably doesn't make
> much sense to use such configuration with QtWebKit.
> >>
> >> 01.05.2020, 16:52, "Ramakanth Kesireddy" :
> >>> Hi ,
> >>>
> >>> Thanks for your email.Finally I got cmake successful after building Qt
> sensors and Qt positioning.
> >>>
> >>> However, make failed as below:
> >>>
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/CookieJarQt.cpp:129:49:
> warning: unused parameter ‘session’ [-Wunused-parameter]
> >>>  bool getRawCookies(const NetworkStorageSession& session, const URL&
> /*firstParty*/, const URL& /*url*/, Vector& rawCookies)
> >>>  ^
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/NetworkStateNotifierQt.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ProxyServerQt.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QNetworkReplyHandler.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QtMIMETypeSniffer.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceHandleQt.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:
> In member function ‘bool QtMIMETypeSniffer::sniff()’:
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:51:55:
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]
> >>>  if (!isReplyFinished && m_reply->bytesAvailable() <
> m_sniffer.dataSize())
> >>>^
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:
> In member function ‘virtual qint64
> WebCore::FormDataIODevice::readData(char*, qint64)’:
> >>>
> 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-04 Thread Konstantin Tokarev


04.05.2020, 07:13, "Ramakanth Kesireddy" :
> Thanks Konstantin for the quick response and fix.
>
> I shall apply the patch in the Qt webkit sources. Can you let me know if 
> these patches shall be part of  
> https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4?

They will be a part of next release

> Also if I need to install the QtWebkit includes and libs in the 
> /usr/local/Qt-5.12.8, do I need to pass CMAKE_INSTALL_PREFIX = 
> /usr/local/Qt-5.12.8 in cmake -DPORT=Qt -DCMAKE_BUILD_TYPE=Release 
> -DQt5_DIR=/usr/local/Qt-5.12.8/lib/cmake/Qt5 -DENABLE_WEBKIT2=OFF 
> -DENABLE_OPENGL=OFF -DENABLE_GEOLOCATION=OFF -DENABLE_DEVICE_ORIENTATION=OFF 
> ../../qtwebkit or it installs by default?

If your Qt prefix is /usr/local/Qt-5.12.8, it should be used by default, 
however you may want to check value of CMAKE_INSTALL_PREFIX in CMakeCache.txt 
(or with visual tool like ccmake or cmake-gui)

>
> Best Regards,
> Ramakanth
>
> On Mon, May 4, 2020 at 9:25 AM Konstantin Tokarev  wrote:
>> Patch https://0x0.st/i2Ls.txt should fix it
>>
>> 04.05.2020, 05:11, "Ramakanth Kesireddy" :
>>> Hi Konstantin,
>>>
>>> Thanks for your mail.
>>>
>>> I enabled -ssl in the configure line and rebuild Qtwebkit sources with 
>>> cmake. It passed the https support error. But it throws below error:
>>>
>>> Scanning dependencies of target QtTestBrowser_automoc
>>> [ 98%] Automatic moc for target QtTestBrowser
>>> Generating qttestbrowser.moc
>>> Generating moc_cookiejar.cpp
>>> Generating moc_fpstimer.cpp
>>> Generating moc_launcherwindow.cpp
>>> Generating moc_locationedit.cpp
>>> Generating moc_mainwindow.cpp
>>> Generating moc_urlloader.cpp
>>> Generating moc_webinspector.cpp
>>> Generating moc_webpage.cpp
>>> Generating moc_webview.cpp
>>> [ 98%] Built target QtTestBrowser_automoc
>>> [ 98%] Generating qrc_QtTestBrowser.cpp
>>> Scanning dependencies of target QtTestBrowser
>>> [ 98%] Building CXX object 
>>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
>>> [ 98%] Building CXX object 
>>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
>>> [ 98%] Building CXX object 
>>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
>>> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:
>>>  In member function ‘void LauncherWindow::initializeView()’:
>>> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:174:73:
>>>  error: ‘toggleQGLWidgetViewport’ was not declared in this scope
>>>              toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
>>>                                                                          ^
>>> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:117: recipe for 
>>> target 
>>> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o' 
>>> failed
>>> make[2]: *** 
>>> [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o] 
>>> Error 1
>>> CMakeFiles/Makefile2:2030: recipe for target 
>>> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
>>> make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all] Error 2
>>> Makefile:160: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>>
>>> Please suggest in this regard.
>>>
>>> Best Regards,
>>> Ramakanth
>>>
>>> On Mon, May 4, 2020 at 12:17 AM Konstantin Tokarev  
>>> wrote:
 This error means that your Qt is configured without https support. I've 
 made a patch that fixes compilation error, however it probably doesn't 
 make much sense to use such configuration with QtWebKit.

 01.05.2020, 16:52, "Ramakanth Kesireddy" :
> Hi ,
>
> Thanks for your email.Finally I got cmake successful after building Qt 
> sensors and Qt positioning.
>
> However, make failed as below:
>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/CookieJarQt.cpp:129:49:
>  warning: unused parameter ‘session’ [-Wunused-parameter]
>  bool getRawCookies(const NetworkStorageSession& session, const URL& 
> /*firstParty*/, const URL& /*url*/, Vector& rawCookies)
>                                                  ^
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/NetworkStateNotifierQt.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ProxyServerQt.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QNetworkReplyHandler.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QtMIMETypeSniffer.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceHandleQt.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o
> 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-03 Thread Ramakanth Kesireddy
Thanks Konstantin for the quick response and fix.

I shall apply the patch in the Qt webkit sources. Can you let me know if
these patches shall be part of
https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4?
Also if I need to install the QtWebkit includes and libs in the
/usr/local/Qt-5.12.8, do I need to pass CMAKE_INSTALL_PREFIX =
/usr/local/Qt-5.12.8 in cmake -DPORT=Qt -DCMAKE_BUILD_TYPE=Release
-DQt5_DIR=/usr/local/Qt-5.12.8/lib/cmake/Qt5 -DENABLE_WEBKIT2=OFF
-DENABLE_OPENGL=OFF -DENABLE_GEOLOCATION=OFF
-DENABLE_DEVICE_ORIENTATION=OFF ../../qtwebkit or it installs by default?

Best Regards,
Ramakanth






On Mon, May 4, 2020 at 9:25 AM Konstantin Tokarev  wrote:

> Patch https://0x0.st/i2Ls.txt should fix it
>
> 04.05.2020, 05:11, "Ramakanth Kesireddy" :
> > Hi Konstantin,
> >
> > Thanks for your mail.
> >
> > I enabled -ssl in the configure line and rebuild Qtwebkit sources with
> cmake. It passed the https support error. But it throws below error:
> >
> > Scanning dependencies of target QtTestBrowser_automoc
> > [ 98%] Automatic moc for target QtTestBrowser
> > Generating qttestbrowser.moc
> > Generating moc_cookiejar.cpp
> > Generating moc_fpstimer.cpp
> > Generating moc_launcherwindow.cpp
> > Generating moc_locationedit.cpp
> > Generating moc_mainwindow.cpp
> > Generating moc_urlloader.cpp
> > Generating moc_webinspector.cpp
> > Generating moc_webpage.cpp
> > Generating moc_webview.cpp
> > [ 98%] Built target QtTestBrowser_automoc
> > [ 98%] Generating qrc_QtTestBrowser.cpp
> > Scanning dependencies of target QtTestBrowser
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
> > [ 98%] Building CXX object
> Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:
> In member function ‘void LauncherWindow::initializeView()’:
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:174:73:
> error: ‘toggleQGLWidgetViewport’ was not declared in this scope
> >
>  toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
> >
>  ^
> > Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:117: recipe
> for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o'
> failed
> > make[2]: ***
> [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o]
> Error 1
> > CMakeFiles/Makefile2:2030: recipe for target
> 'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
> > make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all]
> Error 2
> > Makefile:160: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > Please suggest in this regard.
> >
> > Best Regards,
> > Ramakanth
> >
> > On Mon, May 4, 2020 at 12:17 AM Konstantin Tokarev 
> wrote:
> >> This error means that your Qt is configured without https support. I've
> made a patch that fixes compilation error, however it probably doesn't make
> much sense to use such configuration with QtWebKit.
> >>
> >> 01.05.2020, 16:52, "Ramakanth Kesireddy" :
> >>> Hi ,
> >>>
> >>> Thanks for your email.Finally I got cmake successful after building Qt
> sensors and Qt positioning.
> >>>
> >>> However, make failed as below:
> >>>
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/CookieJarQt.cpp:129:49:
> warning: unused parameter ‘session’ [-Wunused-parameter]
> >>>  bool getRawCookies(const NetworkStorageSession& session, const URL&
> /*firstParty*/, const URL& /*url*/, Vector& rawCookies)
> >>>  ^
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/NetworkStateNotifierQt.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ProxyServerQt.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QNetworkReplyHandler.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QtMIMETypeSniffer.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceHandleQt.cpp.o
> >>> [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:
> In member function ‘bool QtMIMETypeSniffer::sniff()’:
> >>>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:51:55:
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]
> >>>  if (!isReplyFinished && m_reply->bytesAvailable() <
> m_sniffer.dataSize())
> >>>^
> 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-03 Thread Ramakanth Kesireddy
Hi Konstantin,

Thanks for your mail.

I enabled -ssl in the configure line and rebuild Qtwebkit sources with
cmake. It passed the https support error. But it throws below error:

Scanning dependencies of target QtTestBrowser_automoc
[ 98%] Automatic moc for target QtTestBrowser
Generating qttestbrowser.moc
Generating moc_cookiejar.cpp
Generating moc_fpstimer.cpp
Generating moc_launcherwindow.cpp
Generating moc_locationedit.cpp
Generating moc_mainwindow.cpp
Generating moc_urlloader.cpp
Generating moc_webinspector.cpp
Generating moc_webpage.cpp
Generating moc_webview.cpp
[ 98%] Built target QtTestBrowser_automoc
[ 98%] Generating qrc_QtTestBrowser.cpp
Scanning dependencies of target QtTestBrowser
[ 98%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/cookiejar.cpp.o
[ 98%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/fpstimer.cpp.o
[ 98%] Building CXX object
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o
/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:
In member function ‘void LauncherWindow::initializeView()’:
/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Tools/QtTestBrowser/launcherwindow.cpp:174:73:
error: ‘toggleQGLWidgetViewport’ was not declared in this scope
 toggleQGLWidgetViewport(m_windowOptions.useQGLWidgetViewport);
 ^
Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/build.make:117: recipe for
target
'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o'
failed
make[2]: ***
[Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/launcherwindow.cpp.o]
Error 1
CMakeFiles/Makefile2:2030: recipe for target
'Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all' failed
make[1]: *** [Tools/QtTestBrowser/CMakeFiles/QtTestBrowser.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Please suggest in this regard.

Best Regards,
Ramakanth

On Mon, May 4, 2020 at 12:17 AM Konstantin Tokarev 
wrote:

> This error means that your Qt is configured without https support. I've
> made a patch that fixes compilation error, however it probably doesn't make
> much sense to use such configuration with QtWebKit.
>
> 01.05.2020, 16:52, "Ramakanth Kesireddy" :
> > Hi ,
> >
> > Thanks for your email.Finally I got cmake successful after building Qt
> sensors and Qt positioning.
> >
> > However, make failed as below:
> >
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/CookieJarQt.cpp:129:49:
> warning: unused parameter ‘session’ [-Wunused-parameter]
> >  bool getRawCookies(const NetworkStorageSession& session, const URL&
> /*firstParty*/, const URL& /*url*/, Vector& rawCookies)
> >  ^
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/NetworkStateNotifierQt.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ProxyServerQt.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QNetworkReplyHandler.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QtMIMETypeSniffer.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceHandleQt.cpp.o
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:
> In member function ‘bool QtMIMETypeSniffer::sniff()’:
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:51:55:
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]
> >  if (!isReplyFinished && m_reply->bytesAvailable() <
> m_sniffer.dataSize())
> >^
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:
> In member function ‘virtual qint64
> WebCore::FormDataIODevice::readData(char*, qint64)’:
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:198:32:
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]
> >  if (m_currentDelta == element.m_data.size())
> > ^
> > [ 76%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceResponseQt.cpp.o
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:
> In static member function ‘static bool
> WebCore::ResourceRequest::alpnIsSupported()’:
> >
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:68:12:

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-03 Thread Konstantin Tokarev
This error means that your Qt is configured without https support. I've made a 
patch that fixes compilation error, however it probably doesn't make much sense 
to use such configuration with QtWebKit.

01.05.2020, 16:52, "Ramakanth Kesireddy" :
> Hi ,
>
> Thanks for your email.Finally I got cmake successful after building Qt 
> sensors and Qt positioning.
>
> However, make failed as below:
>
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/CookieJarQt.cpp:129:49:
>  warning: unused parameter ‘session’ [-Wunused-parameter]
>  bool getRawCookies(const NetworkStorageSession& session, const URL& 
> /*firstParty*/, const URL& /*url*/, Vector& rawCookies)
>                                                  ^
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/NetworkStateNotifierQt.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ProxyServerQt.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QNetworkReplyHandler.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QtMIMETypeSniffer.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceHandleQt.cpp.o
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:
>  In member function ‘bool QtMIMETypeSniffer::sniff()’:
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:51:55:
>  warning: comparison between signed and unsigned integer expressions 
> [-Wsign-compare]
>      if (!isReplyFinished && m_reply->bytesAvailable() < m_sniffer.dataSize())
>                                                        ^
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:
>  In member function ‘virtual qint64 
> WebCore::FormDataIODevice::readData(char*, qint64)’:
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:198:32:
>  warning: comparison between signed and unsigned integer expressions 
> [-Wsign-compare]
>              if (m_currentDelta == element.m_data.size())
>                                 ^
> [ 76%] Building CXX object 
> Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceResponseQt.cpp.o
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:
>  In static member function ‘static bool 
> WebCore::ResourceRequest::alpnIsSupported()’:
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:68:12:
>  error: ‘QSslSocket’ has not been declared
>      return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
>             ^
> /home/ubuntu/qt-everywhere-src-5.12.8/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
>
> Here is the configure line with -no-openssl:
>
> ./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng 
> -sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip 
> qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip 
> qtdatavis3d -skip qtdoc -skip qtdeclarative -skip qtgamepad -skip 
> qtgraphicaleffects -skip qtimageformats -skip qtnetworkauth -skip qtmacextras 
> -skip qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip 
> qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip 
> qtserialbus -skip qtserialport -skip qtspeech -skip qttools -skip qtwayland 
> -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip qtwebengine -skip 
> qtwinextras -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns 
> -nomake tools -nomake tests -nomake examples -no-use-gold-linker -no-iconv 
> -no-mtdev -dbus -fontconfig -system-freetype -no-libudev -no-openssl -qt-pcre 
> -v
>
> Could you please let me know if the error is because of Qt is not configured 
> with ssl though all dependencies and qt modules mentioned in 
> 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-01 Thread Konstantin Tokarev


01.05.2020, 06:59, "Ramakanth Kesireddy" :
> Hi Konstantin,
>
> Thanks for your mail.
>
> As per  https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux, 
> it has dependency on Qt positioning and sensor modules.
> Since in the configure line, I skipped the modules  using -skip qtlocation 
> -skip qtsensors, Could you please let me know if Qtwebkit has mandatory 
> dependency on these modules or can be disabled with  -DENABLE_LOCATION=OFF and
>    -DENABLE_SENSORS=OFF ?

-DENABLE_GEOLOCATION=OFF -DENABLE_DEVICE_ORIENTATION=OFF


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-05-01 Thread Ramakanth Kesireddy
Hi ,

Thanks for your email.Finally I got cmake successful after building Qt
sensors and Qt positioning.

However, make failed as below:


/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/CookieJarQt.cpp:129:49:
warning: unused parameter ‘session’ [-Wunused-parameter]
 bool getRawCookies(const NetworkStorageSession& session, const URL&
/*firstParty*/, const URL& /*url*/, Vector& rawCookies)
 ^
[ 76%] Building CXX object
Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/NetworkStateNotifierQt.cpp.o
[ 76%] Building CXX object
Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ProxyServerQt.cpp.o
[ 76%] Building CXX object
Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QNetworkReplyHandler.cpp.o
[ 76%] Building CXX object
Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/QtMIMETypeSniffer.cpp.o
[ 76%] Building CXX object
Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceHandleQt.cpp.o
[ 76%] Building CXX object
Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceRequestQt.cpp.o
/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:
In member function ‘bool QtMIMETypeSniffer::sniff()’:
/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QtMIMETypeSniffer.cpp:51:55:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
 if (!isReplyFinished && m_reply->bytesAvailable() <
m_sniffer.dataSize())
   ^
/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:
In member function ‘virtual qint64
WebCore::FormDataIODevice::readData(char*, qint64)’:
/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:198:32:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
 if (m_currentDelta == element.m_data.size())
^
[ 76%] Building CXX object
Source/WebCore/CMakeFiles/WebCore.dir/platform/network/qt/ResourceResponseQt.cpp.o
/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:
In static member function ‘static bool
WebCore::ResourceRequest::alpnIsSupported()’:
/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:68:12:
error: ‘QSslSocket’ has not been declared
 return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
^
/home/ubuntu/qt-everywhere-src-5.12.8/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

Here is the configure line with -no-openssl:

./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng
-sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip
qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip
qtdatavis3d -skip qtdoc -skip qtdeclarative -skip qtgamepad -skip
qtgraphicaleffects -skip qtimageformats -skip qtnetworkauth -skip
qtmacextras -skip qtpurchasing -skip qtmultimedia -skip qtquickcontrols
-skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml
-skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools -skip
qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip
qtwebengine -skip qtwinextras -skip qtandroidextras -skip qtx11extras -skip
qtxmlpatterns -nomake tools -nomake tests -nomake examples
-no-use-gold-linker -no-iconv -no-mtdev -dbus -fontconfig -system-freetype
-no-libudev -no-openssl -qt-pcre -v

Could you please let me know if the error is because of Qt is not
configured with ssl though all dependencies and qt modules mentioned in
https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux
are installed or missing anything in this regard?

Thanks and Regards,
Ramakanth

On Fri, May 1, 2020 at 10:27 AM Ramakanth Kesireddy 
wrote:

> Looks like QtPositioning need to be installed as it throws below errors
> while running cmake with opengl and webkit2 disabled.
>
>
>  -- Could NOT find Dwz (missing:  DWZ_EXECUTABLE) (Required is at least
> version "0.13")
> -- Found WebP: /usr/include
> CMake Error at 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-30 Thread Ramakanth Kesireddy
Looks like QtPositioning need to be installed as it throws below errors
while running cmake with opengl and webkit2 disabled.


 -- Could NOT find Dwz (missing:  DWZ_EXECUTABLE) (Required is at least
version "0.13")
-- Found WebP: /usr/include
CMake Error at /usr/local/Qt-5.12.8/lib/cmake/Qt5/Qt5Config.cmake:28
(find_package):
  Could not find a package configuration file provided by "Qt5Positioning"
  with any of the following names:

Qt5PositioningConfig.cmake
qt5positioning-config.cmake

  Add the installation prefix of "Qt5Positioning" to CMAKE_PREFIX_PATH or
set
  "Qt5Positioning_DIR" to a directory containing one of the above files.  If
  "Qt5Positioning" provides a separate development package or SDK, be sure
it
  has been installed.
Call Stack (most recent call first):
  Source/cmake/OptionsQt.cmake:646 (find_package)
  Source/cmake/WebKitCommon.cmake:51 (include)
  CMakeLists.txt:137 (include)

Best Regards,
Ramakanth

On Fri, May 1, 2020 at 9:29 AM Ramakanth Kesireddy 
wrote:

> Hi Konstantin,
>
> Thanks for your mail.
>
> As per
> https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux, it
> has dependency on Qt positioning and sensor modules.
> Since in the configure line, I skipped the modules  using -skip qtlocation
> -skip qtsensors, Could you please let me know if Qtwebkit has
> mandatory dependency on these modules or can be disabled with
> -DENABLE_LOCATION=OFF and
>-DENABLE_SENSORS=OFF ?
>
> Best Regards,
> Ramakanth
>
>
> On Thu, Apr 30, 2020 at 10:43 PM Konstantin Tokarev 
> wrote:
>
>>
>>
>> 30.04.2020, 19:29, "Ramakanth Kesireddy" :
>> > I need to pass below options in the cmake configure options,right?
>>
>> Yes
>>
>> >
>> > So QtWebkit cannot be build along with Qt 5.12.8 sources unlike with Qt
>> 5.6.3 earlier as the build is being supported only with cmake and needs to
>> be built with cmake on Qt installed binaries?
>>
>> Yes
>>
>>
>> --
>> Regards,
>> Konstantin
>>
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-30 Thread Ramakanth Kesireddy
Hi Konstantin,

Thanks for your mail.

As per  https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux,
it has dependency on Qt positioning and sensor modules.
Since in the configure line, I skipped the modules  using -skip qtlocation
-skip qtsensors, Could you please let me know if Qtwebkit has
mandatory dependency on these modules or can be disabled with
-DENABLE_LOCATION=OFF and
   -DENABLE_SENSORS=OFF ?

Best Regards,
Ramakanth


On Thu, Apr 30, 2020 at 10:43 PM Konstantin Tokarev 
wrote:

>
>
> 30.04.2020, 19:29, "Ramakanth Kesireddy" :
> > I need to pass below options in the cmake configure options,right?
>
> Yes
>
> >
> > So QtWebkit cannot be build along with Qt 5.12.8 sources unlike with Qt
> 5.6.3 earlier as the build is being supported only with cmake and needs to
> be built with cmake on Qt installed binaries?
>
> Yes
>
>
> --
> Regards,
> Konstantin
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-30 Thread Konstantin Tokarev


30.04.2020, 19:29, "Ramakanth Kesireddy" :
> I need to pass below options in the cmake configure options,right?

Yes

>
> So QtWebkit cannot be build along with Qt 5.12.8 sources unlike with Qt 5.6.3 
> earlier as the build is being supported only with cmake and needs to be built 
> with cmake on Qt installed binaries?

Yes


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-30 Thread Ramakanth Kesireddy
I need to pass below options in the cmake configure options,right?

So QtWebkit cannot be build along with Qt 5.12.8 sources unlike with Qt
5.6.3 earlier as the build is being supported only with cmake and needs to
be built with cmake on Qt installed binaries?

On Thu, 30 Apr, 2020, 19:54 Konstantin Tokarev,  wrote:

>
>
> 30.04.2020, 16:56, "Ramakanth Kesireddy" :
> > Hi Konstantin,
> >
> > Is there any dependency of Qt WebKit on Qtwebeockets or any other
> modules as few modules like Qtwebeockets are skipped in installation of Qt
> libraries along with no opengl in the configure line since there is no GPU
> on embedded device. But do I need to enable opengl on Ubuntu 16.04
> desktop..Please let me know in this regard.
>
> See previous answer. Also, if you are not using QML API you can build with
> -DENABLE_WEBKIT2=OFF
> which implicitly disables QtWebSockets dependency as well as other stuff
> you don't need.
>
>
>
> --
> Regards,
> Konstantin
>
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-30 Thread Konstantin Tokarev


30.04.2020, 16:56, "Ramakanth Kesireddy" :
> Hi Konstantin,
>
> Is there any dependency of Qt WebKit on Qtwebeockets or any other modules as 
> few modules like Qtwebeockets are skipped in installation of Qt libraries 
> along with no opengl in the configure line since there is no GPU on embedded 
> device. But do I need to enable opengl on Ubuntu 16.04 desktop..Please let me 
> know in this regard.

See previous answer. Also, if you are not using QML API you can build with 
-DENABLE_WEBKIT2=OFF
which implicitly disables QtWebSockets dependency as well as other stuff you 
don't need.



-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-30 Thread Konstantin Tokarev


29.04.2020, 14:12, "Ramakanth Kesireddy" :
> Thanks a lot..It resolves the issue. But it throws below error further. Do we 
> required to configure qt with opengl inorder to build qtwebkit?
>
>   CMake Error at Source/cmake/OptionsQt.cmake:592 (message):
>   Qt with OpenGL support is required for ENABLE_OPENGL

This message means that you have to disable OpenGL support with 
-DENABLE_OPENGL=OFF if your Qt doesn't have it.
You might get similar messages for other optional features if you are missing 
stuff.


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-30 Thread Ramakanth Kesireddy
Hi Konstantin,

Is there any dependency of Qt WebKit on Qtwebeockets or any other modules
as few modules like Qtwebeockets are skipped in installation of Qt
libraries along with no opengl in the configure line since there is no GPU
on embedded device. But do I need to enable opengl on Ubuntu 16.04
desktop..Please let me know in this regard.


Best Regards,
Ramakanth

On Wed, 29 Apr, 2020, 16:40 Ramakanth Kesireddy, 
wrote:

> Thanks a lot..It resolves the issue. But it throws below error further. Do
> we required to configure qt with opengl inorder to build qtwebkit?
>
>   CMake Error at Source/cmake/OptionsQt.cmake:592 (message):
>   Qt with OpenGL support is required for ENABLE_OPENGL
> Call Stack (most recent call first):
>   Source/cmake/WebKitCommon.cmake:51 (include)
>   CMakeLists.txt:137 (include)
>
>
> -- Configuring incomplete, errors occurred!
> See also
> "/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
> See also
> "/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/CMakeFiles/CMakeError.log".
>
> Attached is the cmake error log.
>
> Here is the configure line:
> ./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng
> -sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip
> qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip
> qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip
> qtimageformats -skip qtnetworkauth -skip qtlocation -skip qtmacextras -skip
> qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip
> qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip
> qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools
> -skip qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip
> qtwinextras -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns
> -nomake tools -nomake tests -nomake examples -no-use-gold-linker -no-iconv
> -no-mtdev -dbus -fontconfig -system-freetype -no-libudev -no-openssl
> -qt-pcre -no-qml-debug -v
>
> Any help is appreciated.
>
> Best Regards,
> Ramakanth
>
> On Wed, Apr 29, 2020 at 12:20 PM Silvio Frischknecht <
> sfrischkne...@dizmo.com> wrote:
>
>> buildtools like cmake always look for pkg-config (.pc) files or header
>> files. In debian, you need to install dev packages (libsqlite3-dev in this
>> case).
>>
>> Make sure you have the following files:
>>
>> /usr/lib/x86_64-linux-gnu/pkgconfig/sqlite3.pc
>>
>> /usr/include/sqlite3.h
>> On 29.04.20 07:55, Ramakanth Kesireddy wrote:
>>
>> Hi,
>>
>> I used the https://github.com/qtwebkit/qtwebkit
>> /releases/tag/qtwebkit-5.212.0-alpha4 along with Qt 5.12.8 sources but
>> Qt webkit is not built and installed.
>> It looks like Qtwebkit 5.212 needs to be build as a separate module using
>> cmake but is no longer possible to build along with Qt 5.12.8 sources using
>> qmake(or configure).
>>
>> Also do you recommend Qt 5.212 alpha4 for the official Qt 5.12.8 sources?
>>
>> Below are the errors thrown while running cmake though sqlite is
>> installed after following the instructions provided in
>>
>> https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux and
>> dependencies installed.
>>
>> Here is the configure line used on Ubuntu 16.04:
>>
>> ./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng
>> -sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip
>> qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip
>> qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip
>> qtimageformats -skip qtnetworkauth -skip qtlocation -skip qtmacextras -skip
>> qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip
>> qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip
>> qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools
>> -skip qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip
>> qtwinextras -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns
>> -nomake tools -nomake tests -nomake examples -no-use-gold-linker -no-iconv
>> -no-mtdev -dbus -fontconfig -system-freetype -no-libudev -no-openssl
>> -qt-pcre -no-qml-debug -v
>>
>>  ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ cmake
>> -DPORT=Qt -DCMAKE_BUILD_TYPE=Release
>> -DQt5_DIR=/usr/local/Qt-5.12.8/lib/cmake/Qt5 ../../qtwebkit/
>> -- The C compiler identification is GNU 5.4.0
>> -- The CXX compiler identification is GNU 5.4.0
>> -- Check for working C compiler: /usr/bin/cc
>> -- Check for working C compiler: /usr/bin/cc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Detecting C compile features
>> -- Detecting C compile features - done
>> -- Check for working CXX compiler: /usr/bin/c++
>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> -- Detecting CXX compile features
>> -- 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-29 Thread Ramakanth Kesireddy
Thanks a lot..It resolves the issue. But it throws below error further. Do
we required to configure qt with opengl inorder to build qtwebkit?

  CMake Error at Source/cmake/OptionsQt.cmake:592 (message):
  Qt with OpenGL support is required for ENABLE_OPENGL
Call Stack (most recent call first):
  Source/cmake/WebKitCommon.cmake:51 (include)
  CMakeLists.txt:137 (include)


-- Configuring incomplete, errors occurred!
See also
"/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
See also
"/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/CMakeFiles/CMakeError.log".

Attached is the cmake error log.

Here is the configure line:
./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng
-sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip
qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip
qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip
qtimageformats -skip qtnetworkauth -skip qtlocation -skip qtmacextras -skip
qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip
qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip
qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools
-skip qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip
qtwinextras -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns
-nomake tools -nomake tests -nomake examples -no-use-gold-linker -no-iconv
-no-mtdev -dbus -fontconfig -system-freetype -no-libudev -no-openssl
-qt-pcre -no-qml-debug -v

Any help is appreciated.

Best Regards,
Ramakanth

On Wed, Apr 29, 2020 at 12:20 PM Silvio Frischknecht <
sfrischkne...@dizmo.com> wrote:

> buildtools like cmake always look for pkg-config (.pc) files or header
> files. In debian, you need to install dev packages (libsqlite3-dev in this
> case).
>
> Make sure you have the following files:
>
> /usr/lib/x86_64-linux-gnu/pkgconfig/sqlite3.pc
>
> /usr/include/sqlite3.h
> On 29.04.20 07:55, Ramakanth Kesireddy wrote:
>
> Hi,
>
> I used the https://github.com/qtwebkit/qtwebkit
> /releases/tag/qtwebkit-5.212.0-alpha4 along with Qt 5.12.8 sources but Qt
> webkit is not built and installed.
> It looks like Qtwebkit 5.212 needs to be build as a separate module using
> cmake but is no longer possible to build along with Qt 5.12.8 sources using
> qmake(or configure).
>
> Also do you recommend Qt 5.212 alpha4 for the official Qt 5.12.8 sources?
>
> Below are the errors thrown while running cmake though sqlite is installed
> after following the instructions provided in
>
> https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux and
> dependencies installed.
>
> Here is the configure line used on Ubuntu 16.04:
>
> ./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng
> -sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip
> qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip
> qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip
> qtimageformats -skip qtnetworkauth -skip qtlocation -skip qtmacextras -skip
> qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip
> qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip
> qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools
> -skip qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip
> qtwinextras -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns
> -nomake tools -nomake tests -nomake examples -no-use-gold-linker -no-iconv
> -no-mtdev -dbus -fontconfig -system-freetype -no-libudev -no-openssl
> -qt-pcre -no-qml-debug -v
>
>  ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ cmake
> -DPORT=Qt -DCMAKE_BUILD_TYPE=Release
> -DQt5_DIR=/usr/local/Qt-5.12.8/lib/cmake/Qt5 ../../qtwebkit/
> -- The C compiler identification is GNU 5.4.0
> -- The CXX compiler identification is GNU 5.4.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Found BISON: /usr/bin/bison (found suitable version "3.0.4", minimum
> required is "2.1")
> -- Found Gperf: /usr/bin/gperf (Required is at least version "3.0.1")
> -- Found Perl: /usr/bin/perl (found suitable version "5.22.1", minimum
> required is "5.10.0")
> -- Found PythonInterp: /usr/bin/python2.7 (found suitable version
> "2.7.12", minimum required is "2.7.0")
> -- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY
> RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.3.0", minimum required
> is 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-29 Thread Silvio Frischknecht
buildtools like cmake always look for pkg-config (.pc) files or header
files. In debian, you need to install dev packages (libsqlite3-dev in
this case).

Make sure you have the following files:

/usr/lib/x86_64-linux-gnu/pkgconfig/sqlite3.pc

/usr/include/sqlite3.h

On 29.04.20 07:55, Ramakanth Kesireddy wrote:
> Hi,
>
> I used
> the https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4
>  
> along
> with Qt 5.12.8 sources but Qt webkit is not built and installed.
> It looks like Qtwebkit 5.212 needs to be build as a separate module
> using cmake but is no longer possible to build along with Qt 5.12.8
> sources using qmake(or configure).
>
> Also do you recommend Qt 5.212 alpha4 for the official Qt 5.12.8 sources?
>
> Below are the errors thrown while running cmake though sqlite is
> installed after following the instructions provided in 
>
> https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux
>  and
> dependencies installed.
>
> Here is the configure line used on Ubuntu 16.04:
>
> ./configure -opensource -confirm-license -qt-libjpeg -qt-zlib
> -qt-libpng -sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip
> qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip
> qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip
> qtgraphicaleffects -skip qtimageformats -skip qtnetworkauth -skip
> qtlocation -skip qtmacextras -skip qtpurchasing -skip qtmultimedia
> -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects
> -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip
> qtserialport -skip qtspeech -skip qttools -skip qtwayland -skip
> qtwebsockets -skip qtwebview -skip qtwebchannel -skip qtwinextras
> -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns -nomake
> tools -nomake tests -nomake examples -no-use-gold-linker -no-iconv
> -no-mtdev -dbus -fontconfig -system-freetype -no-libudev -no-openssl
> -qt-pcre -no-qml-debug -v
>
>  ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ cmake
> -DPORT=Qt -DCMAKE_BUILD_TYPE=Release
> -DQt5_DIR=/usr/local/Qt-5.12.8/lib/cmake/Qt5 ../../qtwebkit/
> -- The C compiler identification is GNU 5.4.0
> -- The CXX compiler identification is GNU 5.4.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Found BISON: /usr/bin/bison (found suitable version "3.0.4",
> minimum required is "2.1")
> -- Found Gperf: /usr/bin/gperf (Required is at least version "3.0.1")
> -- Found Perl: /usr/bin/perl (found suitable version "5.22.1", minimum
> required is "5.10.0")
> -- Found PythonInterp: /usr/bin/python2.7 (found suitable version
> "2.7.12", minimum required is "2.7.0")
> -- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY
> RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.3.0", minimum
> required is "1.9")
> -- Looking for include file features.h
> -- Looking for include file features.h - found
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
> -- Checking for module 'sqlite3'
> --   No package 'sqlite3' found
> CMake Error at
> /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
> (message):
>   Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
> Call Stack (most recent call first):
>   /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388
> (_FPHSA_FAILURE_MESSAGE)
>   Source/cmake/FindSqlite.cmake:62 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>   Source/cmake/OptionsQt.cmake:474 (find_package)
>   Source/cmake/WebKitCommon.cmake:51 (include)
>   CMakeLists.txt:137 (include)
>
>
> -- Configuring incomplete, errors occurred!
>
>
> See also
> "/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
> ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ sqlite
> --version
> sqlite: unknown option: --version
> Use -help for a list of options.
> ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ sqlite3
> --version
> 3.11.0 2016-02-15 17:29:24 3d862f207e3adc00f78066799ac5a8c282430a5f
> ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ sqlite
> --version
> sqlite: unknown option: --version
> Use -help for a list of options.
> ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ sqlite
> SQLite version 2.8.17
> Enter ".help" for instructions
> sqlite> 
>
>
> Any help is appreciated if am missing anything in this regard.

Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-28 Thread Ramakanth Kesireddy
Hi,

I used the https://github.com/qtwebkit/qtwebkit
/releases/tag/qtwebkit-5.212.0-alpha4 along with Qt 5.12.8 sources but Qt
webkit is not built and installed.
It looks like Qtwebkit 5.212 needs to be build as a separate module using
cmake but is no longer possible to build along with Qt 5.12.8 sources using
qmake(or configure).

Also do you recommend Qt 5.212 alpha4 for the official Qt 5.12.8 sources?

Below are the errors thrown while running cmake though sqlite is installed
after following the instructions provided in

https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux and
dependencies installed.

Here is the configure line used on Ubuntu 16.04:

./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng
-sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip
qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip
qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip
qtimageformats -skip qtnetworkauth -skip qtlocation -skip qtmacextras -skip
qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip
qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip
qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools
-skip qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip
qtwinextras -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns
-nomake tools -nomake tests -nomake examples -no-use-gold-linker -no-iconv
-no-mtdev -dbus -fontconfig -system-freetype -no-libudev -no-openssl
-qt-pcre -no-qml-debug -v

 ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ cmake
-DPORT=Qt -DCMAKE_BUILD_TYPE=Release
-DQt5_DIR=/usr/local/Qt-5.12.8/lib/cmake/Qt5 ../../qtwebkit/
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found BISON: /usr/bin/bison (found suitable version "3.0.4", minimum
required is "2.1")
-- Found Gperf: /usr/bin/gperf (Required is at least version "3.0.1")
-- Found Perl: /usr/bin/perl (found suitable version "5.22.1", minimum
required is "5.10.0")
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.12",
minimum required is "2.7.0")
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY
RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.3.0", minimum required
is "1.9")
-- Looking for include file features.h
-- Looking for include file features.h - found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'sqlite3'
--   No package 'sqlite3' found
CMake Error at
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
  Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
  Source/cmake/FindSqlite.cmake:62 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/OptionsQt.cmake:474 (find_package)
  Source/cmake/WebKitCommon.cmake:51 (include)
  CMakeLists.txt:137 (include)


-- Configuring incomplete, errors occurred!


See also
"/home/ubuntu/qt-everywhere-src-5.12.8/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ sqlite
--version
sqlite: unknown option: --version
Use -help for a list of options.
ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ sqlite3
--version
3.11.0 2016-02-15 17:29:24 3d862f207e3adc00f78066799ac5a8c282430a5f
ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ sqlite
--version
sqlite: unknown option: --version
Use -help for a list of options.
ubuntu@ubuntu:~/qt-everywhere-src-5.12.8/WebKitBuild/Release$ sqlite
SQLite version 2.8.17
Enter ".help" for instructions
sqlite>


Any help is appreciated if am missing anything in this regard.

Best Regards,
Ramakanth


On Tue, 28 Apr, 2020, 00:14 Konstantin Tokarev,  wrote:

>
>
> 27.04.2020, 12:24, "Ramakanth Kesireddy" :
> > Hi,
> >
> > Am unable to build Qt WebKit 5.212 sources extracted from
> http://download.qt.io/snapshots/ci/qtwebkit/5.212/latest/src/submodules/
> > as part of Qt 5.12.8 sources.
>
> Hi,
> Please use latest release:
> https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4
> Link above should never be used as its contains many garbage files, and
> even if you use most recently changed, its just snapshot and not
> fully-validated version.
>
> >
> > Earlier, Qt WebKit 5.6.3 had been built successfully 

Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-27 Thread Konstantin Tokarev


27.04.2020, 21:44, "Konstantin Tokarev" :
> 27.04.2020, 12:24, "Ramakanth Kesireddy" :
>>  Hi,
>>
>>  Am unable to build Qt WebKit 5.212 sources extracted from 
>> http://download.qt.io/snapshots/ci/qtwebkit/5.212/latest/src/submodules/
>>  as part of Qt 5.12.8 sources.
>
> Hi,
> Please use latest release: 
> https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4
> Link above should never be used as its contains many garbage files, and even 
> if you use most recently changed, its just snapshot and not fully-validated 
> version.
>
>>  Earlier, Qt WebKit 5.6.3 had been built successfully along with Qt 5.6.3 
>> sources.
>>
>>  Could you please let me know compatible QtWebkit 5.212 sources which would 
>> build along with Qt 5.12.8 sources or QtWebkit  needs to be built as a 
>> separate module using cmake?
>
> Build instructions are referenced in README file, see e.g.
> https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux

Also, make sure that you are building against installed Qt binaries

-- 
Regards,
Konstantin

___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt


Re: [webkit-qt] QtWebkit 5.212 issue

2020-04-27 Thread Konstantin Tokarev


27.04.2020, 12:24, "Ramakanth Kesireddy" :
> Hi,
>
> Am unable to build Qt WebKit 5.212 sources extracted from 
> http://download.qt.io/snapshots/ci/qtwebkit/5.212/latest/src/submodules/
> as part of Qt 5.12.8 sources.

Hi,
Please use latest release: 
https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4
Link above should never be used as its contains many garbage files, and even if 
you use most recently changed, its just snapshot and not fully-validated 
version.

>
> Earlier, Qt WebKit 5.6.3 had been built successfully along with Qt 5.6.3 
> sources.
>
> Could you please let me know compatible QtWebkit 5.212 sources which would 
> build along with Qt 5.12.8 sources or QtWebkit  needs to be built as a 
> separate module using cmake?

Build instructions are referenced in README file, see e.g.
https://github.com/qtwebkit/qtwebkit/wiki/Building-QtWebKit-on-Linux

>
> Appreciate your help in this regard as it fails to build after installing all 
> dependencies for Qt WebKit.
>
> Best Regards,
> Ramakanth
>
> Best Regards,
> Ramakanth
> ,
>
> ___
> webkit-qt mailing list
> webkit-qt@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-qt


-- 
Regards,
Konstantin
___
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt