Qt Code:
int main(int argc, char *argv[]) { qDebug()<<"Error opening the file"; const char* test = "Testing file write"; streamToWrite<<test; file.close(); return a.exec(); }To copy to clipboard, switch view to plain text mode
Qt Code:
int main(int argc, char *argv[]) { qDebug()<<"Error opening the file"; const char* test = "Testing file write"; streamToWrite<<test; file.close(); return a.exec(); }To copy to clipboard, switch view to plain text mode
Last edited by wysota; 15th July 2009 at 10:53. Reason: missing [code] tags
so whats the problem?? can to explain more... is the file created?
Are you Getting any error? The file is created or not? Try taking the content in a QString.
Bookmarks