You can use QProcess to get your commands executed.
Qt Code:
QStringList arguments; arguments << "CreateDirectory"; myProcess->start(program, arguments);To copy to clipboard, switch view to plain text mode
CHEERS
You can use QProcess to get your commands executed.
Qt Code:
QStringList arguments; arguments << "CreateDirectory"; myProcess->start(program, arguments);To copy to clipboard, switch view to plain text mode
CHEERS
Thanks Mr.karankumar....I'm using like this command prompt "ssmtp mohanakannan.kannan8@gmail.com <recepient1.txt"....recepient1.txt is having "from address" and "to address"...ssmtp only sends mail,i have installed it.Could you please tell me how to use it in Qt(those command prompt commands)..actually i dont have any idea....
According to you...
ssmtp mohanakannan.kannan8@gmail.com <recepient1.txt this is your command
so the code will be something like.
Qt Code:
QStringList arguments; arguments << "mohanakannan.kannan8@gmail.com"; arguments << "<recepient1.txt"; myProcess->start(program, arguments);To copy to clipboard, switch view to plain text mode
CHEERS
mohanakannan (3rd July 2013)
This will not work as "<" is interpreted by a shell which is not present here.
mohanakannan (3rd July 2013)
Thank you Mr.karankumar and Mr.Wyotsa..I will try it and will tell the result..
Thanks ,
How to add the configuration file in Qt.....Actually during sending mail via command prompt,It works by means of a configure file (ssmp.conf)..It only has lot of details about AuthUser, Authpass, EnableTLS.....how to add these at all...Thats why i'm asking how to add Config file in Qt.....Thanks in advance
This is a forum devoted to Qt, not ssmp. If you have problems with the latter, don't ask here, we have no experience with using this software.
sorry Mr.Wyotso,It is not ssmp,its "ssmtp.conf"....Its a file,i want to use that file "ssmtp.conf" in Qt...
Whatever...
Its a file,i want to use that file "ssmtp.conf" in Qt...Qt Code:
To copy to clipboard, switch view to plain text mode
mohanakannan (3rd July 2013)
Bookmarks