Re: Qt 5.6/QtWebkit (got it, now to build it)

2016-03-21 Thread René J . V . Bertin
Antonio Rojas wrote:


> Besides generating headers with syncqt.pl, you need to backport a patch to
> fix linking to pthread

Yeah, that's on Linux, though I got the impression not everyone had to apply 
the 
patch.

I'm homing in on whatever issue it is that causes my standalone build to fail 
when I do it via my build/packaging scripts and not manually from the shell. 
It's very weird really, because the build works fine through those scripts when 
I 
set up qtwebkit to build as part of the monolithic build as I always used to do.
The trick to that is to use the sources from git, not the "official" release 
tarball.

Oh, and if there's a .git directory in an in-tree build, qmake will invoke 
syncqt for you.

R.

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Qt 5.6/QtWebkit (got it, now to build it)

2016-03-20 Thread Antonio Rojas
René J. V. Bertin wrote:

> I presume there must be at least one member on this list who managed to
> build QtWebKit 5.6.0 (and remembers how)?

See 

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/qt5-webkit

Besides generating headers with syncqt.pl, you need to backport a patch to 
fix linking to pthread
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Qt 5.6/QtWebkit (got it, now to build it)

2016-03-19 Thread René J . V . Bertin
René J. V. Bertin wrote:

>> Webkit packages can be found from here:
>> http://download.qt.io/community_releases/5.6/5.6.0/

I presume there must be at least one member on this list who managed to build 
QtWebKit 5.6.0 (and remembers how)?

Sorry about asking on here, but I'm not getting any answers on the Qt mailing 
list and I'd like to get this over with.

I've now tried several approaches that all led to either header file not found 
errors or symbol not found linker errors:

- shadow build vs. in-tree build (in-tree seems less problematic)
- unpacked the package as qtwebkit inside the main Qt source tree so it builds 
as part of Qt's configure/make/make install monolithic build
- used the installed qmake 5.6.0 inside the qtwebkit-opensource-src-5.6.0 tree, 
on WebKit.pro followed by make
- used the Tools/Scripts/build-webkit script

My latest attempt ended like this, after about 50 minutes :

%> Tools/Scripts/build-webkit --qmake=/opt/local/libexec/qt5/bin/qmake --qt --
release --prefix=/opt/local/libexec/qt5 --install-headers=/opt/local/include/qt5

...

Source/WebKit/qt/WidgetSupport/QtFallbackWebPopup.cpp:29:
Source/WebKit/qt/WidgetApi/qgraphicswebview.h:23:10: fatal error: 
  'QtWebKit/qwebkitglobal.h' file not found
#include 
 ^
1 error generated.
make[2]: *** [.obj/WebKit/qt/WidgetApi/qwebinspector.o] Error 1

That's the exact error (on a different file) I'd seen trying the monolithic 
build. It was suggested that was because the packagers forget to run syncqt on 
the source tree. I tried to figure out how to do that myself, but if I arrived 
at 
the correct invocation something else must be wrong (sync.profile not updated?) 
because it doesn't change the above error.

For now the only partly relevant info I found googling is 
http://comments.gmane.org/gmane.comp.lib.qt.devel/25236 which doesn't appear to 
be very helpful.

Thanks...
René

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel