From e0a9bb0e8cbc53102ea7d6724331f534a53c5a76 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Tue, 28 Jun 2011 20:17:48 +0000 Subject: [PATCH] Fix compilation with QtScript introduction: http://kdenlive.org/mantis/view.php?id=2197 svn path=/trunk/kdenlive/; revision=5744 --- CMakeLists.txt | 3 +++ src/CMakeLists.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5fbc0191..256a6534 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,9 @@ else ( NOT QT_QTOPENGL_FOUND ) message(-- " Found QtOpenGL.") endif ( NOT QT_QTOPENGL_FOUND ) find_library(Qt COMPONENTS QtOpenGL REQUIRED) + +find_library(Qt COMPONENTS QtScript REQUIRED) + add_definitions(${QT_DEFINITIONS}) # Search MLT package. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7c5be436..07b1f344 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -333,6 +333,7 @@ target_link_libraries(kdenlive ${KDE4_KROSSUI_LIBS} ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} + ${QT_QTSCRIPT_LIBRARY} ) if(Q_WS_X11) -- 2.39.2