View Full Version : C code linux to windows

19th October 2006, 21:01
I have used some linux specific code in qt 3.3.4 (linux) and need to now port to qt4(windows)

Some c programmer can tell me how to use system command in windows.

i beleive chmod may not be required now in windows.
i was using the commands as below.Now of course i will use bat file instead of script files.

system ("chmod 777 /root/stego/data_cleantotext.sh") ;
system ( "/root/stego/data_cleantotext.sh ");

thanks in advance

19th October 2006, 22:17
How about using QFile::setPermission() and QProcess respectively?