make sure -DQT_NO_DEBUG is set on windows ....

This commit is contained in:
Patrick von Reth 2013-10-15 17:40:59 +02:00
parent b1da019993
commit f4a870baf2
2 changed files with 6 additions and 2 deletions

View File

@ -22,4 +22,8 @@ if (CMAKE_COMPILER_IS_GNUCXX)
add_definitions (-D_BSD_SOURCE)
endif (CMAKE_SYSTEM_NAME MATCHES Linux)
if(WIN32)
add_definitions(-DQT_NO_DEBUG -DQT_FORCE_ASSERTS)
endif(WIN32)
endif(CMAKE_COMPILER_IS_GNUCXX)

View File

@ -32,13 +32,13 @@ class Application;
class SnoreCore;
class SNORE_EXPORT SnorePlugin:public QObject
class SNORE_EXPORT SnorePlugin : public QObject
{
Q_OBJECT
public:
SnorePlugin ( const QString &name);
virtual ~SnorePlugin();
virtual bool init( SnoreCore* snore );
virtual bool init( SnoreCore *snore );
bool isInitialized();
SnoreCore* snore();
const QString &name() const;