r19898 by craig - Fix qt< 5.3 include issue for QMarginsF

scribus-commit scribus-commit at lists.scribus.net
Tue Mar 3 20:11:57 UTC 2015


Author: craig
Date: Tue Mar  3 20:11:57 2015
New Revision: 19898

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19898
Log:
Fix qt< 5.3 include issue for QMarginsF

Modified:
    trunk/Scribus/scribus/margins.h

Modified: trunk/Scribus/scribus/margins.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19898&path=/trunk/Scribus/scribus/margins.h
==============================================================================
--- trunk/Scribus/scribus/margins.h (original)
+++ trunk/Scribus/scribus/margins.h Tue Mar  3 20:11:57 2015
@@ -18,8 +18,9 @@
 #define MARGINS_H
 
 #include <QDebug>
+#if QT_VERSION >= 0x050300
 #include <QMarginsF>
-
+#endif
 /** \brief Pagemargins and bleeds*/
 class MarginStruct
 {




More information about the scribus-commit mailing list