From 2754bff429e69048d9c2f95b55c6bd89fccb03fa Mon Sep 17 00:00:00 2001 From: Sacha Date: Fri, 18 Jul 2014 05:01:20 +1000 Subject: [PATCH] Error when attempting to use Qt via CMake. Otherwise it will build successfully but not actually run, confusing users. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e37306e95..69ec56bfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)