Last active
March 9, 2017 14:20
-
-
Save justinthomas/3d053aa586d09a56cee08e09e174edc0 to your computer and use it in GitHub Desktop.
Patch for rviz on OSX when using PyQt5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ./src/rviz/ogre_helpers/render_system.cpp 2017-03-09 16:57:51.000000000 +0400 | |
+++ ./src/rviz/ogre_helpers/render_system.cpp 2017-03-09 16:56:24.000000000 +0400 | |
@@ -31,6 +31,7 @@ | |
// This is required for QT_MAC_USE_COCOA to be set | |
#include <QtCore/qglobal.h> | |
+#define QT_MAC_USE_COCOA | |
#ifndef Q_OS_MAC | |
#include <X11/Xlib.h> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment