PDA

View Full Version : QMenu: No such file or directory



FinderCheng
4th May 2010, 04:13
Hi! I wound if anyone got this kind of problem in QtCreator.

I'm trying to create a shared library with Qt. At first everything goes OK,
but suddenly something wrong, maybe <QMenu> disappeared with the error
message: No such file or directory. Or when you compile QtSolutions,
QApplication is the same problem. But it seems you did not change anything.
If you check makefile, the Qt path is correct. Generally speaking, all Qt library
lost. Even I add QT += ui core, the errors are still there.

I don't know how this happened? Have you got this problem?

bender86
4th May 2010, 12:02
Try QT += gui (with 'g').
Anyway, it should be already defined by default, unless you have a statement like QT = ... (without '+').