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

include/Module/Header
include/Module/.module/Module/Header

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.

-- 
Link

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to