[Qt-interest] How should sources in subdir be compiled?
Andre Somers
andre at familiesomers.nl
Mon Mar 29 10:38:19 CEST 2010
Kārlis Repsons wrote:
> It was most likely another thing, which made the problem with MainWindow.moc,
> sorry for redundant post...
>
> ========================
>
> Now qmake says: WARNING: Failure to find: MainWindow.cpp and others.
>
Ah!
That is a warning to take to heart :-)
You should add the paths where the other sources and headers can be
found to your VPATH and your INCLUDEPATH. You can do that from the .pri
files too. Sorry for forgetting to mention that.
André
More information about the Qt-interest-old
mailing list