make sure -DQT_NO_DEBUG is set on windows ....
This commit is contained in:
parent
b1da019993
commit
f4a870baf2
|
@ -21,5 +21,9 @@ if (CMAKE_COMPILER_IS_GNUCXX)
|
|||
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fPIC")
|
||||
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