[Qt5-feedback] The #include directives for Qt Essentials and Qt Add-on modules
shane.kearns at accenture.com
shane.kearns at accenture.com
Thu Jun 30 17:48:15 CEST 2011
> On 6/22/11 5:39 PM, "ext henry.haverinen at nokia.com"
> <henry.haverinen at nokia.com> wrote:
>
> I had a brief chat with Lars, and based on that I updated a proposal to
> the product definition wiki:
> http://developer.qt.nokia.com/groups/qt_contributors_summit/wiki/Qt5Pro
> duct
> Definition
>
What about #include for a single class, rather than the whole module?
For essentials, I assume that you would still use:
#include <QString>
For add-ons, the clean looking option:
#include <QtAddOn/Foo/Bar>
has the problem that <QtAddOn/Foo>, the file, clashes with the subdirectory.
#include <Bar>
is no good because of potential class name clashes
I don't have a suggestion for avoiding this yet - just wanted to point out the problem.
________________________________
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
More information about the Qt5-feedback
mailing list