On 07/03/2011 05:02 PM, [email protected] wrote:
> On 03/07/2011, at 6:00 PM, Andre Somers wrote:
>>> I think the "QtCoreAll" convention would be much clearer to devs
>>> what is being included. Having QtCore/QtCore just looks odd to
>>> me.
>> I like the "All", but why prepend the module name again then? This
>> looks quite clear to me:
>>
>> QtGui/All
>> QtCore/All
>> QtAddons/MyAddon/All
>
> You need to keep the module name to support those people who want
> behaviour like it is now, ie omit the directory part and instead add
> the directory to the include search path. They would end up with
> something like this:
>
> #include "QtCoreAll"
> #include "QtGuiAll"
> #include "MyAddon"
(The above includes are incorrect, they should use <>, not "".)
Neither approaches are source-compatible with the current
#include <QtGui/QtGui>
though. So, either we continue with the current approach, or we have to
support both.
--
..marius
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback