forked from qt-creator/qt-creator
Test: Fix tst_offsets for Qt5.2.0 on 64bit
Change-Id: Ie4650820702a83ffb2ca968304babb39084ec3c5 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -76,8 +76,10 @@ void tst_offsets::offsets_data()
|
||||
QFilePrivate *p = 0;
|
||||
QTestData &data = QTest::newRow("QFilePrivate::fileName")
|
||||
<< int((char *)&p->fileName - (char *)p);
|
||||
if (qtVersion >= 0x50200)
|
||||
if (qtVersion > 0x50200)
|
||||
data << 176 << 272;
|
||||
else if (qtVersion == 0x50200)
|
||||
data << 176 << 280;
|
||||
else if (qtVersion >= 0x50000)
|
||||
data << 180 << 280;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user