r18403 by craig - Ensure we have the Qt linguist tools, from opensuse
scribus-commit
scribus-commit at lists.scribus.net
Thu Aug 1 21:19:22 UTC 2013
Author: craig
Date: Thu Aug 1 21:19:21 2013
New Revision: 18403
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18403
Log:
Ensure we have the Qt linguist tools, from opensuse
Modified:
trunk/Scribus/CMakeLists.txt
trunk/Scribus/resources/translations/po/CMakeLists.txt
Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18403&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt (original)
+++ trunk/Scribus/CMakeLists.txt Thu Aug 1 21:19:21 2013
@@ -496,6 +496,12 @@
ELSE(Qt5OpenGL_FOUND)
MESSAGE(FATAL_ERROR "ERROR: No Qt5OpenGL found")
ENDIF(Qt5OpenGL_FOUND)
+ FIND_PACKAGE(Qt5LinguistTools REQUIRED)
+ IF(Qt5LinguistTools_FOUND)
+ MESSAGE(STATUS "----- USE Qt5LinguistTools -----")
+ ELSE(Qt5LinguistTools_FOUND)
+ MESSAGE(FATAL_ERROR "ERROR: No Qt5LinguistTools found")
+ ENDIF(Qt5LinguistTools_FOUND)
INCLUDE_DIRECTORIES(${Qt5Core_INCLUDE_DIRS})
ADD_DEFINITIONS(${Qt5Core_DEFINITIONS})
INCLUDE_DIRECTORIES(${Qt5Widgets_INCLUDE_DIRS})
Modified: trunk/Scribus/resources/translations/po/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18403&path=/trunk/Scribus/resources/translations/po/CMakeLists.txt
==============================================================================
--- trunk/Scribus/resources/translations/po/CMakeLists.txt (original)
+++ trunk/Scribus/resources/translations/po/CMakeLists.txt Thu Aug 1 21:19:21 2013
@@ -4,7 +4,7 @@
SET(LRELEASE_EXECUTABLE ${QT_LRELEASE_EXECUTABLE})
IF (USE_QT5)
- SET(LRELEASE_EXECUTABLE lrelease)
+ SET(LRELEASE_EXECUTABLE ${Qt5_LRELEASE_EXECUTABLE})
ENDIF (USE_QT5)
#Install our qm files, selected from *.qm in this directory
More information about the scribus-commit
mailing list