From 5eb938208e3ef0f9c2d8aecde27d03cd4564e255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 18 Sep 2016 20:13:23 +0200 Subject: Fix build with KDE_DEFAULT_CXXFLAGS Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/rtf2html/rtf2html.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/rtf2html') diff --git a/src/rtf2html/rtf2html.cpp b/src/rtf2html/rtf2html.cpp index e6e8b34..eec9caa 100644 --- a/src/rtf2html/rtf2html.cpp +++ b/src/rtf2html/rtf2html.cpp @@ -14,6 +14,12 @@ * * ***************************************************************************/ +// force to use QT with STL +#if defined(QT_NO_STL) +# define DISABLE_QT_NO_STL +# undef QT_NO_STL +#endif + #include "rtf2html.h" #include "rtf_table.h" #include "rtf_tools.h" @@ -529,3 +535,8 @@ TQString RTF2HTML::toHTML() const { return html; } +// restore QT_NO_STL +#if defined(DISABLE_QT_NO_STL) +# undef DISABLE_QT_NO_STL +# define QT_NO_STL +#endif -- cgit v1.2.1