[Interest] QPA display system query ?

Jérôme Godbout godboutj at amotus.ca
Tue Jan 19 15:01:33 CET 2021


For linux qt deploy there is a standalone python version that I use that work well: https://github.com/Larpon/linuxdeployqt.py
For my application it was working more easily and was better with Qml.

From: Interest <interest-bounces at qt-project.org> On Behalf Of Nicholas Yue
Sent: January 18, 2021 11:13 PM
To: Thiago Macieira <thiago.macieira at intel.com>
Cc: interest at qt-project.org
Subject: Re: [Interest] QPA display system query ?

Thanks Thiago.

On Windows and Mac, there are corresponding windeployqt and macdeployqt

On *nixes, there is linuxdeployqt but that didn't work for me as it requires very specific glibc, the author of linxudeployqt have their legitimate reason for being very specific about runtime for their tool to work.

So I have to mimic the deployment as best as I can with regards to the QPA for display as that done in windowsdeployqt and macdeployqt so I have something like the following

install(FILES
  ${QT_INSTALL_PLUGINS}/platforms/libqxcb.so
  DESTINATION
  bin/platforms
  )

I was hoping to factor out the hard coding of xcb in the above which I can query.

So yes, it is like an XY problem.

Happy to hear of proper CMake way to install the required QPA for a software to be package up and ship to user without shipping the entire Qt 6.0.0 build on the Linux platform.

Cheers

On Mon, 18 Jan 2021 at 19:12, Thiago Macieira <thiago.macieira at intel.com<mailto:thiago.macieira at intel.com>> wrote:
On Monday, 18 January 2021 16:15:23 PST Giuseppe D'Angelo via Interest wrote:
> Hi,
>
> Il 19/01/21 00:33, Nicholas Yue ha scritto:
> > Is there some command line query I can make to determine the QPA display
> > system that is being used? For example, running that command on e.g. an
> > Ubuntu box may return something like *xcb*
>
> In general, qtdiag will tell you. However, this decision may be
> different for each application, and it's not uncommon to find
> applications that override the system default.

Actually, it should be VERY uncommon. There are few applications that need a
specific windowing system, though I don't doubt there are several that work
poorly with anything that they weren't tested with.


--
Thiago Macieira - thiago.macieira (AT) intel.com<http://intel.com>
  Software Architect - Intel DPG Cloud Engineering



_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
https://lists.qt-project.org/listinfo/interest


--
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210119/e2dd5015/attachment.html>


More information about the Interest mailing list