Error when attempting to use Qt via CMake. Otherwise it will build successfully but not actually run, confusing users.

This commit is contained in:
Sacha 2014-07-18 05:01:20 +10:00
parent c33833284f
commit 2754bff429

View File

@ -709,6 +709,7 @@ elseif(IOS)
set(TargetBin PPSSPP)
elseif(USING_QT_UI)
# Currently unused
message(FATAL_ERROR "Cmake does not yet support Qt. Please use qmake instead.")
find_package(Qt4 COMPONENTS QtMultimedia QtOpenGL QtGui QtCore)
include(${QT_USE_FILE})
qt4_wrap_cpp(nativeQtHeader native/base/QtMain.h)