[Development] QtWebKit is coming back (part 2)
Martin Koller
kollix at aon.at
Thu Jul 27 15:40:43 CEST 2017
On Dienstag, 25. Juli 2017 14:20:28 CEST Konstantin Tokarev wrote:
> >> 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
thanks. I'm just trying this but I get a link failure (error below).
Questions:
- Does QtWebKit allow to disable Qt-Quick alltogether ? I don't need that.
(I had Qt 5.9.1 configured without qtdeclarative, but then the cmake call for QtWebKit already failed)
- Does QtWebKit allow to be compiled as a namespaced/infixed library, as was possible in e.g. Qt 5.5
so that the result is a libQt5WebKitWinCC_OA.so (Qt 5.9.1 is compiled with -qtnamespace WinCC_OA -qtlibinfix WinCC_OA)
../../lib/../Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/API/qt/qquickwebview.cpp.o: In function `QQuickWebViewExperimental::QQuickWebViewExperimental(QQuickWebView*, QQuickWebViewPrivate*)':
qquickwebview.cpp:(.text._ZN25QQuickWebViewExperimentalC2EP13QQuickWebViewP20QQuickWebViewPrivate+0xb6): undefined reference to `WinCC_OA::QQmlWebChannel::QQmlWebChannel(WinCC_OA::QObject*)'
qquickwebview.cpp:(.text._ZN25QQuickWebViewExperimentalC2EP13QQuickWebViewP20QQuickWebViewPrivate+0xfd): undefined reference to `WinCC_OA::QQmlWebChannel::connectTo(WinCC_OA::QObject*)'
../../lib/../Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/API/qt/qquickwebview.cpp.o: In function `QQuickWebViewExperimental::setWebChannel(WinCC_OA::QQmlWebChannel*)':
qquickwebview.cpp:(.text._ZN25QQuickWebViewExperimental13setWebChannelEPN8WinCC_OA14QQmlWebChannelE+0x44): undefined reference to `WinCC_OA::QQmlWebChannel::disconnectFrom(WinCC_OA::QObject*)'
qquickwebview.cpp:(.text._ZN25QQuickWebViewExperimental13setWebChannelEPN8WinCC_OA14QQmlWebChannelE+0x78): undefined reference to `WinCC_OA::QQmlWebChannel::connectTo(WinCC_OA::QObject*)'
collect2: error: ld returned 1 exit status
Source/WebKit/CMakeFiles/WebKit.dir/build.make:2647: recipe for target 'lib/libQt5WebKit.so.5.212.0' failed
--
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
More information about the Development
mailing list