Browse Source

Upgrade Qt version since GRPC requires attributes that are available in Qt5.11

Alexey Edelev 6 years ago
parent
commit
2f9532b561
2 changed files with 2 additions and 3 deletions
  1. 0 1
      src/grpc/CMakeLists.txt
  2. 2 2
      src/protobuf/CMakeLists.txt

+ 0 - 1
src/grpc/CMakeLists.txt

@@ -15,7 +15,6 @@ if(Qt5_POSITION_INDEPENDENT_CODE)
   set(CMAKE_POSITION_INDEPENDENT_CODE ON)
 endif()
 
-
 file(GLOB SOURCES asyncreply.cpp
     abstractchannel.cpp
     http2channel.cpp

+ 2 - 2
src/protobuf/CMakeLists.txt

@@ -1,6 +1,6 @@
 find_package(Qt5 COMPONENTS Core REQUIRED)
-if (Qt5Core_VERSION VERSION_LESS "5.8.0")
-    message(FATAL_ERROR "Required Qt version is 5.8+")
+if (Qt5Core_VERSION VERSION_LESS "5.11.0")
+    message(FATAL_ERROR "Required Qt version is 5.11+")
 endif()
 
 set(SUPPORT_LIBRARY_TARGET qtprotobufsupport)