In order to properly launch a little Qt app on an embedded system, I need a reliable way to find out whether a Qt QWS server is already running.
Otherwise I'd need to supply the -qwsoption to the app to run the server itself. Is there a way of doing it?
The only quick workaround coming to mind is this:
and check if that returns anything. Other than that, I think you should obsolete qws in your project as it is a relatively old and broken concept with today's standards.