Discussion:
Xlib support dropped?
Harri Porten
2011-10-13 13:28:43 UTC
Permalink
Hi!

Commit 52acc24cdf9e disabled the possibility to perform Linux builds based
on the Xlib QPA plugin. Excuse my ignorance in case I missed earlier hints
on dropping it. The code is still there and compiles. Is it
non-functional?

Harri.
Samuel Rødal
2011-10-13 13:25:51 UTC
Permalink
Post by Harri Porten
Hi!
Commit 52acc24cdf9e disabled the possibility to perform Linux builds based
on the Xlib QPA plugin. Excuse my ignorance in case I missed earlier hints
on dropping it. The code is still there and compiles. Is it
non-functional?
Harri.
Nope, it simply means that you explicitly have to pass both -no-xcb and
-no-wayland to configure if you don't want those plugins. But we're
planning to make the xcb plugin the officially supported platform plugin
on X11, the xlib plugin is mainly there for reference (it's not as
full-featured as the xcb plugin).

--
Samuel
Harri Porten
2011-10-13 13:47:49 UTC
Permalink
Post by Samuel Rødal
Nope, it simply means that you explicitly have to pass both -no-xcb and
-no-wayland to configure if you don't want those plugins.
Then the error message should be rephrased as it said:

"Doing this will produce a Qt that cannot run GUI applications."
Post by Samuel Rødal
But we're planning to make the xcb plugin the officially supported
platform plugin on X11, the xlib plugin is mainly there for reference
(it's not as full-featured as the xcb plugin).
What's the state of xcb on Solaris and AIX?

Harri.
Olivier Goffart
2011-10-13 13:51:31 UTC
Permalink
Post by Harri Porten
Post by Samuel Rødal
But we're planning to make the xcb plugin the officially supported
platform plugin on X11, the xlib plugin is mainly there for reference
(it's not as full-featured as the xcb plugin).
What's the state of xcb on Solaris and AIX?
I understood that neither Solaris or AIX would be officially supported
platforms
Thiago Macieira
2011-10-13 14:49:40 UTC
Permalink
Post by Olivier Goffart
Post by Harri Porten
Post by Samuel Rødal
But we're planning to make the xcb plugin the officially supported
platform plugin on X11, the xlib plugin is mainly there for reference
(it's not as full-featured as the xcb plugin).
What's the state of xcb on Solaris and AIX?
I understood that neither Solaris or AIX would be officially supported
platforms
That's not exactly right. They will not be reference platforms.

Official support for them requires someone supporting them officially. But it's
not excluded outright.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
Lincoln Ramsay
2011-10-14 00:46:40 UTC
Permalink
Post by Harri Porten
Post by Samuel Rødal
Nope, it simply means that you explicitly have to pass both -no-xcb and
-no-wayland to configure if you don't want those plugins.
"Doing this will produce a Qt that cannot run GUI applications."
qtbase/src/plugins/platorms/platforms.pro does not attempt to build
anything other than xcb so if you run configure; make; make install
you'll have a build that can't use GUI apps.

When configure allows you to enable other qpa platform plugins then this
message will be changed.
--
Lincoln Ramsay - Senior Software Engineer
Qt Development Frameworks, Nokia - http://qt.nokia.com/
Lincoln Ramsay
2011-10-14 01:02:38 UTC
Permalink
Post by Lincoln Ramsay
Post by Harri Porten
Post by Samuel Rødal
Nope, it simply means that you explicitly have to pass both -no-xcb and
-no-wayland to configure if you don't want those plugins.
"Doing this will produce a Qt that cannot run GUI applications."
qtbase/src/plugins/platorms/platforms.pro does not attempt to build
anything other than xcb so if you run configure; make; make install
you'll have a build that can't use GUI apps.
And for reference, the bug that cause this fix to be made is here:
https://bugreports.qt.nokia.com/browse/QTBUG-21486

I realize that you can build the X11 platform plugin after you've built
Qt and if you do this, you'll be able to run GUI apps again but the
extra steps required for this won't be obvious to the average user who
doesn't have the xcb dependencies installed.
Post by Lincoln Ramsay
When configure allows you to enable other qpa platform plugins then this
message will be changed.
The bug report for this is here:
https://bugreports.qt.nokia.com/browse/QTBUG-21881
--
Lincoln Ramsay - Senior Software Engineer
Qt Development Frameworks, Nokia - http://qt.nokia.com/
Loading...