Ich habe mir gedacht das es folgendermasen aussieht.
Code: Alles auswählen
Projekt
|
------main.cpp
------debug (ordner wird erzeugt)
------release (ordner wird erzeugt)
------projekt.pro
------Verzeichnis1
|
--------bla.cpp
--------bla2.cpp
--------bla.h
--------bla2.h
--------verzeichnis1.pro
------Verzeichnis2
|
--------blub.cpp
--------blub2.cpp
--------blub.h
--------blub2.h
--------verzeichnis2.pro
Code: Alles auswählen
TEMPLATE = subdirs
SUBDIRS = Verzeichnis1\
Verzeichnis2
TARGET = Anwendung
QT += core \
gui
SOURCES = main.cpp
Dazu kommt diese Fehlermeldung
mingw32-make[2]: *** No rule to make target `main.cpp', needed by `debug/main.o'. Stop.
mingw32-make[1]: *** [debug] Error 2