Enforce the use of TQt with STL only where it is necessary.

This resolves issue #6.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/7/head
Slávek Banko 2 years ago
parent 760e8bbab4
commit 6781ec107a
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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

@ -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

Loading…
Cancel
Save