[Interest] My experience porting to Qt5 (on OS X)
a1291762 at gmail.com
Thu Sep 13 11:19:10 CEST 2012
On 13/09/12 6:57 AM, Stephen Kelly wrote:
> Your build tools don't tell you that there is a problem. It compiles
> just fine (for you), even though the include should not be there. If
> you instead include <QAction>, your compiler will not find that header
> and you will immediately know you made a mistake.
FWIW - I remember this being such a problem in Qtopia that the internal
builds setup the include directory so that even <Module/Header> would
not actually work unless you'd done the required QT += module.
I think it was something like
with both include/Module and include/Module/.module added to the
INCLUDEPATH (and include explicitly removed from INCLUDEPATH just in
case a developer tried to add it in their .pro file).
It should be a relatively minor change to syncqt and qt.prf to implement
this for Qt.
More information about the Interest