Qt install binary path

Dmitry Shachnev mitya57 at debian.org
Tue Sep 27 11:03:59 UTC 2016


Hallo Sandro,

On Tue, Sep 27, 2016 at 12:06:15AM +0200, Sandro Knauß wrote:
> Hey,
>
> I try currently to enable tests for qtdeclarative. So far it all works fine, 
> but the tests using:
> QLibraryInfo::location(QLibraryInfo::BinariesPath) + QLatin1String("/
> qmlscene")
>
> to run qmlscene. The problem with that is that qmlscene is also part of the 
> package and is not installed obviously.
> The binary is already build in $(CURDIR)/bin.
> But the Qt Documentation tells that QLibraryInfo always returns a hardcoded 
> path, that can't be changed.
> Is there a way to treat the tests to use the new builded qmlscene?
> Or should I change the tests to not use QLibraryInfo?

I usually just patch the tests to use the local path. See for example
tst_xmlpatternsvalidator.patch in src:qtxmlpatterns-opensource-src.

In IRC you say that you have some problems with GLX. As you are offline,
I will respond here. You need to activate GLX extension for xvfb-run.

For example, this is the command line used by Ubuntu:

xvfb-run -a -s "-screen 0 1024x768x24 +extension RANDR +extension RENDER +extension GLX"

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20160927/cbb21f1f/attachment.sig>


More information about the pkg-kde-talk mailing list