Invoking Qt Assistant
Unsolved
General and Desktop
-
The "Simple Text Viewer" example for Qt Assistant uses an Assistant class and QProcess to run the Assistant application.
In a simple case where I just want to launch Qt Assistant as a separate process is there any reason that I shouldn't just do something like this:
system("assistant -collectionFile -myapp.qhc&");
or is that hopelessly naive of me?
Thanks
David -
Key Differences Feature system QProcess Framework Standard C/C++ Library Qt Framework Execution Blocking only Blocking or non-blocking Process Control Limited Full control (start, stop, etc.) I/O Interaction None Read/write to stdin/stdout/stderr Platform Independence Yes, but behavior may vary Fully platform-independent Security Vulnerable to shell injection Safer with proper usage Use Case Simple commands in console apps GUI apps, complex process management