No rule to make target build/test1.moc, needed by build/test1.o. Stop.
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
SOURCES += main.cpp
MOC_DIR = build
OBJECTS_DIR = build
UI_DIR = build
DESTDIR = build
Hi and welcome to devnet,
AFAICS, you are missing HEADERS += test1.h in your .pro file.
@SGaist Thank you! That worked.