equal
deleted
inserted
replaced
236 QString tmpParentDir = QDir::tempPath() + "/languagechangetestdir"; |
236 QString tmpParentDir = QDir::tempPath() + "/languagechangetestdir"; |
237 QString tmpDir = tmpParentDir + "/finaldir"; |
237 QString tmpDir = tmpParentDir + "/finaldir"; |
238 QString fooName = tmpParentDir + "/foo"; |
238 QString fooName = tmpParentDir + "/foo"; |
239 QDir dir; |
239 QDir dir; |
240 QCOMPARE(dir.mkpath(tmpDir), true); |
240 QCOMPARE(dir.mkpath(tmpDir), true); |
241 #if defined(Q_OS_SYMBIAN) && defined(Q_CC_NOKIAX86) |
241 #if defined(Q_OS_SYMBIAN) |
242 // Just create a new file instead of copying exe, because exe is not there in emulator |
242 // Just create a new file instead of copying exe, because there is no read access to /sys/bin |
243 { |
243 { |
244 QFile fooFile(fooName); |
244 QFile fooFile(fooName); |
245 QVERIFY(fooFile.open(QIODevice::WriteOnly | QIODevice::Text)); |
245 QVERIFY(fooFile.open(QIODevice::WriteOnly | QIODevice::Text)); |
246 for(int i=0; i<2048; i++) // File needs to be big enough for size to read in KB |
246 for(int i=0; i<2048; i++) // File needs to be big enough for size to read in KB |
247 fooFile.write("@"); |
247 fooFile.write("@"); |