Commit 311021decbd52c1ab0e4bc37816220154c6b0f86
Committed by
David Gräff
1 parent
25e567f1
Minimum Qt version is Qt5.4 now (10th Dec 2014)
Showing
2 changed files
with
5 additions
and
1 deletions
openhantek/CMakeLists.txt
| @@ -8,6 +8,10 @@ set(CMAKE_AUTOMOC ON) | @@ -8,6 +8,10 @@ set(CMAKE_AUTOMOC ON) | ||
| 8 | set(CMAKE_AUTOUIC ON) | 8 | set(CMAKE_AUTOUIC ON) |
| 9 | set(CMAKE_AUTORCC ON) | 9 | set(CMAKE_AUTORCC ON) |
| 10 | 10 | ||
| 11 | +if (Qt5Widgets_VERSION VERSION_LESS 5.4.0) | ||
| 12 | + message(FATAL_ERROR "Minimum supported Qt5 version is 5.4.0!") | ||
| 13 | +endif() | ||
| 14 | + | ||
| 11 | # include directories | 15 | # include directories |
| 12 | set(CMAKE_INCLUDE_CURRENT_DIR ON) | 16 | set(CMAKE_INCLUDE_CURRENT_DIR ON) |
| 13 | include_directories(src/ src/hantek src/analyse src/widgets src/docks src/configdialog) | 17 | include_directories(src/ src/hantek src/analyse src/widgets src/docks src/configdialog) |
readme.md
| @@ -22,7 +22,7 @@ Navigate to the [Releases](https://github.com/OpenHantek/openhantek/releases) pa | @@ -22,7 +22,7 @@ Navigate to the [Releases](https://github.com/OpenHantek/openhantek/releases) pa | ||
| 22 | ## Building OpenHantek from source | 22 | ## Building OpenHantek from source |
| 23 | You need the following packages, to build OpenHantek from source: | 23 | You need the following packages, to build OpenHantek from source: |
| 24 | * CMake 3.5+ | 24 | * CMake 3.5+ |
| 25 | -* Qt 5.3+ | 25 | +* Qt 5.4+ |
| 26 | * FFTW 3+ (prebuild files will be downloaded on windows) | 26 | * FFTW 3+ (prebuild files will be downloaded on windows) |
| 27 | * libusb 1.x (prebuild files will be used on windows) | 27 | * libusb 1.x (prebuild files will be used on windows) |
| 28 | 28 |