summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bibletime/frontend/keychooser/clexiconkeychooser.cpp11
-rw-r--r--bibletime/frontend/mainindex/cindexitem.cpp10
2 files changed, 21 insertions, 0 deletions
diff --git a/bibletime/frontend/keychooser/clexiconkeychooser.cpp b/bibletime/frontend/keychooser/clexiconkeychooser.cpp
index 94988f7..22cdebc 100644
--- a/bibletime/frontend/keychooser/clexiconkeychooser.cpp
+++ b/bibletime/frontend/keychooser/clexiconkeychooser.cpp
@@ -7,6 +7,11 @@
*
**********/
+// force to use TQt with STL
+#if defined(TQT_NO_STL)
+# define DISABLE_TQT_NO_STL
+# undef TQT_NO_STL
+#endif
#include "clexiconkeychooser.h"
@@ -176,3 +181,9 @@ void CLexiconKeyChooser::setModules( const ListCSwordModuleInfo& modules, const
void CLexiconKeyChooser::updateKey(CSwordKey*) {}
#include "clexiconkeychooser.moc"
+
+// restore TQT_NO_STL
+#if defined(DISABLE_TQT_NO_STL)
+# undef DISABLE_TQT_NO_STL
+# define TQT_NO_STL
+#endif
diff --git a/bibletime/frontend/mainindex/cindexitem.cpp b/bibletime/frontend/mainindex/cindexitem.cpp
index ec177b9..78594eb 100644
--- a/bibletime/frontend/mainindex/cindexitem.cpp
+++ b/bibletime/frontend/mainindex/cindexitem.cpp
@@ -7,6 +7,11 @@
*
**********/
+// force to use TQt with STL
+#if defined(TQT_NO_STL)
+# define DISABLE_TQT_NO_STL
+# undef TQT_NO_STL
+#endif
//BibleTime includes
@@ -1226,3 +1231,8 @@ void CGlossaryFolder::addGroup(const Type type, const TQString& fromLanguage, co
}
}
+// restore TQT_NO_STL
+#if defined(DISABLE_TQT_NO_STL)
+# undef DISABLE_TQT_NO_STL
+# define TQT_NO_STL
+#endif