make sure -DQT_NO_DEBUG is set on windows ....
This commit is contained in:
parent
b1da019993
commit
f4a870baf2
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue