Shortcut of Qt application.exe
-
Hii, can any 1 help me, how can I make shortcut.exe of my Qt application..please help.
-
This is operating system related.
Are you on windows?
-
yes....on windows...i also created a batch file for doing the same....but still no help from it....
I also wrote this code...
p->start("command.com", QStringList() << "/c" <<"\n" << "E:/qtpro/Abc/ext.bat"); -
Does your program start up when you double click on it?(i suppose you didn't set your settings to single click...)
The normal approach is to right mouse button click on it and to choose for shortcut...
-
Sorry, I didnt get you....
On double clicking the ext.bat file, creates the shortcut.exe of my application, but when I try to execute it from my code nothing happens.. -
Ok, it was not clear to me you wanted to start the exe from code.
In that case you need QProcess.
There is a similar thread that explains it :
"Link":http://developer.qt.nokia.com/forums/viewthread/6145/