Mercurial > hg > piper-cpp
comparison vamp-client/ProcessQtTransport.h @ 108:247d8d533a9c
Cut down vastly on the number of config.pri files and places where their contents has to be effectively duplicated without them
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 24 Oct 2016 17:53:33 +0100 |
parents | 8c449824e08d |
children | d74dfc11927c |
comparison
equal
deleted
inserted
replaced
107:2586f4be738c | 108:247d8d533a9c |
---|---|
78 while (!complete) { | 78 while (!complete) { |
79 | 79 |
80 qint64 byteCount = m_process->bytesAvailable(); | 80 qint64 byteCount = m_process->bytesAvailable(); |
81 | 81 |
82 if (!byteCount) { | 82 if (!byteCount) { |
83 std::cerr << "waiting for data from server..." << endl; | 83 std::cerr << "waiting for data from server..." << std::endl; |
84 m_process->waitForReadyRead(1000); | 84 m_process->waitForReadyRead(1000); |
85 if (m_process->state() == QProcess::NotRunning) { | 85 if (m_process->state() == QProcess::NotRunning) { |
86 std::cerr << "ERROR: Subprocess exited: Load failed" << std::endl; | 86 std::cerr << "ERROR: Subprocess exited: Load failed" << std::endl; |
87 throw std::runtime_error("Piper server exited unexpectedly"); | 87 throw std::runtime_error("Piper server exited unexpectedly"); |
88 } | 88 } |