diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-01-28 17:26:12 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-02-16 16:57:21 +0200 |
commit | 92d20490e0976a0d0cb2d4075da8d7a503f007e9 (patch) | |
tree | 0abd9dee9b36f1641e491cfb8e48e7469d01a935 /perfparser.pro | |
parent | ab188fff14c143b583658293ff01ace96333e38c (diff) |
Wrap stdin into a well-behaved QIODevice
We want bytesAvailable() to be >0 until we get EOF. It's OK if reading
blocks.
Change-Id: Ie32ffd4688f7141266a6bc1891a849b32d5795c3
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'perfparser.pro')
-rw-r--r-- | perfparser.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perfparser.pro b/perfparser.pro index eaba02c..7f45a1f 100644 --- a/perfparser.pro +++ b/perfparser.pro @@ -24,7 +24,8 @@ SOURCES += main.cpp \ perffeatures.cpp \ perfdata.cpp \ perfunwind.cpp \ - perfregisterinfo.cpp + perfregisterinfo.cpp \ + perfstdin.cpp HEADERS += \ perfattributes.h \ @@ -33,4 +34,5 @@ HEADERS += \ perffeatures.h \ perfdata.h \ perfunwind.h \ - perfregisterinfo.h + perfregisterinfo.h \ + perfstdin.h |