230 lines
7 KiB
Prolog
230 lines
7 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2016-11-11T09:17:13
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT += core gui concurrent
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
|
|
|
|
|
TARGET = pglab
|
|
TEMPLATE = app
|
|
|
|
! include( ../common.pri ) {
|
|
error( "Couldn't find the common.pri file!" )
|
|
}
|
|
|
|
DEFINES += _WIN32_WINNT=0x0501
|
|
|
|
win32:RC_ICONS += pglab.ico
|
|
|
|
SOURCES += main.cpp\
|
|
QueryResultModel.cpp \
|
|
QueryExplainModel.cpp \
|
|
CreateDatabaseDialog.cpp \
|
|
ConnectionManagerWindow.cpp \
|
|
ConnectionListModel.cpp \
|
|
BackupRestore.cpp \
|
|
stopwatch.cpp \
|
|
TuplesResultWidget.cpp \
|
|
BackupDialog.cpp \
|
|
MasterController.cpp \
|
|
ParamTypeDelegate.cpp \
|
|
OpenDatabase.cpp \
|
|
SqlSyntaxHighlighter.cpp \
|
|
ServerWindow.cpp \
|
|
DatabasesTableModel.cpp \
|
|
RolesTableModel.cpp \
|
|
ConnectionList.cpp \
|
|
ProcessStdioWidget.cpp \
|
|
GlobalIoService.cpp \
|
|
ResultTableModelUtil.cpp \
|
|
BaseTableModel.cpp \
|
|
QueryParamListController.cpp \
|
|
TablesTableModel.cpp \
|
|
ColumnTableModel.cpp \
|
|
NamespaceFilterWidget.cpp \
|
|
NamespaceItemModel.cpp \
|
|
ConstraintModel.cpp \
|
|
IconColumnDelegate.cpp \
|
|
IndexModel.cpp \
|
|
CrudTab.cpp \
|
|
CrudModel.cpp \
|
|
PgLabItemDelegate.cpp \
|
|
Module.cpp \
|
|
EditorGutter.cpp \
|
|
CodeEditor.cpp \
|
|
PropertyProxyModel.cpp \
|
|
CodeGenerator.cpp \
|
|
UserConfiguration.cpp \
|
|
TriggerTableModel.cpp \
|
|
TriggerPage.cpp \
|
|
SqlCodePreview.cpp \
|
|
CustomFilterSortModel.cpp \
|
|
PropertiesPage.cpp \
|
|
PasswordPromptDialog.cpp \
|
|
ProcTableModel.cpp \
|
|
ColumnPage.cpp \
|
|
EditTableWidget.cpp \
|
|
EditColumnTableModel.cpp \
|
|
SequenceModel.cpp \
|
|
DatabaseWindow.cpp \
|
|
PgLabTableView.cpp \
|
|
plugin_support/PluginModule.cpp \
|
|
plugin_support/MenuPath.cpp \
|
|
plugin_support/MenuLocation.cpp \
|
|
plugin_support/ToolbarLocation.cpp \
|
|
plugin_support/PluginRegister.cpp \
|
|
plugin_support/PluginContentWidget.cpp \
|
|
plugin_support/PluginContentWidgetContextBase.cpp \
|
|
plugin_support/LMainWindow.cpp \
|
|
QueryTool.cpp \
|
|
QueryToolModule.cpp \
|
|
CatalogInspector.cpp \
|
|
plugin_support/StaticAction.cpp \
|
|
plugin_support/LMainMenu.cpp \
|
|
widgets/CatalogIndexPage.cpp \
|
|
widgets/CatalogPageBase.cpp \
|
|
widgets/CatalogConstraintPage.cpp \
|
|
widgets/CatalogTablesPage.cpp \
|
|
widgets/CatalogFunctionsPage.cpp \
|
|
widgets/CatalogSequencesPage.cpp
|
|
|
|
HEADERS += \
|
|
QueryResultModel.h \
|
|
QueryExplainModel.h \
|
|
CreateDatabaseDialog.h \
|
|
ConnectionManagerWindow.h \
|
|
ConnectionListModel.h \
|
|
stopwatch.h \
|
|
TuplesResultWidget.h \
|
|
BackupDialog.h \
|
|
MasterController.h \
|
|
ParamTypeDelegate.h \
|
|
OpenDatabase.h \
|
|
SqlSyntaxHighlighter.h \
|
|
ServerWindow.h \
|
|
DatabasesTableModel.h \
|
|
RolesTableModel.h \
|
|
ConnectionList.h \
|
|
ProcessStdioWidget.h \
|
|
GlobalIoService.h \
|
|
ResultTableModelUtil.h \
|
|
BaseTableModel.h \
|
|
QueryParamListController.h \
|
|
TablesTableModel.h \
|
|
ColumnTableModel.h \
|
|
NamespaceFilterWidget.h \
|
|
NamespaceItemModel.h \
|
|
ConstraintModel.h \
|
|
IconColumnDelegate.h \
|
|
IndexModel.h \
|
|
CrudTab.h \
|
|
CrudModel.h \
|
|
PgLabItemDelegate.h \
|
|
Module.h \
|
|
EditorGutter.h \
|
|
CodeEditor.h \
|
|
AbstractCommand.h \
|
|
PropertyProxyModel.h \
|
|
CustomDataRole.h \
|
|
CodeGenerator.h \
|
|
UserConfiguration.h \
|
|
TriggerTableModel.h \
|
|
TriggerPage.h \
|
|
SqlCodePreview.h \
|
|
CustomFilterSortModel.h \
|
|
PropertiesPage.h \
|
|
PasswordPromptDialog.h \
|
|
ProcTableModel.h \
|
|
ColumnPage.h \
|
|
EditTableWidget.h \
|
|
EditColumnTableModel.h \
|
|
SequenceModel.h \
|
|
DatabaseWindow.h \
|
|
PgLabTableView.h \
|
|
plugin_support/PluginModule.h \
|
|
plugin_support/MenuPath.h \
|
|
plugin_support/MenuLocation.h \
|
|
plugin_support/ToolbarLocation.h \
|
|
plugin_support/PluginRegister.h \
|
|
plugin_support/PluginContentWidget.h \
|
|
plugin_support/ModuleActionParameters.h \
|
|
plugin_support/IPluginContentWidgetContext.h \
|
|
plugin_support/PluginContentWidgetContextBase.h \
|
|
plugin_support/LMainWindow.h \
|
|
QueryTool.h \
|
|
QueryToolModule.h \
|
|
CatalogInspector.h \
|
|
plugin_support/StaticAction.h \
|
|
plugin_support/LMainMenu.h \
|
|
widgets/CatalogIndexPage.h \
|
|
widgets/CatalogPageBase.h \
|
|
widgets/CatalogConstraintPage.h \
|
|
widgets/CatalogTablesPage.h \
|
|
widgets/CatalogFunctionsPage.h \
|
|
widgets/CatalogSequencesPage.h \
|
|
NamespaceFilter.h
|
|
|
|
FORMS += \
|
|
ConnectionManagerWindow.ui \
|
|
CreateDatabaseDialog.ui \
|
|
TuplesResultWidget.ui \
|
|
QueryTab.ui \
|
|
ServerWindow.ui \
|
|
ProcessStdioWidget.ui \
|
|
NamespaceFilterWidget.ui \
|
|
CrudTab.ui \
|
|
CodeGenerator.ui
|
|
|
|
RESOURCES += \
|
|
resources.qrc
|
|
|
|
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
|
|
|
|
LIBS += -Lc:/prog/lib/
|
|
|
|
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
|
|
|
|
INCLUDEPATH += $$PWD/../core
|
|
DEPENDPATH += $$PWD/../core
|
|
|
|
win32:CONFIG(debug, debug|release): LIBS += -lbotand
|
|
else:win32:CONFIG(release, debug|release): LIBS += -lbotan
|
|
|
|
|
|
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
|
|
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
|
|
|
|
|
|
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
|