QT += core sql httpserver CONFIG += c++17 cmdline QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ apiserver.cpp \ main.cpp \ models/baseentity.cpp \ models/department.cpp \ models/device.cpp \ models/devicemodel.cpp \ models/devicestructureelement.cpp \ models/devicetype.cpp \ models/filterparams.cpp \ models/location.cpp \ models/manufacturer.cpp \ service/businesslogic/departmentlogic.cpp \ service/businesslogic/devicelogic.cpp \ service/businesslogic/devicemodellogic.cpp \ service/businesslogic/devicetypelogic.cpp \ service/businesslogic/locationlogic.cpp \ service/businesslogic/manufacturerlogic.cpp \ service/serviceloaddb.cpp # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target DISTFILES += \ data/requestDeviceModels.sql \ data/requestDevices.sql \ data/updateDevice.sql HEADERS += \ apiserver.h \ models/baseentity.h \ models/department.h \ models/device.h \ models/devicemodel.h \ models/devicestructureelement.h \ models/devicetype.h \ models/filterparams.h \ models/location.h \ models/manufacturer.h \ models/types.h \ service/businesslogic/departmentlogic.h \ service/businesslogic/devicelogic.h \ service/businesslogic/devicemodellogic.h \ service/businesslogic/devicetypelogic.h \ service/businesslogic/locationlogic.h \ service/businesslogic/manufacturerlogic.h \ service/serviceloaddb.h