Hi,

I really like QtCreator, but there is one annoying problem I have. I am 
using QtCreator 1.3.0, but the problem has been present since the beginning.
I have several main.cpp files in my tree (one for each program), and 
whenever there is a compilation warning or error listed in the Build 
Issues pane it claims it cannot find the file.

Some lines from the Compile Output pane:

cd mirror_test\ && C:/Qt/2009.05/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory 
`C:/Development/EasyScan/Tests/mirror_test'
C:/Qt/2009.05/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[3]: Entering directory 
`C:/Development/EasyScan/Tests/mirror_test'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE 
-DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_THREAD_SUPPORT 
-I"..\..\..\..\Qt\2009.05\qt\include\QtCore" 
-I"..\..\..\..\Qt\2009.05\qt\include\QtGui" 
-I"..\..\..\..\Qt\2009.05\qt\include\QtXml" 
-I"..\..\..\..\Qt\2009.05\qt\include\QtSql" 
-I"..\..\..\..\Qt\2009.05\qt\include" -I"..\..\Libraries\Calibration" 
-I"..\..\Libraries\Image" -I"..\..\..\..\Qt\2009.05\qt\include\ActiveQt" 
-I"debug" -I"..\..\..\..\Qt\2009.05\qt\mkspecs\win32-g++" -o 
debug\main.o main.cpp
main.cpp: In function 'void saveFloatImage(float*, int, int, int, const 
char*)':
main.cpp:32: error: 'USHRT_MAX' was not declared in this scope
mingw32-make[3]: Leaving directory 
`C:/Development/EasyScan/Tests/mirror_test'
mingw32-make[2]: Leaving directory 
`C:/Development/EasyScan/Tests/mirror_test'

Build Issues pane:
'USHRT_MAX' was not declared in this scope            main.cpp   32
File not found: main.cpp

If the file name is unique, there is no problem finding the file and 
showing it in the editor, whenever the file is not unique, it fails to 
find it.

Regards,

    Robert
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to