mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
fix msvc build
This commit is contained in:
parent
15d4e877b1
commit
f616be29d3
2
external/mdal/frmts/mdal_dynamic_driver.cpp
vendored
Executable file → Normal file
2
external/mdal/frmts/mdal_dynamic_driver.cpp
vendored
Executable file → Normal file
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "mdal_dynamic_driver.hpp"
|
#include "mdal_dynamic_driver.hpp"
|
||||||
#include "mdal_logger.hpp"
|
#include "mdal_logger.hpp"
|
||||||
#if not defined (WIN32)
|
#if !defined(WIN32)
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class QgsSettingsRegistryCore : QgsSettingsRegistry
|
class QgsSettingsRegistryCore : QgsSettingsRegistry
|
||||||
{
|
{
|
||||||
%Docstring(signature="appended")
|
%Docstring(signature="appended")
|
||||||
|
@ -209,7 +209,7 @@ QgsAABB nodeBoundsToAABB( QgsPointCloudDataBounds nodeBounds, QgsVector3D offset
|
|||||||
extentMin3D = coordinateTransform.transform( extentMin3D );
|
extentMin3D = coordinateTransform.transform( extentMin3D );
|
||||||
extentMax3D = coordinateTransform.transform( extentMax3D );
|
extentMax3D = coordinateTransform.transform( extentMax3D );
|
||||||
}
|
}
|
||||||
catch ( QgsCsException &e )
|
catch ( QgsCsException & )
|
||||||
{
|
{
|
||||||
QgsDebugMsg( QStringLiteral( "Error transforming node bounds coordinate" ) );
|
QgsDebugMsg( QStringLiteral( "Error transforming node bounds coordinate" ) );
|
||||||
}
|
}
|
||||||
|
@ -426,7 +426,7 @@ void QgsColorRampPointCloud3DSymbolHandler::processNode( QgsPointCloudIndex *pc,
|
|||||||
{
|
{
|
||||||
coordinateTransform.transformInPlace( x, y, z );
|
coordinateTransform.transformInPlace( x, y, z );
|
||||||
}
|
}
|
||||||
catch ( QgsCsException &e )
|
catch ( QgsCsException & )
|
||||||
{
|
{
|
||||||
if ( !alreadyPrintedDebug )
|
if ( !alreadyPrintedDebug )
|
||||||
{
|
{
|
||||||
@ -545,7 +545,7 @@ void QgsRGBPointCloud3DSymbolHandler::processNode( QgsPointCloudIndex *pc, const
|
|||||||
{
|
{
|
||||||
coordinateTransform.transformInPlace( x, y, z );
|
coordinateTransform.transformInPlace( x, y, z );
|
||||||
}
|
}
|
||||||
catch ( QgsCsException &e )
|
catch ( QgsCsException & )
|
||||||
{
|
{
|
||||||
if ( !alreadyPrintedDebug )
|
if ( !alreadyPrintedDebug )
|
||||||
{
|
{
|
||||||
@ -699,7 +699,7 @@ void QgsClassificationPointCloud3DSymbolHandler::processNode( QgsPointCloudIndex
|
|||||||
{
|
{
|
||||||
coordinateTransform.transformInPlace( x, y, z );
|
coordinateTransform.transformInPlace( x, y, z );
|
||||||
}
|
}
|
||||||
catch ( QgsCsException &e )
|
catch ( QgsCsException & )
|
||||||
{
|
{
|
||||||
if ( !alreadyPrintedDebug )
|
if ( !alreadyPrintedDebug )
|
||||||
{
|
{
|
||||||
|
@ -163,7 +163,7 @@ QgsAbstractDatabaseProviderConnection *QgsDataCollectionItem::databaseConnection
|
|||||||
return static_cast<QgsAbstractDatabaseProviderConnection *>( md->createConnection( databaseFilePath, {} ) );
|
return static_cast<QgsAbstractDatabaseProviderConnection *>( md->createConnection( databaseFilePath, {} ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch ( QgsProviderConnectionException &ex )
|
catch ( QgsProviderConnectionException & )
|
||||||
{
|
{
|
||||||
// This is expected and it is not an error in case the provider does not implement
|
// This is expected and it is not an error in case the provider does not implement
|
||||||
// the connections API
|
// the connections API
|
||||||
@ -1911,7 +1911,7 @@ QgsAbstractDatabaseProviderConnection *QgsDatabaseSchemaItem::databaseConnection
|
|||||||
{
|
{
|
||||||
return static_cast<QgsAbstractDatabaseProviderConnection *>( md->createConnection( connectionName ) );
|
return static_cast<QgsAbstractDatabaseProviderConnection *>( md->createConnection( connectionName ) );
|
||||||
}
|
}
|
||||||
catch ( QgsProviderConnectionException &ex )
|
catch ( QgsProviderConnectionException & )
|
||||||
{
|
{
|
||||||
// This is expected and it is not an error in case the provider does not implement
|
// This is expected and it is not an error in case the provider does not implement
|
||||||
// the connections API
|
// the connections API
|
||||||
|
@ -25,6 +25,14 @@
|
|||||||
#include "qgis.h"
|
#include "qgis.h"
|
||||||
#include "qgssnappingconfig.h"
|
#include "qgssnappingconfig.h"
|
||||||
#include "qgsgeometry.h"
|
#include "qgsgeometry.h"
|
||||||
|
#include "qgsmaplayerproxymodel.h"
|
||||||
|
|
||||||
|
template class CORE_EXPORT QgsSettingsEntryEnumFlag<QgsSnappingConfig::SnappingTypes> SIP_SKIP;
|
||||||
|
template class CORE_EXPORT QgsSettingsEntryEnumFlag<QgsTolerance::UnitType> SIP_SKIP;
|
||||||
|
template class CORE_EXPORT QgsSettingsEntryEnumFlag<QgsGeometry::JoinStyle> SIP_SKIP;
|
||||||
|
template class CORE_EXPORT QgsSettingsEntryEnumFlag<QgsGeometry::EndCapStyle> SIP_SKIP;
|
||||||
|
template class CORE_EXPORT QgsSettingsEntryEnumFlag<QgsUnitTypes::LayoutUnit> SIP_SKIP;
|
||||||
|
template class CORE_EXPORT QgsSettingsEntryEnumFlag< class QFlags<enum QgsMapLayerProxyModel::Filter> > SIP_SKIP;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \ingroup core
|
* \ingroup core
|
||||||
|
Loading…
x
Reference in New Issue
Block a user