Qt install binary path

Sandro Knauß bugs at sandroknauss.de
Tue Sep 27 22:10:10 UTC 2016


Hey,

thanks for your great tipps. Finally I got the tests running with xvfb and the 
patched locations:

https://anonscm.debian.org/cgit/users/hefee-guest/qtdeclarative.git/commit/?
id=281e19175a701a1906377373eda92d9914e82094

Still I need to disable some tests, but I'm too tired for now to test again if 
the list is the minimal one...

Best Regards,

sandro

--
Am Dienstag, 27. September 2016, 14:03:59 CEST schrieb Dmitry Shachnev:
> 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: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20160928/c5faa4d4/attachment.sig>


More information about the pkg-kde-talk mailing list