From: Jean-Baptiste Mardelle Date: Tue, 28 Jun 2011 20:17:48 +0000 (+0000) Subject: Fix compilation with QtScript introduction: X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e0a9bb0e8cbc53102ea7d6724331f534a53c5a76;p=kdenlive Fix compilation with QtScript introduction: http://kdenlive.org/mantis/view.php?id=2197 svn path=/trunk/kdenlive/; revision=5744 --- 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)