From bf69cc93323ccd9abe20fd1320d35bdfcced8761 Mon Sep 17 00:00:00 2001 From: Andreas Holzammer Date: Wed, 8 Feb 2012 12:06:49 +0100 Subject: [PATCH] Fix QProcess compile for Windows CE. There are no Pipes under Windows CE, so take out the pipereader. Change-Id: I3e6afd403ed36e86a8694674f6c4798f1226ff74 Reviewed-by: Joerg Bornemann --- src/corelib/io/io.pri | 8 ++++---- src/corelib/io/qprocess_wince.cpp | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/corelib/io/io.pri b/src/corelib/io/io.pri index e8a41b2..1a73783 100644 --- a/src/corelib/io/io.pri +++ b/src/corelib/io/io.pri @@ -76,8 +76,6 @@ win32 { SOURCES += io/qfilesystemwatcher_win.cpp HEADERS += io/qfilesystemwatcher_win_p.h - HEADERS += io/qwindowspipereader_p.h - SOURCES += io/qwindowspipereader.cpp HEADERS += io/qwindowspipewriter_p.h SOURCES += io/qwindowspipewriter.cpp SOURCES += io/qfilesystemengine_win.cpp @@ -88,10 +86,12 @@ win32 { SOURCES += io/qprocess_wince.cpp } else { HEADERS += \ - io/qwinoverlappedionotifier_p.h + io/qwinoverlappedionotifier_p.h \ + io/qwindowspipereader_p.h SOURCES += \ io/qprocess_win.cpp \ - io/qwinoverlappedionotifier.cpp + io/qwinoverlappedionotifier.cpp \ + io/qwindowspipereader.cpp } } else:unix|integrity { SOURCES += \ diff --git a/src/corelib/io/qprocess_wince.cpp b/src/corelib/io/qprocess_wince.cpp index 8ae1d11..88d5a71 100644 --- a/src/corelib/io/qprocess_wince.cpp +++ b/src/corelib/io/qprocess_wince.cpp @@ -41,6 +41,7 @@ #include "qprocess.h" #include "qprocess_p.h" +#include "qwindowspipewriter_p.h" #include #include @@ -48,6 +49,7 @@ #include #include #include +#include #ifndef QT_NO_PROCESS -- 2.7.4