[SOLVED] [File Organization] Creating an organized project with Qt Creator
Qt Creator and other tools
21
Posts
6
Posters
41.9k
Views
1
Watching
-
wrote on 17 Dec 2013, 02:32 last edited by
Having just worked through this issue in QT Creator I found that the (simple) thing I didn't notice before if you click on the funnel shaped icon in the project view and un-check the Simplify Tree option it makes it look like the "loladiro picture":http://qt-project.org/forums/viewthread/6971/#40658 .
I also did not get this to work:
@INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
SOURCES += source1.h
source2.h
HEADERS += header1.h
header2.h
@So instead I did this:
@CURRENT_DIR = $$PWD
SOURCES += $$CURRENT_DIR/source1.cpp
HEADERS += $$CURRENT_DIR/source1.h@This works for me BUT
If someone has time to explain, I would be curious to know why why modifying the INCLUDEPATH and DEPENDPATH variables didn't work.
21/21