Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

This was the most unkindest cut of all. -- William Shakespeare, "Julius Caesar"


rocksolid / Linux / QT_QPA_PLATFORM

SubjectAuthor
o QT_QPA_PLATFORMAnonymous

1
Subject: QT_QPA_PLATFORM
From: Anonymous
Newsgroups: rocksolid.shared.linux
Organization: RetroBBS
Date: Sun, 30 Apr 2023 08:15 UTC
Path: eternal-september.org!news.eternal-september.org!i2pn.org!i2pn2.org!.POSTED.rocksolidbbs.com!not-for-mail
From: Anonymous@rocksolidbbs.com (Anonymous)
Newsgroups: rocksolid.shared.linux
Subject: QT_QPA_PLATFORM
Date: Sun, 30 Apr 2023 08:15:17 +0000
Organization: RetroBBS
Message-ID: <9b8fd29985d2af0ac3a26a64eb4d913e@rocksolidbbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="retrobbs"; posting-host="rocksolidbbs.com:2a03:b0c0:3:d0::fec:9001";
logging-data="22339"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.8.0
X-Rslight-Site: $2y$10$NxYKlkxFqcRqsq5nsJBvzuB2h9jsChZvXEdQg.Rw5kQduq5QzCVs2
X-Rslight-Posting-User: 2eb1d57a13b3a7a8ae4e6b2918bc98bad23e42ee
View all headers

I thought this was pretty cool when I found out about it. It turns out you can set this variable and run Qt programs using different Qt Platform Abstractions.

export QT_QPA_PLATFORM=vnc
some-qt-program

Now it will run as a VNC server, so you could run it headless for example and connect to it with any VNC client. There are other cool plugins such as linuxfb to run it without X on the Linux framebuffer.

See https://doc.qt.io/qt-6/qpa.html#qpa-plugins for available plugins.

--
Posted on RetroBBS

1

rocksolid light 0.9.8
clearnet tor