GNU bug report logs - #39229
[PATCH 0/7] Some KDE system tools: dolphin, konsole, ...

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Tue, 21 Jan 2020 21:13:01 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: guix-devel <guix-devel <at> gnu.org>, 39229 <at> debbugs.gnu.org
Subject: [bug#39229] qt-build-system: Add QT_QPA_PLATFORM=offscreen?
Date: Wed, 22 Jan 2020 09:44:02 +0100
[Message part 1 (text/plain, inline)]
Hi Danny,

(forwarding to guix-devel to eventually get more opinions on this)

Am 21.01.20 um 23:43 schrieb Danny Milosavljevic:
>> +         (add-before 'check 'check-setup
>> +           (lambda _
>> +             (setenv "QT_QPA_PLATFORM" "offscreen")
>> +             #t)))))
> Hmm, would it make sense to do that automatically in qt-build-system ?

I would be fine with this, since I find myself adding this snippet quite
often when building Qt/KDE applications. But there *might* be cases,
where tests fail due to this setting. (While I'm not aware of one, I
could imaging some test checks whether it is actually painting.)

Thus I propose implementing this in some way to easily disable it if
required: Either

- by adding this a new phase (as in the snippet shown above), so it can
easily be disabled

- by adding another keyword-argument (proposal: `#:qpa-platform`,
default: "offscreen", if +f, will not be set.

WDYT?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 5 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.