PDA

View Full Version : No such file or directory



Bertbeeg
24th October 2010, 10:47
I have installed the new qt-sdk-win-opensource-2010.05
Now if I open any program it gives warnings by underlining
for instance hello.ccp at the first line it #include <QApplication> is already
No such file or directory. however when i compile it there are no error and everything is running fine.
Does somebody knows What is wrong with my installation.

franco.amato
24th October 2010, 18:42
I have installed the new qt-sdk-win-opensource-2010.05
Now if I open any program it gives warnings by underlining
for instance hello.ccp at the first line it #include <QApplication> is already
No such file or directory. however when i compile it there are no error and everything is running fine.
Does somebody knows What is wrong with my installation.

When do you receive the warning? You said that you can compile without problems right? So when do you get such warning?

Timoteo
24th October 2010, 19:10
Is this with QtCreator? Does your .pro contain something like:

TEMPLATE = app
CONFIG += qt
QT += gui?

Bertbeeg
24th October 2010, 19:45
Yes this is with QTCreator and TEMPLATE = app ; CONFIG += qt ; QT += gui
did not work. I get the warning whenever I hover over the underlined text in hello.cpp.
Attached to this a screen dump

Bertbeeg
24th October 2010, 23:04
"Fixed" well not complete, I have completely UN-installed 2010.05 and re-installed
QT 2010.02.01 and everything is running like clockwork.
So I don't know what it was.
But Thanks to every body who worked on this problem.
:):)