mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
expose Qgs3dMapCanvas in app lib
This commit is contained in:
parent
8bebb66687
commit
3556ece363
@ -20,6 +20,8 @@
|
|||||||
#include <Qt3DRender/QRenderCapture>
|
#include <Qt3DRender/QRenderCapture>
|
||||||
#include <QSplitter>
|
#include <QSplitter>
|
||||||
|
|
||||||
|
#include "qgis_app.h"
|
||||||
|
|
||||||
#include "qgsrange.h"
|
#include "qgsrange.h"
|
||||||
#include "qgscameracontroller.h"
|
#include "qgscameracontroller.h"
|
||||||
#include "qgsrectangle.h"
|
#include "qgsrectangle.h"
|
||||||
@ -43,7 +45,7 @@ class Qgs3DNavigationWidget;
|
|||||||
class QgsTemporalController;
|
class QgsTemporalController;
|
||||||
class QgsRubberBand;
|
class QgsRubberBand;
|
||||||
|
|
||||||
class Qgs3DMapCanvas : public QWidget
|
class APP_EXPORT Qgs3DMapCanvas : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
@ -24,8 +24,6 @@ include_directories(SYSTEM
|
|||||||
|
|
||||||
add_executable(qgis_3d_sandbox
|
add_executable(qgis_3d_sandbox
|
||||||
qgis_3d_sandbox.cpp
|
qgis_3d_sandbox.cpp
|
||||||
${CMAKE_SOURCE_DIR}/src/app/3d/qgs3dmapcanvas.cpp
|
|
||||||
${CMAKE_SOURCE_DIR}/src/app/3d/qgs3dnavigationwidget.cpp
|
|
||||||
)
|
)
|
||||||
# require c++17
|
# require c++17
|
||||||
target_compile_features(qgis_3d_sandbox PRIVATE cxx_std_17)
|
target_compile_features(qgis_3d_sandbox PRIVATE cxx_std_17)
|
||||||
@ -43,4 +41,5 @@ target_link_libraries(qgis_3d_sandbox
|
|||||||
${QWT_LIBRARY}
|
${QWT_LIBRARY}
|
||||||
qgis_core
|
qgis_core
|
||||||
qgis_3d
|
qgis_3d
|
||||||
qgis_native)
|
qgis_native
|
||||||
|
qgis_app)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user