diff options
Diffstat (limited to 'SQLiteStudio3/SQLiteStudio3.pro')
| -rw-r--r-- | SQLiteStudio3/SQLiteStudio3.pro | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/SQLiteStudio3/SQLiteStudio3.pro b/SQLiteStudio3/SQLiteStudio3.pro index 3d19c5c..7a6a433 100644 --- a/SQLiteStudio3/SQLiteStudio3.pro +++ b/SQLiteStudio3/SQLiteStudio3.pro @@ -1,5 +1,15 @@ TEMPLATE = subdirs
+REQ_QT_MAJOR = 5
+REQ_QT_MINOR = 3
+REQ_QT_PATCH = 0
+
+lessThan(QT_MAJOR_VERSION, $$REQ_QT_MAJOR)|lessThan(QT_MINOR_VERSION, $$REQ_QT_MINOR)|lessThan(QT_MINOR_VERSION, $$REQ_QT_PATCH) {
+ error($$sprintf("Required Qt version is at least %1.%2.%3. This Qt version is %4.%5.%6.", \
+ $$REQ_QT_MAJOR, $$REQ_QT_MINOR, $$REQ_QT_PATCH, \
+ $$QT_MAJOR_VERSION, $$QT_MINOR_VERSION, $$QT_PATCH_VERSION))
+}
+
core.subdir = coreSQLiteStudio
tests.subdir = Tests
@@ -14,9 +24,6 @@ cli.depends = core gui_app.subdir = sqlitestudio
gui_app.depends = gui
-update_app.subdir = UpdateSQLiteStudio
-update_app.depends = core
-
SUBDIRS += \
core \
gui \
@@ -29,11 +36,6 @@ if(contains(DEFINES,tests)) { OUTPUT_DIR_NAME = output
-win32: {
- SUBDIRS += update_app
-}
-
-
macx: {
bundle.commands = sh $$PWD/create_macosx_bundle.sh $$PWD/../$$OUTPUT_DIR_NAME $$QMAKE_QMAKE
dmg.commands = sh $$PWD/create_macosx_bundle.sh $$PWD/../$$OUTPUT_DIR_NAME $$QMAKE_QMAKE dmg
|
