Skip to content

Commit

Permalink
Add #include that's required with Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrrees committed Jun 3, 2015
1 parent c3808cd commit 5ced7e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Gui/GuiApplicationNativeEventAware.h
Expand Up @@ -31,6 +31,7 @@ class QMainWindow;


#ifdef _USE_3DCONNEXION_SDK

#ifdef Q_WS_WIN
#include "3Dconnexion/MouseParameters.h"

Expand All @@ -41,14 +42,17 @@ class QMainWindow;

#include <Windows.h>
#endif // Q_WS_WIN

#ifdef Q_WS_MACX
#include <IOKit/IOKitLib.h>
#include <3DconnexionClient/ConnexionClientAPI.h>
extern OSErr InstallConnexionHandlers(ConnexionMessageHandlerProc messageHandler, ConnexionAddedHandlerProc addedHandler, ConnexionRemovedHandlerProc removedHandler)
__attribute__((weak_import));
extern UInt16 RegisterConnexionClient(UInt32 signature, UInt8 *name, UInt16 mode, UInt32 mask) __attribute__((weak_import));
extern void UnregisterConnexionClient(UInt16 clientID) __attribute__((weak_import));
extern void CleanupConnexionHandlers(void) __attribute__((weak_import));
#endif // Q_WS_MACX

#endif // _USE_3DCONNEXION_SDK

namespace Gui
Expand Down

1 comment on commit 5ced7e5

@MartinMajewski
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change fixed my building issues! Thank you.

Please sign in to comment.