summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/io.pri
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-09-08 14:15:45 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-09-08 14:42:21 (GMT)
commite4de050cc8e819a2751f94ac0429a0d7fe64e64a (patch)
treefb5f5d12c8e880668776c28ae3b8a87b99113254 /src/corelib/io/io.pri
parentf906303e7aa9a7b68f469d81e6bdac8499120338 (diff)
downloadQt-e4de050cc8e819a2751f94ac0429a0d7fe64e64a.zip
Qt-e4de050cc8e819a2751f94ac0429a0d7fe64e64a.tar.gz
Qt-e4de050cc8e819a2751f94ac0429a0d7fe64e64a.tar.bz2
Enable symbian IO code in the build
This patch contains several changes that needed to be done atomically. The native file path im QFileSystemEntry is changed from 8 bit to 16 bit character set. QFsFileEngine has some new symbian specific code (as the unix code does not compile with the above change), and forwards more calls to the new QFileSystemEngine. Unix implementations of link, rename and remove are moved to the unix version of this class, so less ifdef'ing is needed. Finally, io.pri now selects the _symbian.cpp source files instead of the _unix.cpp equivalents when building for symbian.
Diffstat (limited to 'src/corelib/io/io.pri')
-rw-r--r--src/corelib/io/io.pri15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/corelib/io/io.pri b/src/corelib/io/io.pri
index 7c3712e..4a20dfa 100644
--- a/src/corelib/io/io.pri
+++ b/src/corelib/io/io.pri
@@ -73,12 +73,17 @@ win32 {
SOURCES += io/qfilesystemengine_win.cpp
SOURCES += io/qfilesystemiterator_win.cpp
} else:unix {
- SOURCES += io/qfilesystemengine_unix.cpp
- SOURCES += io/qfilesystemiterator_unix.cpp
- SOURCES += io/qfsfileengine_unix.cpp
SOURCES += io/qfsfileengine_iterator_unix.cpp
- symbian:SOURCES += io/qprocess_symbian.cpp
- else:SOURCES += io/qprocess_unix.cpp
+ SOURCES += io/qfsfileengine_unix.cpp
+ symbian {
+ SOURCES += io/qfilesystemengine_symbian.cpp
+ SOURCES += io/qprocess_symbian.cpp
+ SOURCES += io/qfilesystemiterator_symbian.cpp
+ } else {
+ SOURCES += io/qfilesystemengine_unix.cpp
+ SOURCES += io/qprocess_unix.cpp
+ SOURCES += io/qfilesystemiterator_unix.cpp
+ }
macx-*: {
HEADERS += io/qfilesystemwatcher_fsevents_p.h
SOURCES += io/qfilesystemengine_mac.cpp