[qt] Fix build when building the Qt Location plugin
- MinGW has to explicitly know that is building a static library. - Android doesn't have 'round' on the std:: namespace when using g++.
This commit is contained in:
@@ -9,10 +9,14 @@
|
||||
|
||||
// This header follows the Qt coding style: https://wiki.qt.io/Qt_Coding_Style
|
||||
|
||||
#if defined(QT_BUILD_MAPBOXGL_LIB)
|
||||
#define Q_MAPBOXGL_EXPORT Q_DECL_EXPORT
|
||||
#if !defined(QT_MAPBOXGL_STATIC)
|
||||
# if defined(QT_BUILD_MAPBOXGL_LIB)
|
||||
# define Q_MAPBOXGL_EXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
# define Q_MAPBOXGL_EXPORT Q_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
#define Q_MAPBOXGL_EXPORT Q_DECL_IMPORT
|
||||
# define Q_MAPBOXGL_EXPORT
|
||||
#endif
|
||||
|
||||
namespace QMapbox {
|
||||
|
||||
Reference in New Issue
Block a user