How to store execute output to variable?
Unsolved
Installation and Deployment
-
I want to check if executable is present and it version using "myapp --version" and if it is greater thatn current version then I should display user about this and let user decide to choose whether to continue or to quit. Now I need to perform execute operation for "myapp --version" and how can I store this output to variable to proceed further calculations ? Or is there any easier way there to do it ?
-
@samecodeninja16 https://doc.qt.io/qt-5/qprocess.html
https://doc.qt.io/qt-5/qprocess.html#readyReadStandardOutputSorry, just realised it is about the installer (Qt Installer Framework), right?