#------------------------------------------------- # # Project created by QtCreator 2015-10-28T15:27:14 # #------------------------------------------------- QT += widgets TARGET = accommodation TEMPLATE = lib DEFINES += ACCOMMODATION_LIBRARY SOURCES += accommodation.cpp \ accommodationform.cpp \ data/person.cpp \ dialog.cpp HEADERS += accommodation.h\ accommodation_global.h \ accommodationform.h \ data/person.h \ dialog.h unix { target.path = /usr/lib INSTALLS += target } win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore INCLUDEPATH += $$PWD/../core DEPENDPATH += $$PWD/../core DESTDIR = ../plugins OTHER_FILES += \ accommodation.json FORMS += \ accommodationform.ui \ dialog.ui ODB_FILES = accommodation/data/person.h H_DIR = $$PWD/data/*.h include(../odb.pri)