[Development] Q_WS_* used in Qt sources

Kevin Krammer kevin.krammer at kdab.com
Wed Mar 12 17:27:52 CET 2014


On Wednesday, 2014-03-12, 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 think there might still be some integration hooks that haven't been fully 
ported yet. Like the QSystemTrayIcon code that Martin Gräßlin only recently 
refactored.

Cheers,
Kevin

-- 
Qt Developer Days 2014, October 6 - 8 at BCC, Berlin. Save the dates!

Kevin Krammer | kevin.krammer at kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5918 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140312/30614112/attachment.bin>


More information about the Development mailing list