forked from qt-creator/qt-creator
projectexplorer: compile windows stuff on *nix if tests are on
Change-Id: I5bf8aa8f97affb5d56ad50b55c410a9870f8d68f Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -32,8 +32,11 @@
|
||||
|
||||
#include "windebuginterface.h"
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
/*!
|
||||
\class ProjectExplorer::Internal::WinDebugInterface
|
||||
\brief Windows: Captures output of the Windows API OutputDebugString() function.
|
||||
@@ -140,3 +143,25 @@ bool WinDebugInterface::runLoop()
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
#else
|
||||
|
||||
namespace ProjectExplorer {
|
||||
namespace Internal {
|
||||
|
||||
WinDebugInterface *WinDebugInterface::m_instance = 0;
|
||||
|
||||
WinDebugInterface *WinDebugInterface::instance() { return 0; }
|
||||
|
||||
WinDebugInterface::WinDebugInterface(QObject *) {}
|
||||
|
||||
WinDebugInterface::~WinDebugInterface() {}
|
||||
|
||||
void WinDebugInterface::run() {}
|
||||
|
||||
bool WinDebugInterface::runLoop() { return false; }
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user