No rule to make target build/test1.moc, needed by build/test1.o. Stop.
Solved
General and Desktop
-
When I build my Kdevelop Qt project, it complains about a missing moc file, which is needed. Here is my prueba.pro file. I think sources are irrelevant, but anyways, I have main.cpp, test1.h, test1.cpp, that I can post if needed. Any ideas? Thanks!!
TEMPLATE = app
FORMS += mainwindow.ui
test1.ui
SOURCES += main.cpp
test1.cppMOC_DIR = build
OBJECTS_DIR = build
UI_DIR = buildDESTDIR = build
-
Hi and welcome to devnet,
AFAICS, you are missing HEADERS += test1.h in your .pro file.