[Qt-creator] Problem with compile simple code

André Pönitz andre.poenitz at nokia.com
Fri Oct 16 15:14:36 CEST 2009


On Friday 16 October 2009 13:30:08 ext Danny Price wrote:
> 
> > #include < QApplication.h >
> > #include < QMainWindow.h >
> 
> That, by the way, should be
> 
> #include <QApplication>
> #include <QMainWindow>
> 
> The original version does not compile on case-sensitive file systems.
> 
> Andre'
> 
> 
> Really? Is that why C++ libraries tend to use stub-include files with no extensions? Surely '.h' is consistent on all platforms?

There is no "QApplication.h" header with exact that capitalization.
There's only "qapplication.h" and "QApplication". On NTFS or such
"qapplication.h" will be found when using "QApplication.h", but it
will fail on, say, ext3.

Andre'



More information about the Qt-creator-old mailing list