Skip to content

Commit

Permalink
Fix visibility problems on Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Nov 16, 2023
1 parent a583fa6 commit 35cb313
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/plugins/image_display/ImageDisplay.hh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace plugins
/// \<topic\> : Set the topic to receive image messages.
/// \<topic_picker\> : Whether to show the topic picker, true by default. If
/// this is false, a \<topic\> must be specified.
class ImageDisplay_EXPORTS_API ImageDisplay : public Plugin
class GZ_GUI_VISIBLE ImageDisplay : public Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/key_publisher/KeyPublisher.hh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace gui
///
/// ## Configuration
/// This plugin doesn't accept any custom configuration.
class KeyPublisher_EXPORTS_API KeyPublisher : public gz::gui::Plugin
class GZ_GUI_VISIBLE KeyPublisher : public gz::gui::Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/publisher/Publisher.hh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace plugins
///
/// ## Configuration
/// This plugin doesn't accept any custom configuration.
class Publisher_EXPORTS_API Publisher : public Plugin
class GZ_GUI_VISIBLE Publisher : public Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/shutdown_button/ShutdownButton.hh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace gui
namespace plugins
{
/// \brief This plugin provides a shutdown button.
class ShutdownButton_EXPORTS_API ShutdownButton: public gz::gui::Plugin
class GZ_GUI_VISIBLE ShutdownButton: public gz::gui::Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/teleop/Teleop.hh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace plugins
/// vehicle in the world.
/// ## Configuration
/// * `<topic>`: Topic to publish twist messages to.
class Teleop_EXPORTS_API Teleop : public Plugin
class GZ_GUI_VISIBLE Teleop : public Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/topic_echo/TopicEcho.hh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace plugins
///
/// ## Configuration
/// This plugin doesn't accept any custom configuration.
class TopicEcho_EXPORTS_API TopicEcho : public Plugin
class GZ_GUI_VISIBLE TopicEcho : public Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/topic_viewer/TopicViewer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace plugins

/// \brief a Plugin to view the topics and their msgs & fields
/// Field's informations can be passed by dragging them via the UI
class TopicViewer_EXPORTS_API TopicViewer : public Plugin
class GZ_GUI_VISIBLE TopicViewer : public Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/world_control/WorldControl.hh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace plugins
///
/// If no elements are filled for the plugin, both the play/pause and the
/// step buttons will be displayed.
class WorldControl_EXPORTS_API WorldControl: public gz::gui::Plugin
class GZ_GUI_VISIBLE WorldControl: public gz::gui::Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/world_control/WorldControlEventListener.hh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace gui
/// \brief Helper class for testing listening to events emitted by the
/// WorldControl plugin. This is used for testing the event behavior of
/// the WorldControl plugin.
class WorldControlEventListener : public QObject
class GZ_GUI_VISIBLE WorldControlEventListener : public QObject
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/world_stats/WorldStats.hh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace plugins
///
/// If no elements are filled for the plugin, all properties will be
/// displayed.
class WorldStats_EXPORTS_API WorldStats: public gz::gui::Plugin
class GZ_GUI_VISIBLE WorldStats: public gz::gui::Plugin
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion test/helpers/TestHelper.hh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace gz
namespace gui
{
/// \brief
class TestHelper_EXPORTS_API TestHelper : public QObject
class GZ_GUI_VISIBLE TestHelper : public QObject
{
Q_OBJECT

Expand Down

0 comments on commit 35cb313

Please sign in to comment.