From kde-devel Sat Feb 07 13:45:29 2009 From: =?ISO-8859-1?Q?Alexis_M=E9nard?= Date: Sat, 07 Feb 2009 13:45:29 +0000 To: kde-devel Subject: Re: Graphics system with Qt 4.5 Message-Id: <81941aea0902070545g15520e6fq2f9353137589adc2 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=123401440214830 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0440027293==" --===============0440027293== Content-Type: multipart/alternative; boundary=0016e6dd8e74c69fa004625459de --0016e6dd8e74c69fa004625459de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Feb 7, 2009 at 2:12 PM, Albert Astals Cid wrote: > A Dissabte, 7 de febrer de 2009, Alexis M=E9nard va escriure: > > Hello all, > > > > > > Since qt-copy has switch to 4.5, we have now different graphics systems= . > We > > can also build by default Qt with the graphicssystem raster but some > > applications should run with the x11 engine (aka native). One example i= s > > KWin, that use X a lot. More, X screensavers has no point to run with i= t. > > Basically all applications that assume that a QPixmap is a XPixmap soul= d > be > > updated or should use the x11 graphicssystem. > > > > Should we for instance set in some desktop files/main of applications t= he > > graphicssystem that the app has to use? > > So are you saying that Qt did not break ABI nor API but found a way to > screw > up all people that use QPixmap as X Pixmap as stated in the documentation= ? If you use the new graphics system raster yes...the old one (x11) works as before... That the price of the speed to avoid X calls and to get something fast...I repeat only the graphics system raster change that (NEW FEATURE)...Btw i didn't find where it was written that QPixmap with X11 engine are for sure XPixmap. Quote from doc for graphics system raster : "Since Qt 4.5, it is possible to replace the paint engines and paint device= s used for widgets, pixmaps and the offscreen double buffer." > > Albert > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << > --0016e6dd8e74c69fa004625459de Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, Feb 7, 2009 at 2:12 PM, Albert A= stals Cid <aacid@kde.= org> wrote:
A Dissabte, 7 de febrer de 2009, Alexis M=E9nard va escriure:
> Hello all,
>
>
> Since qt-copy has switch to 4.5, we have now different graphics system= s. We
> can also build by default Qt with the graphicssystem raster but some > applications should run with the x11 engine (aka native). One example = is
> KWin, that use X a lot. More, X screensavers has no point to run with = it.
> Basically all applications that assume that a QPixmap is a XPixmap sou= ld be
> updated or should use the x11 graphicssystem.
>
> Should we for instance set in some desktop files/main of applications = the
> graphicssystem that the app has to use?

So are you saying that Qt did not break ABI nor API but found a= way to screw
up all people that use QPixmap as X Pixmap as stated in the documentation?<= /blockquote>

If you use the new graphics system raster yes...the ol= d one (x11) works as before...
That the price of the speed to avoid X ca= lls and to get something fast...I repeat only the graphics system raster ch= ange that (NEW FEATURE)...Btw i didn't find where it was written that Q= Pixmap with X11 engine are for sure XPixmap.

Quote from doc for graphics system raster :

"Since Qt 4.5, = it is possible to replace the paint engines and paint devices used for widgets, pixmaps and the offscreen double buffer." 



Albert

--0016e6dd8e74c69fa004625459de-- --===============0440027293== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0440027293==--