diff --git a/restruct.pro b/restruct.pro --- a/restruct.pro +++ b/restruct.pro @@ -1,48 +1,48 @@ ###################################################################### # Project started 11.01.2008 at 13:10 ###################################################################### QT += core concurrent TEMPLATE = app TARGET = restruct CONFIG += c++14 # The following define makes your compiler emit warnings if you use # any feature of Qt which as been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS isEmpty(INCLUDEPATH): INCLUDEPATH = $$(HOME)/src/include isEmpty(LIBS): LIBS = -L$$(HOME)/src/lib INCLUDEPATH += src +unix:INCLUDEPATH += /usr/include/postgresql -LIBS += -lktools -lsqlproc -contains(DEFINES,SQLPROC_STATIC):LIBS += -lpq +LIBS += -lktools -lsqlproc -lpq SOURCES += src/updater.cpp \ src/exitcode.cpp HEADERS += \ src/updater.h \ src/psettings.h \ src/exitcode.h RESOURCES += resource/project.qrc win32 { QT += gui widgets SOURCES += src/main_win.cpp src/mainwindow.cpp HEADERS += src/mainwindow.h RC_FILE = resource/project.rc contains(DEFINES,SQLPROC_STATIC):LIBS += -luuid -loleaut32 } unix { CONFIG += console SOURCES += src/main_lin.cpp src/mainconsole.cpp HEADERS += src/mainconsole.h } target.path = /bin # install location INSTALLS += target