[Development] Q_WS_* used in Qt sources

Thiago Macieira thiago.macieira at intel.com
Wed Mar 12 18:57:19 CET 2014


Em qua 12 mar 2014, às 18:46:15, Martin Koller escreveu:
> On Wednesday 12 March 2014 08:10:18 Thiago Macieira wrote:
> > Em qua 12 mar 2014, às 12:23:33, Martin Koller escreveu:
> > > I find a lot #ifdef Q_WS_* code in Qt sources (widgets).
> > > AFAIK Q_WS_ is no longer defined due to QPA.
> > > Is this something which has not been ported over to Q_OS_ and/or to QPA
> > > and
> > > do I need to expect problems (missing functionality) when I port my app
> > > from Qt4 to Qt5 ?
> > 
> > The functionality is completely gone. The selection of the windowing
> > system is now a runtime decision.
> 
> I know. This is what I wrote as "AFAIK Q_WS_ is no longer defined due to
> QPA."
> 
> Still my question remains: do I need to expect problems (missing
> functionality) ?

I think that the last remaining part (the system tray) was ported in Qt 5.3. 
Therefore, all the functionality is (supposed to be) now present.

> For me the code porting looks a bit "unfinished" due to this Q_WS artefacts,
> so I just fear that problems arise.

It's possible.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list