Commit 9c0c9486 authored by Matthias Möller's avatar Matthias Möller
Browse files

switched QT version warning from compiler warning to configure warning.

Appears right after Qt was found in OF

closes #2528

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 77695504
......@@ -62,10 +62,19 @@ if (QT4_FOUND)
message(STATUS "Using QT4 for OpenFlipper")
message(STATUS "Using QT5 for OpenFlipper")
set (OF_MAX_QT_VERSION "5.3.2")
message(WARNING "Detected QT Version higher than ${OF_MAX_QT_VERSION}!\n"
"OpenFlipper has not been tested with this QT Version on Windows.")
message(FATAL_ERROR "Could not found any QT Version. Please specify QT5_INSTALL_PATH (path to bin and include dir) to build with QT5 or specify the QT_QMAKE_EXECUTABLE to build with QT4")
if (QT5_FOUND)
acg_openmp ()
#acg_ftgl ()
......@@ -73,17 +73,6 @@
#define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__ * 10)
#if QT_VERSION > 0x050302
#ifdef WIN32
#pragma message("Detected QT Version higher than 5.3.2!")
#pragma message("OpenFlipper has not been tested with this QT Version on Windows.")
#warning Detected QT Version higher than 5.3.2!
#warning OpenFlipper has not been tested with this QT Version.
//== DEEFINES =================================================================
/** Force static casts for Properties in OpenMesh.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment