fix warnings - qprocess needs a qcoreapp instance

Change-Id: Icf36c2e76595d8f2ed470da13e78c465cfa962f9
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
bb10
Oswald Buddenhagen 2013-09-03 21:20:02 +02:00 committed by The Qt Project
parent 78d6c9c002
commit 40925fe74a
1 changed files with 4 additions and 1 deletions

View File

@ -39,10 +39,13 @@
**
****************************************************************************/
#include <QtCore/QCoreApplication>
#include <QtCore/QProcess>
int main()
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
#ifndef QT_NO_PROCESS
QProcess process;
process.setProcessChannelMode(QProcess::ForwardedChannels);