[Development] QtWebKit is coming back (part 2)

Konstantin Tokarev annulen at yandex.ru
Tue Jul 25 14:20:28 CEST 2017



24.07.2017, 08:33, "Martin Koller" <kollix at aon.at>:
> On Sonntag, 23. Juli 2017 23:45:30 CEST Konstantin Tokarev wrote:
>>  23.07.2017, 23:49, "Martin Koller" <kollix at aon.at>:
>>  > On Mittwoch, 3. Mai 2017 17:03:50 CEST Konstantin Tokarev wrote:
>>  >
>>  >> I'm not sure it would be acceptable, because updated QtWebKit requires full
>>  >> C++11 support in the compiler (gcc >= 4.9, 4.8 possible with disabling some
>>  >> features, or with code changes, which were not done yet).
>>  >
>>  > I'm trying to compile QtWebKit (5.212) on my openSuse 42.2, using the installed
>>  > gcc compiler (4.8.5) and I get:
>>  >
>>  > The WebKit build was disabled for the following reasons:
>>  > * Using gcc version 4.8, but at least gcc version 4.9 is required to build QtWebKit.
>>  >
>>  > So which features can I disable and how ?
>>  >
>>  > Note that gcc 4.8.5 is the std. compiler on the latest official version of openSuse and still
>>  > I can not compile ... :-(
>>
>>  You can compile with GCC 4.8 if IndexedDB and FTL JIT are disabled. However this brings a
>>  degradation of user experience, especially in case of IndexedDB which was supported
>>  in previous versions. Therefore you have 3 options:
>>
>>  1) Disable these features and build limited version using GCC 4.8;
>
> that brings us to the second part of my question which was not answered: how ?
> Is there any qmake or env var I can set ?

Pass -DENABLE_FTL_JIT=OFF -DENABLE_INDEXED_DATABASE=OFF
-DENABLE_DATABASE_PROCESS=OFF to cmake arguments

You should not use qmake in your package, look at [1] for example.

[1] http://pkgs.fedoraproject.org/cgit/rpms/qt5-qtwebkit.git/tree/qt5-qtwebkit.spec

>
> --
> Best regards/Schöne Grüße
>
> Martin
> A: Because it breaks the logical sequence of discussion
> Q: Why is top posting bad?
>
> () ascii ribbon campaign - against html e-mail
> /\ - against proprietary attachments
>
> Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at

-- 
Regards,
Konstantin



More information about the Development mailing list