[Interest] Blended QProcess/QDesktopServices
scorp1us at yahoo.com
Tue Feb 28 21:23:54 CET 2012
I never said anything about browsers. :-)
If I have a xls file, and I openUrl() it, I want notification when they close the excel instance.
It doesn't have to be any common type, just any registered one. I could use Qt Designer and a UI file.
I can invoke the exe as
Now you raise the point that in some of these environments, the user can go off on their own and do more and keep working for hours, but that is not my paradigm. I've got a highly synchronous process that they are going through so checking XKCD or /. is out of the question. :-)
From: Bo Thorsen <bo at fioniasoftware.dk>
To: interest at qt-project.org
Sent: Tuesday, February 28, 2012 2:04 PM
Subject: Re: [Interest] Blended QProcess/QDesktopServices
Den 28-02-2012 19:15, Jason H skrev:
> I need to launch a link to a website, which is easily done in
> I need to know when a process exits whrich is easlily don in QProcess.
> I however cannot figure out when a QDesktopServices::openUrl(url) has
> closed/quit etc. Is there a way to figure out what the openUrl() is
> going to open? I figure this will use some kind of ShellExecute (at
> least on windows) but I could also query a MIME type handler database.
> But it seems Qt lacks all those options?
That's because you can't know this. If you disagree, answer this question:
When the user has read the page you send them to in the browser, and
uses the browser to read another page, when do you want to get your signal?
Now, please don't answer it here, because you can't :) I doubt the
browsers offer it when the user goes to facebook or whatever, so the
only thing you can see is when it's closed. For my use, that could be
hours after the application opened the browser.
What you're asking for is somewhere between useless and impossible. Sorry.
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
Interest mailing list
Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest