Yikes... what exactly am I supposed to look for? Here are the bits surrounding mentions of the extra targets:
DEBUG 1: Project file: reading /home/chrisw/workspace/zzbug/test.pro
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:4 :TARGET: :=: (test)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:5 :TEMPLATE: :=: (app)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:6 :CONFIG: :+=: (qt warn_on)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:7 :SOURCES: :+=: (main.cpp)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:9 :mytarget.target: :=: (.buildfile)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:10 :mytarget.commands: :=: (touch .buildfile)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:11 :mytarget.depends: :=: (mytarget2)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:13 :mytarget2.commands: :=: (@echo Building .buildfile)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:15 :QMAKE_EXTRA_TARGETS: :+=: (mytarget mytarget2)
DEBUG 1: Processing default_post: lex::yacc::warn_on::debug::uic::resources::qt::warn_on::release::incremental::link_prl::no_mocdepend::release::stl::qt_no_framework::qt::warn_on
DEBUG 1: Project Parser: load'ing file /usr/share/qt4/mkspecs/features/default_post.prf.
DEBUG 1: Running project test: CONFIG(debug::debug|release) [10]
DEBUG 1: Project file: reading /home/chrisw/workspace/zzbug/test.pro
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:4 :TARGET: :=: (test)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:5 :TEMPLATE: :=: (app)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:6 :CONFIG: :+=: (qt warn_on)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:7 :SOURCES: :+=: (main.cpp)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:9 :mytarget.target: :=: (.buildfile)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:10 :mytarget.commands: :=: (touch .buildfile)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:11 :mytarget.depends: :=: (mytarget2)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:13 :mytarget2.commands: :=: (@echo Building .buildfile)
DEBUG 1: Project Parser: /home/chrisw/workspace/zzbug/test.pro:15 :QMAKE_EXTRA_TARGETS: :+=: (mytarget mytarget2)
DEBUG 1: Processing default_post: lex::yacc::warn_on::debug::uic::resources::qt::warn_on::release::incremental::link_prl::no_mocdepend::release::stl::qt_no_framework::qt::warn_on
DEBUG 1: Project Parser: load'ing file /usr/share/qt4/mkspecs/features/default_post.prf.
DEBUG 1: Running project test: CONFIG(debug::debug|release) [10]
To copy to clipboard, switch view to plain text mode
and
DEBUG 1: QMAKE_EXTENSION_SHLIB === so
DEBUG 1: QMAKE_EXTRA_COMPILERS === moc_header :: rcc :: image_collection :: moc_source :: uic :: yacc_decl :: yacc_impl :: lex
DEBUG 1: QMAKE_EXTRA_TARGETS === mytarget :: mytarget2 :: mocclean :: mocables
DEBUG 1: QMAKE_EXT_C === .c
DEBUG 1: QMAKE_EXT_CPP === .cpp :: .cc :: .cxx :: .C
DEBUG 1: QMAKE_EXT_CPP_MOC === .moc
DEBUG 1: QMAKE_EXT_H === .h :: .hpp :: .hh :: .hxx :: .H
DEBUG 1: QMAKE_EXTENSION_SHLIB === so
DEBUG 1: QMAKE_EXTRA_COMPILERS === moc_header :: rcc :: image_collection :: moc_source :: uic :: yacc_decl :: yacc_impl :: lex
DEBUG 1: QMAKE_EXTRA_TARGETS === mytarget :: mytarget2 :: mocclean :: mocables
DEBUG 1: QMAKE_EXT_C === .c
DEBUG 1: QMAKE_EXT_CPP === .cpp :: .cc :: .cxx :: .C
DEBUG 1: QMAKE_EXT_CPP_MOC === .moc
DEBUG 1: QMAKE_EXT_H === .h :: .hpp :: .hh :: .hxx :: .H
To copy to clipboard, switch view to plain text mode
I cannot see any obvious error messages. The complete output is attached (gzipped).
Bookmarks