r23993 by craig - Include the Qt version check for Markdown importer. setMarkdown was

scribus-commit scribus-commit at lists.scribus.net
Sun Aug 23 21:38:24 UTC 2020


Author: craig
Date: Sun Aug 23 21:38:24 2020
New Revision: 23993

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23993
Log:
Include the Qt version check for Markdown importer. setMarkdown was
introduced in Qt 5.14

Modified:
    trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt

Modified: trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23993&path=/trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt	Sun Aug 23 21:38:24 2020
@@ -1,9 +1,9 @@
-#set(PLUGIN_QT_MINIMUM_VERSION 5.14.0)
+set(PLUGIN_QT_MINIMUM_VERSION 5.14.0)
 
-#if(Qt5Widgets_VERSION LESS PLUGIN_QT_MINIMUM_VERSION)
-#	MESSAGE(STATUS "Qt based Markdown plugin: Qt version < ${PLUGIN_QT_MINIMUM_VERSION} so skipping build, Installed version: ${Qt5Widgets_VERSION}")
-#else()
-#	MESSAGE(STATUS "Qt based Markdown plugin: Qt version >= ${PLUGIN_QT_MINIMUM_VERSION} Ok, Installed Qt version: ${Qt5Widgets_VERSION}")
+if(Qt5Widgets_VERSION LESS PLUGIN_QT_MINIMUM_VERSION)
+	MESSAGE(STATUS "Qt based Markdown plugin: Qt version < ${PLUGIN_QT_MINIMUM_VERSION} so skipping build, Installed version: ${Qt5Widgets_VERSION}")
+else()
+	MESSAGE(STATUS "Qt based Markdown plugin: Qt version >= ${PLUGIN_QT_MINIMUM_VERSION} Ok, Installed Qt version: ${Qt5Widgets_VERSION}")
 
 	include_directories(
 		${CMAKE_SOURCE_DIR}
@@ -28,4 +28,4 @@
 
     # set_target_properties(${SCRIBUS_FONTPREVIEW_PLUGIN} PROPERTIES VERSION "0.0.0")
 
-#endif()
+endif()




More information about the scribus-commit mailing list