[Qt-interest] How should sources in subdir be compiled?
Kārlis Repsons
k at 11.lv
Sun Mar 28 21:51:00 CEST 2010
When trying with qmake, there is a strange behaviour like this:
in produced Makefile:
====================================
moc_MainWindow.cpp: GUI/Tabs.h \
GUI/List.h \
GUI/MainWindow.h
/usr/bin/moc $(DEFINES) $(INCPATH) GUI/MainWindow.h -o moc_MainWindow.cpp
...
MainWindow.o: GUI/MainWindow.cpp GUI/MainWindow.h \
GUI/Tabs.h \
GUI/List.h \
MainWindow.moc
====================================
..however, there is no rule to make MainWindow.moc! Any ideas why?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100328/ae48b724/attachment.bin
More information about the Qt-interest-old
mailing list