I would like to store all of my GUI files in a folder away from the rest of the files, but I am having a problem getting all of the generated files to output in my folder. I believe the problem lies in the Qt Project file.
CONFIG += qt release warn_on
QT += sql
HEADERS = \
control.h \
model.h \
model/mysearch.h \
model/mymanager.h \
model/mytree.h \
stditems.h
FORMS = \
view/MyMain.ui
SOURCES = \
control.cpp \
model.cpp \
model/mysearch.cpp \
model/mymanager.cpp \
model/mytree.cpp \
stditems.cpp \
main.cpp
target.path = ./
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
sources.path = ./
INSTALLS += target sources
Also, I’m not exactly sure how this part works. Could someone explain it to me?
target.path = ./
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
sources.path = ./
Thank you.
↧