Skip to content

Commit

Permalink
fix travis and 5.14 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik authored and nyalldawson committed Oct 26, 2020
1 parent ac6116c commit 2017f74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/3d/qgspointcloudlayerchunkloader_p.cpp
Expand Up @@ -42,7 +42,11 @@ QgsPointCloud3DGeometry::QgsPointCloud3DGeometry( Qt3DCore::QNode *parent, const
: Qt3DRender::QGeometry( parent )
, mPositionAttribute( new Qt3DRender::QAttribute( this ) )
, mClassAttribute( new Qt3DRender::QAttribute( this ) )
#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0)
, mVertexBuffer( new Qt3DRender::QBuffer( Qt3DRender::QBuffer::VertexBuffer, this ) )
#else
, mVertexBuffer( new Qt3DRender::QBuffer( this ) )
#endif
{
mPositionAttribute->setAttributeType( Qt3DRender::QAttribute::VertexAttribute );
mPositionAttribute->setBuffer( mVertexBuffer );
Expand Down
2 changes: 2 additions & 0 deletions src/app/3d/qgs3dnavigationwidget.h
Expand Up @@ -20,7 +20,9 @@
#include <QGridLayout>
#include <QToolButton>

Q_NOWARN_DEPRECATED_PUSH
#include "qwt_compass.h"
Q_NOWARN_DEPRECATED_POP

#include "qgs3dmapcanvas.h"
#include "qgscameracontroller.h"
Expand Down

0 comments on commit 2017f74

Please sign in to comment.