[Qt-creator] ui_files not found, do not compile

Christopher Rasch-Olsen Raa christopher at technophile.info
Thu Feb 12 10:51:15 CET 2009


Torsdag 12 februar 2009 10:46:13 skrev Matthias Pospiech:
> Christopher Rasch-Olsen Raa schrieb:
> > Perhaps a stupid question, but did you in the .pro-file remember to have
> > the forms included with
> > FORMS += ui/mainwindow.ui \
> > 		ui/myotherform.ui
> > ?
>
> No that reads
>
> FORMS += src/mainwindow.ui \
>
>     src/dialogexample.ui
>
>
> because the .ui files are in /src/.
> What is not found is the ui_files, thus ui_mainwindow.cpp etc.
>
> Matthias
>

Have you re-run qmake after you created these files and added them to your 
project? There is an option for that under [Build]->[Run qmake].

-- 
Christopher



More information about the Qt-creator-old mailing list