[Qt-interest] Failure: mingw32-make[1]: *** No rule to make target `HEADERS'

Stephen Jackson spjackson42 at gmail.com
Sun Nov 22 18:41:12 CET 2009


2009/11/22 Matthias Pospiech :
> I experience in my qmake based project created with QtCreator this error:
> mingw32-make[1]: *** No rule to make target `HEADERS', needed by
> `build/LaTeXTemplateGenerator/debug/HEADERS.o'. Stop.
>


> # -------------------------------------------------
> # Sources
> # -------------------------------------------------
>
> include ( SourcesWidgets.pri )
> include ( SourcesLaTeX.pri )
>
> SOURCES += src/main.cpp \
>    src/dialogs/mainwindow.cpp \
>    src/dialogs/widgeteditlatexpackage.cpp \
> HEADERS += src/dialogs/mainwindow.h \
>    src/dialogs/widgeteditlatexpackage.h \
>    src/latex/latexpackagelistentry.h
> FORMS += src/dialogs/mainwindow.ui \
>    src/dialogs/widgeteditlatexpackage.ui
>

The last line of SOURCES ends with the continuation character '\' .
I'd guess this is your problem.

-- 
Cheers,

Stephen Jackson




More information about the Qt-interest-old mailing list