version 2.0.0_alpha
Important! All QtWraps macros renamed! Qt 6 support Graphic export feature qad_types cross-Qt small changes
This commit is contained in:
@@ -20,16 +20,28 @@
|
||||
#ifndef PIQT_H
|
||||
#define PIQT_H
|
||||
|
||||
#include "pimathmatrix.h"
|
||||
#include "pipropertystorage.h"
|
||||
#include "qad_types.h"
|
||||
#include <QVector3D>
|
||||
#include <QDateTime>
|
||||
#include <QColor>
|
||||
#if QT_VERSION >= 0x050200
|
||||
|
||||
#include "pimathmatrix.h"
|
||||
#include "pipropertystorage.h"
|
||||
#include "qad_types.h"
|
||||
#include "piqt_macros.h"
|
||||
#if QT_VERSION_MAJOR == 5
|
||||
# if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
|
||||
# define PIQT_HAS_GEOPOSITION
|
||||
# endif
|
||||
#endif
|
||||
#if QT_VERSION_MAJOR == 6
|
||||
# if QT_VERSION >= QT_VERSION_CHECK(6, 1, 0)
|
||||
# define PIQT_HAS_GEOPOSITION
|
||||
# endif
|
||||
#endif
|
||||
#ifdef PIQT_HAS_GEOPOSITION
|
||||
# include <QGeoCoordinate>
|
||||
# include "pigeoposition.h"
|
||||
#endif
|
||||
#include "piqt_macros.h"
|
||||
#include "qad_piqt_export.h"
|
||||
|
||||
|
||||
@@ -137,7 +149,7 @@ QAD_PIQT_EXPORT const PIVariantTypes::IODevice QAD2PIIODevice(const QAD::IODevic
|
||||
|
||||
//inline const PIVariant QString2PIVariant(const QString & v) {return PIVariant::readFromString(QString2PIString(v));}
|
||||
|
||||
#if QT_VERSION >= 0x050200
|
||||
#ifdef PIQT_HAS_GEOPOSITION
|
||||
QAD_PIQT_EXPORT const QGeoCoordinate PI2QGeoPosition(const PIGeoPosition & v);
|
||||
QAD_PIQT_EXPORT const PIGeoPosition Q2PIGeoPosition(const QGeoCoordinate & v);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user