Hi, On Mon, Oct 10, 2011 at 3:58 PM, Joerg Bornemann <[email protected]> wrote: > On 08/10/2011 09:08, ext Girish Ramakrishnan wrote: >> My suggestion to rename Gui was more practical. > [...] > > Another way would be to provide a (very simple) qt4support module that > maps the old headers to the new names. > Then you must have a Qt4/Qt5 section in your .pro file though to use > that module. >
Yes, one approach to have compat headers. I think we that approach though it's hard to see which is the "latest" and which is "deprecated" (this is unlike the qt3support where things had a Q3 prefix) #include <QtGui/QLabel> // compat header by qt4support #include <QtGui/QWindow> // new header Or is there a better approach than above? There's a lot of apps out there that use <QtGui> and <QtGui/*>. I think we should be considerate and not have them change it all to QtWidget for no real benefit. Here's some stats: http://codesearch.google.com/#search/&q=%23include%20%3CQtGui%3E&type=cs http://codesearch.google.com/#search/&q=%23include%20%3CQtGui/%5Cw*%3E&type=cs Girish _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
