Skip to content

Commit

Permalink
Merge pull request #935 from fran6co/qt5
Browse files Browse the repository at this point in the history
Fix for point_cloud_editor using QT5
  • Loading branch information
jspricke committed Oct 1, 2014
2 parents 21c5f0e + e390f36 commit b8c4320
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@

#include <QtGui>
#include <QMainWindow>
#include <QActionGroup>
#include <QSpinBox>
#include <QSlider>
#include <QMessageBox>
#include <QMenu>
#include <QMenuBar>
#include <QToolBar>
#include <pcl/apps/point_cloud_editor/localTypes.h>

// Forward declaration to prevent circular inclusion
Expand Down
2 changes: 2 additions & 0 deletions cmake/pcl_find_qt5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ if(Qt5Core_FOUND)
# set(CMAKE_AUTOMOC ON)
# set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(QT_QTOPENGL_INCLUDE_DIR Qt5OpenGL_INCLUDE_DIRS)

# Replace qt4 macros.
macro(qt4_wrap_cpp)
qt5_wrap_cpp(${ARGN})
Expand Down

0 comments on commit b8c4320

Please sign in to comment.