#------------------------------------------------- # # Project created by QtCreator 2016-11-11T09:17:13 # #------------------------------------------------- CONFIG += c++17 QT += core gui concurrent greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql QMAKE_CXXFLAGS += /std:c++17 TARGET = pglab TEMPLATE = app INCLUDEPATH += C:\prog\include C:\Prog\include\pgsql C:\VSproj\boost32\include\boost-1_65_1 DEFINES += WIN32_LEAN_AND_MEAN NOMINMAX _WIN32_WINNT=0x0501 #LIBS += -LC:/prog/boost/lib -Lc:/prog/lib libpq.lib fmt.lib User32.lib ws2_32.lib LIBS += -LC:\VSproj\boost32\lib -LC:/PROG/LIB -lws2_32 -llibpq #debug { LIBS += c:/prog/lib/botand_imp.lib #} #release { #LIBS += c:/prog/lib/botan.lib #} win32:RC_ICONS += pglab.ico SOURCES += main.cpp\ QueryResultModel.cpp \ QueryExplainModel.cpp \ tsqueue.cpp \ CreateDatabaseDialog.cpp \ ConnectionManagerWindow.cpp \ ConnectionListModel.cpp \ BackupRestore.cpp \ QueryTab.cpp \ stopwatch.cpp \ TuplesResultWidget.cpp \ BackupDialog.cpp \ TypeSelectionItemModel.cpp \ MasterController.cpp \ ParamTypeDelegate.cpp \ OpenDatabase.cpp \ MainWindow.cpp \ SqlSyntaxHighlighter.cpp \ ServerWindow.cpp \ ASyncWindow.cpp \ DatabasesTableModel.cpp \ RolesTableModel.cpp \ ConnectionList.cpp \ ProcessStdioWidget.cpp \ GlobalIoService.cpp \ ResultTableModelUtil.cpp \ BaseTableModel.cpp \ QueryParamListController.cpp \ TablesPage.cpp \ TablesTableModel.cpp \ ColumnTableModel.cpp \ NamespaceFilterWidget.cpp \ NamespaceItemModel.cpp \ ApplicationWindow.cpp \ ConstraintModel.cpp \ IconColumnDelegate.cpp \ IndexModel.cpp \ CrudTab.cpp \ CrudModel.cpp \ PgLabItemDelegate.cpp \ Module.cpp \ EditorGutter.cpp \ CodeEditor.cpp \ PlgPage.cpp \ PropertyProxyModel.cpp \ CodeGenerator.cpp \ UserConfiguration.cpp HEADERS += \ QueryResultModel.h \ QueryExplainModel.h \ tsqueue.h \ CreateDatabaseDialog.h \ ConnectionManagerWindow.h \ ConnectionListModel.h \ QueryTab.h \ stopwatch.h \ TuplesResultWidget.h \ BackupDialog.h \ TypeSelectionItemModel.h \ MasterController.h \ ParamTypeDelegate.h \ OpenDatabase.h \ MainWindow.h \ SqlSyntaxHighlighter.h \ ServerWindow.h \ ASyncWindow.h \ DatabasesTableModel.h \ RolesTableModel.h \ ConnectionList.h \ ProcessStdioWidget.h \ GlobalIoService.h \ CodeBuilderConfiguration.h \ ResultTableModelUtil.h \ BaseTableModel.h \ QueryParamListController.h \ TablesPage.h \ TablesTableModel.h \ ColumnTableModel.h \ NamespaceFilterWidget.h \ NamespaceItemModel.h \ ApplicationWindow.h \ ConstraintModel.h \ IconColumnDelegate.h \ IndexModel.h \ CrudTab.h \ CrudModel.h \ PgLabItemDelegate.h \ Module.h \ EditorGutter.h \ CodeEditor.h \ PlgPage.h \ AbstractCommand.h \ PropertyProxyModel.h \ CustomDataRole.h \ CodeGenerator.h \ UserConfiguration.h FORMS += mainwindow.ui \ ConnectionManagerWindow.ui \ CreateDatabaseDialog.ui \ TuplesResultWidget.ui \ QueryTab.ui \ BackupDialog.ui \ ServerWindow.ui \ ProcessStdioWidget.ui \ TablesPage.ui \ NamespaceFilterWidget.ui \ ApplicationWindow.ui \ CrudTab.ui \ CodeGenerator.ui RESOURCES += \ resources.qrc QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01 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-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