2016-12-26 16:06:55 +01:00
|
|
|
#-------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Project created by QtCreator 2016-11-11T09:17:13
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
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!" )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DEFINES += _WIN32_WINNT=0x0501
|
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\
|
2022-04-09 07:10:29 +02:00
|
|
|
catalog/delegates/IconColumnDelegate.cpp \
|
|
|
|
|
catalog/models/BaseTableModel.cpp \
|
|
|
|
|
catalog/models/ColumnTableModel.cpp \
|
|
|
|
|
catalog/models/ConstraintModel.cpp \
|
|
|
|
|
catalog/models/DatabasesTableModel.cpp \
|
|
|
|
|
catalog/models/DependantsTableModel.cpp \
|
|
|
|
|
catalog/models/IndexModel.cpp \
|
|
|
|
|
catalog/models/ProcTableModel.cpp \
|
|
|
|
|
catalog/models/RolesTableModel.cpp \
|
|
|
|
|
catalog/models/SequenceModel.cpp \
|
|
|
|
|
catalog/models/TablesTableModel.cpp \
|
|
|
|
|
catalog/models/TriggerTableModel.cpp \
|
|
|
|
|
catalog/widgets/CatalogConstraintPage.cpp \
|
|
|
|
|
catalog/widgets/CatalogFunctionsPage.cpp \
|
|
|
|
|
catalog/widgets/CatalogIndexPage.cpp \
|
|
|
|
|
catalog/widgets/CatalogInspector.cpp \
|
|
|
|
|
catalog/widgets/CatalogNamespacePage.cpp \
|
|
|
|
|
catalog/widgets/CatalogPageBase.cpp \
|
|
|
|
|
catalog/widgets/CatalogSequencesPage.cpp \
|
|
|
|
|
catalog/widgets/CatalogTablesPage.cpp \
|
|
|
|
|
catalog/widgets/CatalogTypesPage.cpp \
|
|
|
|
|
catalog/widgets/ColumnPage.cpp \
|
|
|
|
|
catalog/widgets/DependantsPage.cpp \
|
|
|
|
|
catalog/widgets/TriggerPage.cpp \
|
2022-04-10 10:29:40 +02:00
|
|
|
codeeditor/GutterPainter.cpp \
|
2022-04-09 07:10:29 +02:00
|
|
|
crud/CrudModel.cpp \
|
|
|
|
|
crud/CrudTab.cpp \
|
|
|
|
|
querytool/QueryExplainModel.cpp \
|
|
|
|
|
querytool/QueryParamListController.cpp \
|
|
|
|
|
querytool/QueryResultModel.cpp \
|
|
|
|
|
querytool/QueryTool.cpp \
|
|
|
|
|
serverinspector/DatabasesPage.cpp \
|
|
|
|
|
serverinspector/RolesPage.cpp \
|
|
|
|
|
serverinspector/ServerInspector.cpp \
|
|
|
|
|
util/PgLabItemDelegate.cpp \
|
|
|
|
|
util/PgLabTableView.cpp \
|
2019-08-24 20:47:32 +02:00
|
|
|
ConnectionConfigurationWidget.cpp \
|
|
|
|
|
ConnectionController.cpp \
|
2020-04-04 13:23:43 +02:00
|
|
|
ManagedPage.cpp \
|
2019-08-14 06:53:28 +02:00
|
|
|
NotificationListWidget.cpp \
|
|
|
|
|
NotificationModel.cpp \
|
|
|
|
|
NotificationService.cpp \
|
2019-08-23 09:43:48 +02:00
|
|
|
PgDumpOutputHighlighter.cpp \
|
2017-12-28 07:29:07 +01:00
|
|
|
CreateDatabaseDialog.cpp \
|
2017-02-12 15:51:36 +01:00
|
|
|
ConnectionManagerWindow.cpp \
|
|
|
|
|
ConnectionListModel.cpp \
|
2019-08-24 20:47:32 +02:00
|
|
|
SslModeModel.cpp \
|
2017-01-21 18:16:57 +01:00
|
|
|
stopwatch.cpp \
|
2017-02-12 15:51:36 +01:00
|
|
|
TuplesResultWidget.cpp \
|
|
|
|
|
BackupDialog.cpp \
|
2017-02-04 11:55:49 +01:00
|
|
|
MasterController.cpp \
|
|
|
|
|
ParamTypeDelegate.cpp \
|
|
|
|
|
OpenDatabase.cpp \
|
2017-02-11 08:03:10 +01:00
|
|
|
SqlSyntaxHighlighter.cpp \
|
2017-11-26 13:07:21 +01:00
|
|
|
ProcessStdioWidget.cpp \
|
2017-12-09 10:45:13 +01:00
|
|
|
ResultTableModelUtil.cpp \
|
2017-12-29 08:39:08 +01:00
|
|
|
NamespaceFilterWidget.cpp \
|
2017-12-30 12:57:55 +01:00
|
|
|
NamespaceItemModel.cpp \
|
2018-04-08 09:07:43 +02:00
|
|
|
Module.cpp \
|
2022-04-10 09:26:38 +02:00
|
|
|
codeeditor/EditorGutter.cpp \
|
|
|
|
|
codeeditor/CodeEditor.cpp \
|
2018-09-18 11:53:19 +02:00
|
|
|
PropertyProxyModel.cpp \
|
|
|
|
|
CodeGenerator.cpp \
|
2018-10-07 19:40:06 +02:00
|
|
|
UserConfiguration.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 \
|
2018-12-15 20:27:40 +01:00
|
|
|
EditTableWidget.cpp \
|
2018-12-28 08:51:02 +01:00
|
|
|
EditColumnTableModel.cpp \
|
2022-04-09 07:10:29 +02:00
|
|
|
DatabaseWindow.cpp \
|
2022-04-10 06:51:25 +02:00
|
|
|
widgets/SingleRecordModel.cpp \
|
2022-04-09 07:10:29 +02:00
|
|
|
widgets/SingleRecordWidget.cpp
|
2016-12-26 16:06:55 +01:00
|
|
|
|
2017-02-06 21:41:45 +01:00
|
|
|
HEADERS += \
|
2022-04-09 07:10:29 +02:00
|
|
|
catalog/delegates/IconColumnDelegate.h \
|
|
|
|
|
catalog/models/BaseTableModel.h \
|
|
|
|
|
catalog/models/ColumnTableModel.h \
|
|
|
|
|
catalog/models/ConstraintModel.h \
|
|
|
|
|
catalog/models/DatabasesTableModel.h \
|
|
|
|
|
catalog/models/DependantsTableModel.h \
|
|
|
|
|
catalog/models/IndexModel.h \
|
|
|
|
|
catalog/models/ProcTableModel.h \
|
|
|
|
|
catalog/models/RolesTableModel.h \
|
|
|
|
|
catalog/models/SequenceModel.h \
|
|
|
|
|
catalog/models/TablesTableModel.h \
|
|
|
|
|
catalog/models/TriggerTableModel.h \
|
|
|
|
|
catalog/widgets/CatalogConstraintPage.h \
|
|
|
|
|
catalog/widgets/CatalogFunctionsPage.h \
|
|
|
|
|
catalog/widgets/CatalogIndexPage.h \
|
|
|
|
|
catalog/widgets/CatalogInspector.h \
|
|
|
|
|
catalog/widgets/CatalogNamespacePage.h \
|
|
|
|
|
catalog/widgets/CatalogPageBase.h \
|
|
|
|
|
catalog/widgets/CatalogSequencesPage.h \
|
|
|
|
|
catalog/widgets/CatalogTablesPage.h \
|
|
|
|
|
catalog/widgets/CatalogTypesPage.h \
|
|
|
|
|
catalog/widgets/ColumnPage.h \
|
|
|
|
|
catalog/widgets/DependantsPage.h \
|
|
|
|
|
catalog/widgets/TriggerPage.h \
|
2022-04-10 10:29:40 +02:00
|
|
|
codeeditor/GutterPainter.h \
|
2022-04-09 07:10:29 +02:00
|
|
|
crud/CrudModel.h \
|
|
|
|
|
crud/CrudTab.h \
|
|
|
|
|
querytool/QueryExplainModel.h \
|
|
|
|
|
querytool/QueryParamListController.h \
|
|
|
|
|
querytool/QueryResultModel.h \
|
|
|
|
|
querytool/QueryTool.h \
|
|
|
|
|
serverinspector/DatabasesPage.h \
|
|
|
|
|
serverinspector/RolesPage.h \
|
|
|
|
|
serverinspector/ServerInspector.h \
|
|
|
|
|
util/PgLabItemDelegate.h \
|
|
|
|
|
util/PgLabTableView.h \
|
2019-08-24 20:47:32 +02:00
|
|
|
ConnectionConfigurationWidget.h \
|
|
|
|
|
ConnectionController.h \
|
2019-08-16 08:29:27 +02:00
|
|
|
IDatabaseWindow.h \
|
2020-04-04 13:23:43 +02:00
|
|
|
ManagedPage.h \
|
2019-08-14 06:53:28 +02:00
|
|
|
NotificationListWidget.h \
|
|
|
|
|
NotificationModel.h \
|
|
|
|
|
NotificationService.h \
|
2019-08-23 09:43:48 +02:00
|
|
|
PgDumpOutputHighlighter.h \
|
2017-12-28 07:29:07 +01:00
|
|
|
CreateDatabaseDialog.h \
|
2017-02-12 15:51:36 +01:00
|
|
|
ConnectionManagerWindow.h \
|
|
|
|
|
ConnectionListModel.h \
|
2019-08-24 20:47:32 +02:00
|
|
|
SslModeModel.h \
|
2017-01-21 18:16:57 +01:00
|
|
|
stopwatch.h \
|
2017-02-12 15:51:36 +01:00
|
|
|
TuplesResultWidget.h \
|
|
|
|
|
BackupDialog.h \
|
2017-02-04 11:55:49 +01:00
|
|
|
MasterController.h \
|
|
|
|
|
ParamTypeDelegate.h \
|
|
|
|
|
OpenDatabase.h \
|
2017-02-11 08:03:10 +01:00
|
|
|
SqlSyntaxHighlighter.h \
|
2017-11-26 13:07:21 +01:00
|
|
|
ProcessStdioWidget.h \
|
2017-12-09 10:45:13 +01:00
|
|
|
ResultTableModelUtil.h \
|
2017-12-29 08:39:08 +01:00
|
|
|
NamespaceFilterWidget.h \
|
2017-12-30 12:57:55 +01:00
|
|
|
NamespaceItemModel.h \
|
2018-04-08 09:07:43 +02:00
|
|
|
Module.h \
|
2022-04-10 09:26:38 +02:00
|
|
|
codeeditor/EditorGutter.h \
|
|
|
|
|
codeeditor/CodeEditor.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 \
|
|
|
|
|
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 \
|
2018-12-15 20:27:40 +01:00
|
|
|
EditTableWidget.h \
|
2018-12-28 08:51:02 +01:00
|
|
|
EditColumnTableModel.h \
|
2018-12-29 17:54:54 +01:00
|
|
|
DatabaseWindow.h \
|
2022-04-09 07:10:29 +02:00
|
|
|
NamespaceFilter.h \
|
|
|
|
|
util/PgLabTableViewHelper.h \
|
2022-04-10 06:51:25 +02:00
|
|
|
widgets/SingleRecordModel.h \
|
2022-04-09 07:10:29 +02:00
|
|
|
widgets/SingleRecordWidget.h
|
2016-12-26 16:06:55 +01:00
|
|
|
|
2018-12-31 15:43:22 +01:00
|
|
|
FORMS += \
|
2017-02-12 15:51:36 +01:00
|
|
|
ConnectionManagerWindow.ui \
|
2017-12-28 07:29:07 +01:00
|
|
|
CreateDatabaseDialog.ui \
|
2022-04-08 20:16:42 +02:00
|
|
|
DatabaseWindow.ui \
|
2017-02-12 15:51:36 +01:00
|
|
|
TuplesResultWidget.ui \
|
2022-04-09 07:10:29 +02:00
|
|
|
querytool/QueryTab.ui \
|
2017-12-10 08:17:07 +01:00
|
|
|
ProcessStdioWidget.ui \
|
2017-12-30 12:57:55 +01:00
|
|
|
NamespaceFilterWidget.ui \
|
2022-01-22 16:22:29 +01:00
|
|
|
crud/CrudTab.ui \
|
2022-04-09 07:10:29 +02:00
|
|
|
CodeGenerator.ui \
|
|
|
|
|
widgets/SingleRecordWidget.ui
|
2017-01-15 13:49:17 +01:00
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
|
resources.qrc
|
2017-02-13 19:51:45 +01:00
|
|
|
|
2020-04-04 13:23:43 +02:00
|
|
|
#QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
|
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
|