[vlmc-devel] CMakeLists: Add QtQuick to the list of Qt modules

Hugo Beauzée-Luyssen git at videolan.org
Mon Jul 4 15:34:52 CEST 2016


vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jul  4 15:30:56 2016 +0200| [b1bc1394e18547bcd7eb1af2cb92a5b9665817fb] | committer: Hugo Beauzée-Luyssen

CMakeLists: Add QtQuick to the list of Qt modules

> https://code.videolan.org/videolan/vlmc/commit/b1bc1394e18547bcd7eb1af2cb92a5b9665817fb
---

 src/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e611efd..7bc7943 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -17,7 +17,7 @@ find_package(Qt5Core QUIET)
 if (Qt5Core_FOUND)
     # go on with other packages
     if(WITH_GUI)
-        find_package(Qt5 COMPONENTS Widgets Gui Network)
+        find_package(Qt5 COMPONENTS Widgets Gui Network Quick)
     else()
         find_package(Qt5 COMPONENTS Network)
     endif()
@@ -292,7 +292,7 @@ ELSE(NOT WITH_GUI)
 
     ADD_EXECUTABLE( vlmc ${GUI_TYPE} ${VLMC_SRCS} ${VLMC_MOC_SRCS} ${VLMC_UIS_H} ${VLMC_RCC_SRCS} )
     TARGET_LINK_LIBRARIES( vlmc ${VLMC_LIBS} )
-    qt5_use_modules(vlmc Core Gui Widgets Network)
+    qt5_use_modules(vlmc Core Gui Widgets Network Quick)
 ENDIF( NOT WITH_GUI )
 
 add_dependencies(vlmc libvlcpp)



More information about the Vlmc-devel mailing list