QTfrontend/CMakeLists.txt
changeset 10385 15eda15df81c
parent 10384 fcf70b65667d
child 10489 bde3e43d7b27
equal deleted inserted replaced
10384:fcf70b65667d 10385:15eda15df81c
    11 set(QT_USE_QTMAIN TRUE)
    11 set(QT_USE_QTMAIN TRUE)
    12 
    12 
    13 find_package(Qt4 REQUIRED)
    13 find_package(Qt4 REQUIRED)
    14 include(${QT_USE_FILE})
    14 include(${QT_USE_FILE})
    15 
    15 
       
    16 # https://bugreports.qt-project.org/browse/QTBUG-17333
    16 if(APPLE AND
    17 if(APPLE AND
    17    ${QTVERSION} VERSION_GREATER "4.7.0" AND
    18    ${QTVERSION} VERSION_GREATER "4.7.0" AND
    18    ${QTVERSION} VERSION_LESS "4.7.4")
    19    ${QTVERSION} VERSION_LESS "4.7.4")
    19    message(FATAL_ERROR "This version of Qt is known *not* to work, please update or use a lower version")
    20    message(FATAL_ERROR "This version of Qt is known *not* to work, please update or use a lower version")
    20 endif()
    21 endif()