Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add _3D_EXPORT
  • Loading branch information
NEDJIMAbelgacem committed Aug 2, 2020
1 parent 8501959 commit 717b58e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/3d/qgsskyboxentity.h
Expand Up @@ -28,14 +28,15 @@
#include <Qt3DExtras/QPlaneMesh>
#include <Qt3DRender/QParameter>

#include "qgis_3d.h"

/**
* \brief base class for all skybox types
* It holds the commun member data between different skybox entity types
* \ingroup 3d
* \since QGIS 3.16
*/
class QgsSkyboxEntity : public Qt3DCore::QEntity
class _3D_EXPORT QgsSkyboxEntity : public Qt3DCore::QEntity
{
Q_OBJECT
public:
Expand All @@ -58,7 +59,7 @@ class QgsSkyboxEntity : public Qt3DCore::QEntity
* \ingroup 3d
* \since QGIS 3.16
*/
class QgsHDRSkyboxEntity : public QgsSkyboxEntity
class _3D_EXPORT QgsHDRSkyboxEntity : public QgsSkyboxEntity
{
public:
//! Construct a skybox from a high resolution 360 image
Expand All @@ -79,7 +80,7 @@ class QgsHDRSkyboxEntity : public QgsSkyboxEntity
* \ingroup 3d
* \since QGIS 3.16
*/
class QgsCubeFacesSkyboxEntity : public QgsSkyboxEntity
class _3D_EXPORT QgsCubeFacesSkyboxEntity : public QgsSkyboxEntity
{
public:
//! Constructs a skybox from 6 different images
Expand Down
3 changes: 2 additions & 1 deletion src/3d/qgsskyboxsettings.h
Expand Up @@ -22,13 +22,14 @@

#include "qgsreadwritecontext.h"
#include "qgssymbollayerutils.h"
#include "qgis_3d.h"

/**
* \brief class containing the configuration of a skybox entity
* \ingroup 3d
* \since QGIS 3.16
*/
class QgsSkyboxSettings
class _3D_EXPORT QgsSkyboxSettings
{
public:

Expand Down

0 comments on commit 717b58e

Please sign in to comment.