[Qt-interest] QWidget not found (after qt3to4)
Andrew
randomshinichi4869 at gmail.com
Sun Dec 19 19:29:58 CET 2010
Hello everybody,
I ran qt3to4 on the .h and .cpp files of my project, and it added some
stuff while complaining about not being able to find the header files
that the project's dependent on. In any case, it didn't seem to impair
its ability to work, so I told it to change all the files. Now I have
a whole lot of these errors:
...moc_VelocityDistanceExperiment_amt.cpp
c:\Dokumente und
Einstellungen\Stanley\Desktop\Stanley\TactorProject\NeuroCard\Experiment_amt.h(4)
: fatal error C1083: Include-Datei kann nicht geöffnet werden:
'QWidget': No such file or directory...
I found qwidget.h in the C:\Qt4\qt\include\Qt directory, but for
obvious reasons I don't want to change every instance of QWidget to
Qt/qwidget.h.
This is a Visual Studio 2003 project. I searched before and it seems
people recommend rerunning qmake, but I'm not sure how that works with
VS2003 because we're using VS2003's compiler here.
Any pointers?
Thanks,
Andrew
More information about the Qt-interest-old
mailing list