diff options
Diffstat (limited to 'tests/auto/other')
-rw-r--r-- | tests/auto/other/toolsupport/tst_toolsupport.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/other/toolsupport/tst_toolsupport.cpp b/tests/auto/other/toolsupport/tst_toolsupport.cpp index 9591eca16a..c023fa3ac3 100644 --- a/tests/auto/other/toolsupport/tst_toolsupport.cpp +++ b/tests/auto/other/toolsupport/tst_toolsupport.cpp @@ -140,8 +140,10 @@ void tst_toolsupport::offsets_data() << pmm_to_offsetof(&QDateTimePrivate::m_status) << 4 << 4; QTest::newRow("QDateTimePrivate::m_offsetFromUtc") << pmm_to_offsetof(&QDateTimePrivate::m_offsetFromUtc) << 16 << 16; +#if QT_CONFIG(timezone) QTest::newRow("QDateTimePrivate::m_timeZone") << pmm_to_offsetof(&QDateTimePrivate::m_timeZone) << 20 << 24; +#endif } #endif // RUN_MEMBER_OFFSET_TEST } |