July 16, 2011

Ketan Shah Ketan Shah
Lab Rat
95 posts

Windows Vista/7 cmd.exe problem

 

How can I install and start any services(for eg: Apache or Mysql) in Windows Vista/7 as the command prompt is not starting in the admin mode by default.
How can I do this using the Qt code…I am making an application for Windows..
or can someone tell me how can I start the command prompt in admin mode using Qt..

1 reply

July 16, 2011

Lukas Geyer Lukas Geyer
Lab Rat
2074 posts

Pressing CTRL + SHIFT while clicking on a shortcut will run the linked program as Administrator.
Be aware that a Windows service is more than just a regular application. See QtService [qt.gitorious.org].

Me should read the question first.

However, I think that this is not directly possible [bugreports.qt.nokia.com] using QProcess.

 
  ‹‹ enable GUI for one platform, disable it for others      How to speed up QListView? ››

You must log in to post a reply. Not a member yet? Register here!