guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simulating X-Server in tests


From: Hartmut Goebel
Subject: Re: Simulating X-Server in tests
Date: Thu, 1 Mar 2018 15:20:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Am 01.03.2018 um 12:29 schrieb Björn Höfling:
>  3/15 Test  #3: advancedrenametest ...............***Failed    0.43 sec
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
> '/tmp/guix-build-digikam-
> qt.qpa.screen: QXcbConnection: Could not connect to display 
> Could not connect to any X display.

For many Qt testsit's sufficient to set QT_QPA_PLATFORM=offscreen, some
require a running x11 server.
Please have a look at the packages in qt.scm and kde-framworks.scm for
examples of both and other necessary steps.

Missing XDG_RUNTIME_DIR is not an issue in most cases, but if it's required, 
there are also examples in qt.scm and kde-frameworks.scm.

HTH

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |




reply via email to

[Prev in Thread] Current Thread [Next in Thread]