Fix qitemview and qdatetimeedit autotest builds for WinCE.
Defined missing SPI_GETPLATFORMTYPE macro as it was done in for example in qwidget and qaccesiblity test cases. Change-Id: I33a1e0119848911fbc4830299fcc1854f5259e86 Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
This commit is contained in:
parent
db7bdcd976
commit
5281cba808
@ -57,6 +57,10 @@
|
|||||||
#define srandom srand
|
#define srandom srand
|
||||||
|
|
||||||
#if defined(Q_OS_WINCE)
|
#if defined(Q_OS_WINCE)
|
||||||
|
#ifndef SPI_GETPLATFORMTYPE
|
||||||
|
#define SPI_GETPLATFORMTYPE 257
|
||||||
|
#endif
|
||||||
|
|
||||||
bool qt_wince_is_platform(const QString &platformString) {
|
bool qt_wince_is_platform(const QString &platformString) {
|
||||||
wchar_t tszPlatform[64];
|
wchar_t tszPlatform[64];
|
||||||
if (SystemParametersInfo(SPI_GETPLATFORMTYPE,
|
if (SystemParametersInfo(SPI_GETPLATFORMTYPE,
|
||||||
|
@ -101,6 +101,10 @@ Q_DECLARE_METATYPE(QTime);
|
|||||||
Q_DECLARE_METATYPE(QList<int>);
|
Q_DECLARE_METATYPE(QList<int>);
|
||||||
|
|
||||||
#if defined(Q_OS_WINCE)
|
#if defined(Q_OS_WINCE)
|
||||||
|
#ifndef SPI_GETPLATFORMTYPE
|
||||||
|
#define SPI_GETPLATFORMTYPE 257
|
||||||
|
#endif
|
||||||
|
|
||||||
bool qt_wince_is_platform(const QString &platformString) {
|
bool qt_wince_is_platform(const QString &platformString) {
|
||||||
wchar_t tszPlatform[64];
|
wchar_t tszPlatform[64];
|
||||||
if (SystemParametersInfo(SPI_GETPLATFORMTYPE,
|
if (SystemParametersInfo(SPI_GETPLATFORMTYPE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user