Skip to content

Instantly share code, notes, and snippets.

View iamazeem's full-sized avatar
:octocat:

Azeem iamazeem

:octocat:
View GitHub Profile
@iamazeem
iamazeem / qt_run_notepad.cpp
Created December 16, 2016 07:10
Qt QProcess - Example using Lambda - Run Notepad on Windows
// ----------------------------------------------
// Open Notepad on Windows using QProcess
// Asynchronously using std::async and
// Wait for it to exit with std::future
// ----------------------------------------------
#include <QProcess> // QProcess
#include <QDebug> // qDebug(), qCritical(), ...
#include <future>