On Tue, Jun 9, 2015 at 7:04 AM Geoffroy Montel <geoffroy.montel...@gmail.com> wrote:
> Dear list, > > I'm using webvfx and I'd like to use flexbox in my CSS. > > The version of QtWebKit which comes with Ubuntu (headless) Server 14.04 > TLS does not seem to support it so I decided to upgrade to QT 5.2 by > installing the following apt packages : > 'qt5-default','libqt5webkit5-dev','qtdeclarative5-dev','qtquick1-5-dev','qtscript5-dev' > > qmake seems to report QT 5.2 is installed > > $ qmake -v > QMake version 3.0 > Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu > > QtWebKit comes with QT so I thought it would do the trick but nope, > flexbox rendering still does not work :( > > I do not know about flexbox, but the WebKit in Qt 5.2 was quite up-to-date for the time it was released, but now there is Qt 5.4 you can use. > Following instructions on https://github.com/mltframework/webvfx I tried > to compile a recent version of Webkit > > $ git clone --depth=1 git://git.webkit.org/WebKit.git WebKit > $ ./WebKit/Tools/Scripts/build-webkit --qt > > I have never built WebKit. > then I rebuilt webvfx to no avail. > > Is there any mean to know which version of QtWebKit is used by webvfx ? > ldd libwebvfx.so > Any idea how to build webvfx with the latest version of QtWebKit on Ubuntu > Server ? > > I have been using WebVfx for Qt 5 for a long time for Shotcut. I download Qt from qt.io, and at build time, I set env var QTDIR to the place where I unpacked it - the parent of the bin folder - e.g. $HOME/Qt/5.2.0/gcc_64. Getting the version of webkit used in an upstream Qt build is not always so clear. I found this answer: http://stackoverflow.com/questions/29012164/what-webkit-version-is-qt-5-4-1-using-on-osx Now, looking at the major version there, I am not exactly sure how helpful that is. :-) Looking at this page, however, shows that it roughly corresponds to the version of Safari in latest version of OS X 10.10. https://en.wikipedia.org/wiki/Safari_version_history If you download Qt 5.4.2 with its Qt Creator on a desktop machine, it is fairly quick and easy to build WebVfx, and use its Viewer tool to test your HTML. Then, you can work on the build against MLT for your headless machine.
------------------------------------------------------------------------------
_______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel