Skip to content

Commit

Permalink
QtSlaveLauncher: fix build for Qt < 5.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Laércio de Sousa committed Mar 14, 2017
1 parent 6741404 commit 6c99fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/Ipc/QtSlaveLauncher.cpp
Expand Up @@ -65,7 +65,7 @@ void QtSlaveLauncher::start( const QStringList &arguments )
// forward stdout/stderr from slave to master
m_process->setProcessChannelMode( QProcess::ForwardedChannels );

#if QT_VERSION >= 0x050300
#if QT_VERSION >= 0x050700
QObject::connect( m_process, static_cast<void(QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished),
m_process, &QProcess::deleteLater );
QObject::connect( m_process, static_cast<void(QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished),
Expand Down

0 comments on commit 6c99fda

Please sign in to comment.