[Interest] QtWebkit error while building Qt5.12.7 sources

Ramakanth Kesireddy rama.kesi at gmail.com
Sun Apr 26 17:51:54 CEST 2020


Hi,

QtWebkit had been built before with Qt 5.6.3 sources after downloading the
compatible sources along with Qt sources and installed successfully.
However, QtWebkit is not being built with Qt 5.12.8 sources either with
QtWebkit 5.9 or 5.212 branch latest sources.

When I tried to build QtWebkit as a separate module within Qt 5,12.8
sources , it throws below error:-

CMake Error at
/home/ubuntu/qt-everywhere-src-5.12.8/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15
(message):
  The imported target "Qt5::Core" references the file


 "/home/ubuntu/qt-everywhere-src-5.12.8/qtbase/../../../home/ubuntu/qt-everywhere-src-5.12.8/qtbase//mkspecs/linux-g++"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained


 "/home/ubuntu/qt-everywhere-src-5.12.8/qtbase/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):

/home/ubuntu/qt-everywhere-src-5.12.8/qtbase/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50
(_qt5_Core_check_file_exists)

/home/ubuntu/qt-everywhere-src-5.12.8/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:174
(include)

/home/ubuntu/qt-everywhere-src-5.12.8/qtbase/lib/cmake/Qt5/Qt5Config.cmake:28
(find_package)
  Source/cmake/OptionsQt.cmake:169 (find_package)
  Source/cmake/WebKitCommon.cmake:50 (include)
  CMakeLists.txt:137 (include)

Please let me know if am missing something obvious or any dependency in
this regard

Best Regards,
Ramakanth

-- Configuring incomplete, errors occurred!
See also
"/home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/release/CMakeFiles/CMakeOutput.log".
Project ERROR: Running cmake failed
Makefile:222: recipe for target
'sub-Tools-qmake-projects-run_cmake-pro-make_first-ordered' failed
make: *** [sub-Tools-qmake-projects-run_cmake-pro-make_first-ordered] Error
3



On Thu, Apr 23, 2020 at 3:10 PM Ramakanth Kesireddy <rama.kesi at gmail.com>
wrote:

> Hi,
>
> I downloaded the Qt Webkit sources from
> http://download.qt.io/snapshots/ci/qtwebkit/5.212/latest/src/submodules/
> qtwebkit-opensource-src-5.212.tar.xz
> <http://download.qt.io/snapshots/ci/qtwebkit/5.212/latest/src/submodules/qtwebkit-opensource-src-5.212.tar.xz>
> as part of building Qt 5.12.8 sources assuming it shall be compatible.
> However, it didnot build QtWebkit module.
>
> Even building as a separate module, qmake is not successful.
>
> ubuntu at ubuntu:~/qt-everywhere-src-5.12.8/qtwebkit$ qmake
> Cannot read
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/release/Source/WebKit/qt_lib_webkit.pri:
> No such file or directory
> Cannot read
> /home/ubuntu/qt-everywhere-src-5.12.8/qtwebkit/release/Source/WebKit/qt_lib_webkitwidgets.pri:
> No such file or directory
>
> Could you please let me know compatible QtWebkit sources for Qt 5.12.8 LTS
> sources?
>
> Best Regards,
> Ramakanth
>
>
>
> On Thu, 20 Feb, 2020, 19:00 Konstantin Tokarev, <annulen at yandex.ru> wrote:
>
>>
>>
>> 20.02.2020, 08:03, "Ramakanth Kesireddy" <rama.kesi at gmail.com>:
>> > Ok let me try with 5.212..Whether it is compatible with Qt sources
>> starting from 5.6 till the latest 5.12.7 and 5.14?
>>
>> Yes it is.
>> You can also take ready to use binaries compatible with official Qt 5.13
>> from
>> http://download.qt.io/snapshots/ci/qtwebkit/5.212/1571922148/qtwebkit/
>>
>> >
>> > On Wed, 19 Feb, 2020, 22:36 Konstantin Tokarev, <annulen at yandex.ru>
>> wrote:
>> >> 19.02.2020, 10:53, "Thiago Macieira" <thiago.macieira at intel.com>:
>> >>> On Tuesday, 18 February 2020 16:29:13 PST Sze Howe Koh wrote:
>> >>>>  On Wed, 19 Feb 2020 at 08:05, Thiago Macieira <
>> thiago.macieira at intel.com>
>> >>>
>> >>> wrote:
>> >>>>  > There's no good solution for using qtwebkit. You have to stop
>> using it.
>> >>>>
>> >>>>  I was under the impression that Konstantin Tokarev was keeping the
>> Qt
>> >>>>  WebKit sources up-to-date with upstream WebKit, even though it's not
>> >>>>  part of the official Qt releases?
>> >>>
>> >>> Such impression existed and Konstantin did update the release. There
>> are
>> >>> certainly some commits in the repository. But looking at the activity
>> for the
>> >>> past year, almost everything seems to be related to keeping the
>> buildsystem
>> >>> working. I can't find any commit referring to a fixing a security
>> issue.
>> >>
>> >> That's correct, most of the work in last year is targeted to a new
>> branch with updated
>> >> WebKit. However, 5.212 serves its job well, it's compatible with
>> current Qt and is at
>> >> least is strictly better than 5.9 in terms of bugs, features and
>> security. Of course, it
>> >> should be used with caution on untrusted content, because of possible
>> security issues.
>> >>
>> >>>
>> >>> In the end, the 5.212 branch base itself is too old. qtwebkit would
>> need a new
>> >>> base branch off webkit to be a reasonable target and that has not
>> happened.
>> >>>
>> >>> Please, let it die.
>> >>>
>> >>> --
>> >>> Thiago Macieira - thiago.macieira (AT) intel.com
>> >>>   Software Architect - Intel System Software Products
>> >>>
>> >>> _______________________________________________
>> >>> Interest mailing list
>> >>> Interest at qt-project.org
>> >>> https://lists.qt-project.org/listinfo/interest
>> >>
>> >> --
>> >> Regards,
>> >> Konstantin
>> >>
>> >> _______________________________________________
>> >> Interest mailing list
>> >> Interest at qt-project.org
>> >> https://lists.qt-project.org/listinfo/interest
>>
>>
>> --
>> Regards,
>> Konstantin
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200426/be95fb67/attachment.html>


More information about the Interest mailing list