View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#21
Originally Posted by pali View Post
So use Qt correctly Qt has QProcess

Code:
#include <QCoreApplication>
#include <QProcess>

int main(argc, char *argv[])
{
QCoreApplication app(argc, argv); QProcess::execute("gst-launch v4l2src ! filesink location=/dev/null"); return app.exec();
}
I'm familiar wih QProcess. My example was designed to show the minimum usage of Qt neccessary to be eligible for entry.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following User Says Thank You to marxian For This Useful Post: