Skip to content

Commit

Permalink
fix moc compilation error in some gui plugins, using fix from #2681
Browse files Browse the repository at this point in the history
  • Loading branch information
scpeters committed Mar 27, 2020
1 parent 8a48d84 commit 5e4938c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@

#include <gazebo/common/Plugin.hh>
#include <gazebo/gui/GuiPlugin.hh>
// moc parsing error of tbb headers
#ifndef Q_MOC_RUN
#include <gazebo/transport/transport.hh>
#endif

namespace gazebo
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@

#include <gazebo/common/Plugin.hh>
#include <gazebo/gui/GuiPlugin.hh>
// moc parsing error of tbb headers
#ifndef Q_MOC_RUN
#include <gazebo/transport/transport.hh>
#endif

namespace gazebo
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@

#include <gazebo/common/Plugin.hh>
#include <gazebo/gui/GuiPlugin.hh>
// moc parsing error of tbb headers
#ifndef Q_MOC_RUN
#include <gazebo/transport/transport.hh>
#endif

namespace gazebo
{
Expand Down

0 comments on commit 5e4938c

Please sign in to comment.