Fix build issue with Qt 5.2.1
QImage is not a QObject, and therefore QImage::Format doesn't seem
to be a supported type for a Q_PROPERTY, either. At least this was
the case in Qt 5.2.1. In Qt 5.3.1 this worked. In any case,
worked around the issue by removing textureFormat as a property.
This shouldn't be an issue, since texture cannot meaningfully be
manipulated from QML anyway.
Also fixed some compile warnings.
Change-Id: I257c1502d3340c49c24085fb8bf2e6176d875215
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
| commit | 15a088a1b4d63df74b547a9b7d5d4d1fb311ec29 |
| parent | 0d822bc5de5735b40fc0c76e366365ce1b6cab87 |
| author | Miikka Heikkinen <miikka.heikkinen@digia.com> |
| committer | Miikka Heikkinen <miikka.heikkinen@digia.com> |
| commit time | Wed, 27 Aug 2014 09:43:51 +0300 |
- M src/datavisualization/data/qcustom3dvolume.cpp
- M src/datavisualization/data/qcustom3dvolume.h
- M src/datavisualization/engine/abstract3drenderer.cpp
- M src/datavisualization/engine/scatter3drenderer.cpp
- M src/datavisualization/engine/surface3drenderer.cpp
- M src/datavisualization/utils/abstractobjecthelper_p.h
- M src/datavisualization/utils/objecthelper_p.h
- M src/datavisualization/utils/scatterobjectbufferhelper.cpp
- M src/datavisualization/utils/scatterobjectbufferhelper_p.h
- M src/datavisualization/utils/scatterpointbufferhelper_p.h
- M src/datavisualization/utils/surfaceobject_p.h