[Interest] QPA display system query ?
Nicholas Yue
yue.nicholas at gmail.com
Tue Jan 19 05:13:13 CET 2021
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>
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
> Software Architect - Intel DPG Cloud Engineering
>
>
>
> _______________________________________________
> Interest mailing list
> 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/20210118/8b187d4b/attachment.html>
More information about the Interest
mailing list