summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2011-03-31 11:39:19 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2011-03-31 11:39:19 (GMT)
commitcacfe6183ff7fc3211c92561b7424c0d898e0c4e (patch)
tree4698f35355a7a057ff4bdec011b3e19cc89938a8 /src/gui/embedded
parent3ff5952daeb209072e784cfe6389355cb2da0663 (diff)
downloadQt-cacfe6183ff7fc3211c92561b7424c0d898e0c4e.zip
Qt-cacfe6183ff7fc3211c92561b7424c0d898e0c4e.tar.gz
Qt-cacfe6183ff7fc3211c92561b7424c0d898e0c4e.tar.bz2
take the user defined temp dir into account
use user's QT_QWS_TEMP_DIR rather than hardcoded "/tmp" one Merge-request: 1038 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Diffstat (limited to 'src/gui/embedded')
-rw-r--r--src/gui/embedded/qvfbhdr.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/gui/embedded/qvfbhdr.h b/src/gui/embedded/qvfbhdr.h
index 31704b3..1258f14 100644
--- a/src/gui/embedded/qvfbhdr.h
+++ b/src/gui/embedded/qvfbhdr.h
@@ -74,15 +74,19 @@ QT_MODULE(Gui)
#else
#define QT_VFB_DATADIR(DISPLAY) QString("%1/qtembedded-%2") \
.arg(QT_QWS_TEMP_DIR).arg(DISPLAY)
-#define QT_VFB_MOUSE_PIPE(DISPLAY) QString("/tmp/.qtvfb_mouse-%1").arg(DISPLAY)
-#define QT_VFB_KEYBOARD_PIPE(DISPLAY) QString("/tmp/.qtvfb_keyboard-%1").arg(DISPLAY)
-#define QT_VFB_MAP(DISPLAY) QString("/tmp/.qtvfb_map-%1").arg(DISPLAY)
-#define QT_VFB_SOUND_PIPE(DISPLAY) QString("/tmp/.qt_soundserver-%1").arg(DISPLAY)
+#define QT_VFB_MOUSE_PIPE(DISPLAY) QString("%1/.qtvfb_mouse-%2") \
+ .arg(QT_QWS_TEMP_DIR).arg(DISPLAY)
+#define QT_VFB_KEYBOARD_PIPE(DISPLAY) QString("%1/.qtvfb_keyboard-%2") \
+ .arg(QT_QWS_TEMP_DIR).arg(DISPLAY)
+#define QT_VFB_MAP(DISPLAY) QString("%1/.qtvfb_map-%2") \
+ .arg(QT_QWS_TEMP_DIR).arg(DISPLAY)
+#define QT_VFB_SOUND_PIPE(DISPLAY) QString("%1/.qt_soundserver-%2") \
+ .arg(QT_QWS_TEMP_DIR).arg(DISPLAY)
#define QTE_PIPE(DISPLAY) QT_VFB_DATADIR(DISPLAY) \
.append("/QtEmbedded-%1") \
.arg(DISPLAY)
-#define QTE_PIPE_QVFB(DISPLAY) QString("/tmp/qtembedded-%1/QtEmbedded-%1") \
- .arg(DISPLAY)
+#define QTE_PIPE_QVFB(DISPLAY) QString("%1/qtembedded-%2/QtEmbedded-%2") \
+ .arg(QT_QWS_TEMP_DIR).arg(DISPLAY)
#endif
struct QVFbHeader