TESTDATA += qfileinfo.qrc qfileinfo.pro tst_qfileinfo.cpp resources/file1 resources/file1.ext1 resources/file1.ext1.ext2
-win32*:LIBS += -ladvapi32 -lnetapi32
+win32*:!wince*:LIBS += -ladvapi32 -lnetapi32
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
#define _WIN32_WINNT 0x500
#include <qt_windows.h>
#include <qlibrary.h>
+#if !defined(Q_OS_WINCE)
#include <lm.h>
#endif
+#endif
#include <qplatformdefs.h>
#include <qdebug.h>
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
ip6.u8[10] << 8 | ip6.u8[11],
ip6.u8[12] << 8 | ip6.u8[13],
ip6.u8[14] << 8 | ip6.u8[15]);
- return strdup(buf);
+ return qstrdup(buf);
}
}
QT_END_NAMESPACE
void msecsTo();
void operator_eqeq_data();
void operator_eqeq();
+#ifndef Q_OS_WINCE
void operator_insert_extract_data();
void operator_insert_extract();
+#endif
void currentDateTime();
void currentDateTimeUtc();
void currentDateTimeUtc2();
}
}
+#ifndef Q_OS_WINCE
void tst_QDateTime::operator_insert_extract_data()
{
QTest::addColumn<QDateTime>("dateTime");
qputenv("TZ", previousTimeZone.toLocal8Bit().constData());
tzset();
}
+#endif
void tst_QDateTime::toString_strformat_data()
{