Hi Guys,

On Mon, Oct 10, 2011 at 6:15 PM, Girish Ramakrishnan
<[email protected]> wrote:
> 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
>

Did we reach any conclusion on this? Is this idea of renaming gui to
something else:
a) Awesome but nobody cares though to do it (...in which case I volunteer)
or
b) Good but it's too late. We are going to make the world change the
include headers and we are probably going to have a qt4to5 script that
makes this change? (...I do think this change is unnecessary though)
or
c) Just plain horrible (If there is a problem with the above idea,
please let me know)

Girish
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to