I have a project which has lots of includepaths, source and header files. The project is run as a standalone application (it\'s not a library).
I would like to implement
You should perform two modifications:
E.g., you will have build.pri:
# build.pri
TOPDIR = $$PWD
INCLUDEPATH += . \
$$TOPDIR/include
DEPENDPATH += $$TOPDIR
INCLUDEPATH += $$TOPDIR/additional/libararies
HEADERS += all.h \
your.h \
headers.h \
of.h \
interest.h
QT += xml
# etc., etc.
and core.pro
# core.pro
TEMPLATE = lib
CONFIG += dll thread create_prl
QT += network xml xmlpatterns sql
include(../build.pri)
HEADERS += \
headers.h
SOURCES += sources.cpp \
many_of_them.cpp
TARGET = core
# etc., etc.
(note the include(../build.pri)), and then make your main project app.pro as a subdirs project with core and gui as components of application, and test.pro with obligative core and as many tests as you want.