2016-12-26 16:06:55 +01:00
|
|
|
#-------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Project created by QtCreator 2016-11-11T09:17:13
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
2017-12-09 10:45:13 +01:00
|
|
|
CONFIG += c++17
|
2018-01-09 20:39:43 +01:00
|
|
|
QT += core gui concurrent
|
2016-12-26 16:06:55 +01:00
|
|
|
|
2017-01-15 12:27:36 +01:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
2016-12-26 16:06:55 +01:00
|
|
|
|
2017-12-16 21:43:51 +01:00
|
|
|
|
2017-01-15 12:58:41 +01:00
|
|
|
TARGET = pglab
|
2016-12-26 16:06:55 +01:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
2018-09-18 20:24:54 +02:00
|
|
|
! include( ../common.pri ) {
|
|
|
|
|
error( "Couldn't find the common.pri file!" )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += C:\Prog\include\pgsql
|
|
|
|
|
DEFINES += _WIN32_WINNT=0x0501
|
2017-08-22 12:45:45 +02:00
|
|
|
#LIBS += -LC:/prog/boost/lib -Lc:/prog/lib libpq.lib fmt.lib User32.lib ws2_32.lib
|
2018-09-18 20:24:54 +02:00
|
|
|
#LIBS += -LC:\VSproj\boost32\lib -LC:/PROG/LIB -lws2_32 -llibpq
|
2017-02-26 19:29:50 +01:00
|
|
|
|
2016-12-26 16:06:55 +01:00
|
|
|
|
2017-02-13 19:51:57 +01:00
|
|
|
win32:RC_ICONS += pglab.ico
|
|
|
|
|
|
2016-12-26 16:06:55 +01:00
|
|
|
SOURCES += main.cpp\
|
2017-02-12 15:51:36 +01:00
|
|
|
QueryResultModel.cpp \
|
|
|
|
|
QueryExplainModel.cpp \
|
2017-01-03 07:22:36 +01:00
|
|
|
tsqueue.cpp \
|
2017-12-28 07:29:07 +01:00
|
|
|
CreateDatabaseDialog.cpp \
|
2017-02-12 15:51:36 +01:00
|
|
|
ConnectionManagerWindow.cpp \
|
|
|
|
|
ConnectionListModel.cpp \
|
|
|
|
|
BackupRestore.cpp \
|
|
|
|
|
QueryTab.cpp \
|
2017-01-21 18:16:57 +01:00
|
|
|
stopwatch.cpp \
|
2017-02-12 15:51:36 +01:00
|
|
|
TuplesResultWidget.cpp \
|
|
|
|
|
BackupDialog.cpp \
|
|
|
|
|
TypeSelectionItemModel.cpp \
|
2017-02-04 11:55:49 +01:00
|
|
|
MasterController.cpp \
|
|
|
|
|
ParamTypeDelegate.cpp \
|
|
|
|
|
OpenDatabase.cpp \
|
2017-02-07 21:39:45 +01:00
|
|
|
MainWindow.cpp \
|
2017-02-11 08:03:10 +01:00
|
|
|
SqlSyntaxHighlighter.cpp \
|
2017-02-12 14:03:42 +01:00
|
|
|
ServerWindow.cpp \
|
|
|
|
|
ASyncWindow.cpp \
|
|
|
|
|
DatabasesTableModel.cpp \
|
2017-02-18 12:05:48 +01:00
|
|
|
RolesTableModel.cpp \
|
2017-03-05 21:23:36 +01:00
|
|
|
ConnectionList.cpp \
|
2017-11-26 13:07:21 +01:00
|
|
|
ProcessStdioWidget.cpp \
|
|
|
|
|
GlobalIoService.cpp \
|
2017-12-09 10:45:13 +01:00
|
|
|
ResultTableModelUtil.cpp \
|
2017-12-09 14:16:47 +01:00
|
|
|
BaseTableModel.cpp \
|
2017-12-10 08:17:07 +01:00
|
|
|
QueryParamListController.cpp \
|
2017-12-10 10:35:46 +01:00
|
|
|
TablesPage.cpp \
|
|
|
|
|
TablesTableModel.cpp \
|
2017-12-12 20:13:53 +01:00
|
|
|
ColumnTableModel.cpp \
|
2017-12-29 08:39:08 +01:00
|
|
|
NamespaceFilterWidget.cpp \
|
2017-12-30 12:57:55 +01:00
|
|
|
NamespaceItemModel.cpp \
|
|
|
|
|
ApplicationWindow.cpp \
|
|
|
|
|
ConstraintModel.cpp \
|
2018-01-06 21:22:22 +01:00
|
|
|
IconColumnDelegate.cpp \
|
2018-01-08 20:45:52 +01:00
|
|
|
IndexModel.cpp \
|
|
|
|
|
CrudTab.cpp \
|
2018-01-15 13:32:18 +01:00
|
|
|
CrudModel.cpp \
|
2018-04-08 09:07:43 +02:00
|
|
|
PgLabItemDelegate.cpp \
|
|
|
|
|
Module.cpp \
|
|
|
|
|
EditorGutter.cpp \
|
2018-05-14 20:24:41 +02:00
|
|
|
CodeEditor.cpp \
|
2018-09-02 10:30:30 +00:00
|
|
|
PlgPage.cpp \
|
2018-09-18 11:53:19 +02:00
|
|
|
PropertyProxyModel.cpp \
|
|
|
|
|
CodeGenerator.cpp \
|
2018-10-07 19:40:06 +02:00
|
|
|
UserConfiguration.cpp \
|
|
|
|
|
TriggerTableModel.cpp \
|
|
|
|
|
TriggerPage.cpp \
|
|
|
|
|
SqlCodePreview.cpp \
|
2018-10-20 10:58:42 +02:00
|
|
|
CustomFilterSortModel.cpp \
|
2018-11-04 11:26:20 +01:00
|
|
|
PropertiesPage.cpp \
|
2018-11-25 09:06:01 +01:00
|
|
|
PasswordPromptDialog.cpp \
|
|
|
|
|
ProcTableModel.cpp \
|
|
|
|
|
FunctionsPage.cpp
|
2016-12-26 16:06:55 +01:00
|
|
|
|
2017-02-06 21:41:45 +01:00
|
|
|
HEADERS += \
|
2017-02-12 15:51:36 +01:00
|
|
|
QueryResultModel.h \
|
|
|
|
|
QueryExplainModel.h \
|
2017-01-03 07:22:36 +01:00
|
|
|
tsqueue.h \
|
2017-12-28 07:29:07 +01:00
|
|
|
CreateDatabaseDialog.h \
|
2017-02-12 15:51:36 +01:00
|
|
|
ConnectionManagerWindow.h \
|
|
|
|
|
ConnectionListModel.h \
|
|
|
|
|
QueryTab.h \
|
2017-01-21 18:16:57 +01:00
|
|
|
stopwatch.h \
|
2017-02-12 15:51:36 +01:00
|
|
|
TuplesResultWidget.h \
|
|
|
|
|
BackupDialog.h \
|
|
|
|
|
TypeSelectionItemModel.h \
|
2017-02-04 11:55:49 +01:00
|
|
|
MasterController.h \
|
|
|
|
|
ParamTypeDelegate.h \
|
|
|
|
|
OpenDatabase.h \
|
2017-02-07 21:39:45 +01:00
|
|
|
MainWindow.h \
|
2017-02-11 08:03:10 +01:00
|
|
|
SqlSyntaxHighlighter.h \
|
2017-02-12 14:03:42 +01:00
|
|
|
ServerWindow.h \
|
|
|
|
|
ASyncWindow.h \
|
|
|
|
|
DatabasesTableModel.h \
|
2017-02-18 12:05:48 +01:00
|
|
|
RolesTableModel.h \
|
2017-03-05 21:23:36 +01:00
|
|
|
ConnectionList.h \
|
2017-11-26 13:07:21 +01:00
|
|
|
ProcessStdioWidget.h \
|
|
|
|
|
GlobalIoService.h \
|
2017-12-09 10:45:13 +01:00
|
|
|
ResultTableModelUtil.h \
|
2017-12-09 14:16:47 +01:00
|
|
|
BaseTableModel.h \
|
2017-12-10 08:17:07 +01:00
|
|
|
QueryParamListController.h \
|
2017-12-10 10:35:46 +01:00
|
|
|
TablesPage.h \
|
|
|
|
|
TablesTableModel.h \
|
2017-12-12 20:13:53 +01:00
|
|
|
ColumnTableModel.h \
|
2017-12-29 08:39:08 +01:00
|
|
|
NamespaceFilterWidget.h \
|
2017-12-30 12:57:55 +01:00
|
|
|
NamespaceItemModel.h \
|
|
|
|
|
ApplicationWindow.h \
|
|
|
|
|
ConstraintModel.h \
|
2018-01-06 21:22:22 +01:00
|
|
|
IconColumnDelegate.h \
|
2018-01-08 20:45:52 +01:00
|
|
|
IndexModel.h \
|
|
|
|
|
CrudTab.h \
|
2018-01-15 13:32:18 +01:00
|
|
|
CrudModel.h \
|
2018-04-08 09:07:43 +02:00
|
|
|
PgLabItemDelegate.h \
|
|
|
|
|
Module.h \
|
|
|
|
|
EditorGutter.h \
|
2018-05-14 20:24:41 +02:00
|
|
|
CodeEditor.h \
|
2018-08-05 09:07:12 +02:00
|
|
|
PlgPage.h \
|
2018-09-02 10:30:30 +00:00
|
|
|
AbstractCommand.h \
|
|
|
|
|
PropertyProxyModel.h \
|
2018-09-18 11:53:19 +02:00
|
|
|
CustomDataRole.h \
|
|
|
|
|
CodeGenerator.h \
|
2018-10-07 19:40:06 +02:00
|
|
|
UserConfiguration.h \
|
|
|
|
|
TriggerTableModel.h \
|
|
|
|
|
TriggerPage.h \
|
|
|
|
|
SqlCodePreview.h \
|
2018-10-20 10:58:42 +02:00
|
|
|
CustomFilterSortModel.h \
|
2018-11-04 11:26:20 +01:00
|
|
|
PropertiesPage.h \
|
2018-11-25 09:06:01 +01:00
|
|
|
PasswordPromptDialog.h \
|
|
|
|
|
ProcTableModel.h \
|
|
|
|
|
FunctionsPage.h
|
2016-12-26 16:06:55 +01:00
|
|
|
|
|
|
|
|
FORMS += mainwindow.ui \
|
2017-02-12 15:51:36 +01:00
|
|
|
ConnectionManagerWindow.ui \
|
2017-12-28 07:29:07 +01:00
|
|
|
CreateDatabaseDialog.ui \
|
2017-02-12 15:51:36 +01:00
|
|
|
TuplesResultWidget.ui \
|
|
|
|
|
QueryTab.ui \
|
|
|
|
|
BackupDialog.ui \
|
2017-03-05 21:23:36 +01:00
|
|
|
ServerWindow.ui \
|
2017-12-10 08:17:07 +01:00
|
|
|
ProcessStdioWidget.ui \
|
2017-12-29 08:39:08 +01:00
|
|
|
TablesPage.ui \
|
2017-12-30 12:57:55 +01:00
|
|
|
NamespaceFilterWidget.ui \
|
2018-01-08 20:45:52 +01:00
|
|
|
ApplicationWindow.ui \
|
2018-09-18 11:53:19 +02:00
|
|
|
CrudTab.ui \
|
2018-11-08 21:50:49 +01:00
|
|
|
CodeGenerator.ui
|
2017-01-15 13:49:17 +01:00
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
|
resources.qrc
|
2017-02-13 19:51:45 +01:00
|
|
|
|
2017-11-26 13:07:21 +01:00
|
|
|
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
|
2017-02-26 19:29:50 +01:00
|
|
|
|
2018-11-17 19:33:47 +01:00
|
|
|
LIBS += -Lc:/prog/lib/
|
|
|
|
|
|
2017-02-26 19:29:50 +01:00
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
|
2017-12-12 20:13:53 +01:00
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore
|
2017-02-26 19:29:50 +01:00
|
|
|
|
2017-12-12 20:13:53 +01:00
|
|
|
INCLUDEPATH += $$PWD/../core
|
|
|
|
|
DEPENDPATH += $$PWD/../core
|
2017-02-26 19:29:50 +01:00
|
|
|
|
2018-11-17 19:33:47 +01:00
|
|
|
win32:CONFIG(debug, debug|release): LIBS += -lbotand
|
|
|
|
|
else:win32:CONFIG(release, debug|release): LIBS += -lbotan
|
2018-11-10 10:59:52 +01:00
|
|
|
|
|
|
|
|
|
2017-02-26 19:29:50 +01:00
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/release/libcore.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/debug/libcore.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/release/core.lib
|
2017-12-12 20:13:53 +01:00
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/debug/core.lib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../pgsql/release/ -lpgsql
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../pgsql/debug/ -lpgsql
|
|
|
|
|
else:unix:!macx: LIBS += -L$$OUT_PWD/../pgsql/ -lpgsql
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../pgsql
|
|
|
|
|
DEPENDPATH += $$PWD/../pgsql
|
|
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pgsql/release/libpgsql.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pgsql/debug/libpgsql.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pgsql/release/pgsql.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pgsql/debug/pgsql.lib
|
|
|
|
|
else:unix:!macx: PRE_TARGETDEPS += $$OUT_PWD/../pgsql/libpgsql.a
|
|
|
|
|
|
2017-12-13 18:04:10 +01:00
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../pglablib/release/ -lpglablib
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../pglablib/debug/ -lpglablib
|
|
|
|
|
else:unix:!macx: LIBS += -L$$OUT_PWD/../pglablib/ -lpglablib
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../pglablib
|
|
|
|
|
DEPENDPATH += $$PWD/../pglablib
|
|
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pglablib/release/libpglablib.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pglablib/debug/libpglablib.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pglablib/release/pglablib.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pglablib/debug/pglablib.lib
|
|
|
|
|
else:unix:!macx: PRE_TARGETDEPS += $$OUT_PWD/../pglablib/libpglablib.a
|