Merge branch 'fix-Qt5-non-Windows' into release

This commit is contained in:
Brad King 2014-03-19 10:54:18 -04:00
commit aee06336b8
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if (Qt5Widgets_FOUND)
qt5_add_resources(${ARGN})
endmacro()
set(CMake_QT_LIBRARIES ${Qt5Widgets_LIBRARIES})
set(QT_QTMAIN_LIBRARY Qt5::WinMain)
set(QT_QTMAIN_LIBRARY ${Qt5Core_QTMAIN_LIBRARIES})
# Remove this when the minimum version of Qt is 4.6.
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0)