On 09/07/2011 01:29 PM, Hansen Kent (Nokia-MP-Qt/Oslo) wrote: > If QColor were in QtCore, this split would be a breeze :D (QML has > intrinsic support for it) > (Yes, moving QColor to core would be a violation of all we hold holy -- > but hey, there's already precedence with QPoint and friends) > (And no, it can't be moved anyway because it depends on X11 (for > translating strings to colors)) > (But yes, we could have a runtime hook in QApplication to still support > that) > (Or how about just nuking the X11 color support for Qt 5 -- > QColor::allowX11ColorNames(), wtf?) > > Kent
Q_WS_X11 will never be defined in Qt 5, the windowing system is Lighthouse, or Q_WS_QPA (I guess we can eventually get rid of that one though since it's the only supported one). Thus I guess the X11 color names path is never run and the API can be removed. -- Samuel _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
