[Qt-creator] ui_files not found, do not compile
Christopher Rasch-Olsen Raa
christopher at technophile.info
Thu Feb 12 10:27:47 CET 2009
Torsdag 12 februar 2009 10:23:17 skrev Matthias Pospiech:
> After I saved the project, and the .pro file was recreated from
> QtCreator my ui Files do not compile anymore.
> In the editor they are not found and the compiler complains:
>
> mingw32-make[1]: *** No rule to make target `ui_mainwindow.h', needed by
> `build/release/mainwindow.o'. Stop.
>
>
> The ui files are place in folder 'ui', according to "UI_DIR = ui"
> They are existend in that folde as expected.
>
> The include Path is also extendet with this foldes:
> INCLUDEPATH = src;ui;
>
> However the error from above happens.
>
> Any ideas?
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
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
?
--
Christopher
More information about the Qt-creator-old
mailing list