rem: logfile = fopen(fileName.data(), "w+");
add: logfile = fopen(fileName.latin1(), "w+");
context: int main(int argc, char* argv[]){#ifndef NO_DEBUG  QString fileName;  fileName += tmpnam(0L);  fileName += "-vcalconduit.log";  logfile = fopen(fileName.data(), "w+");  fprintf(logfile, "vcalconduit log file opened for writing\n");  fflush(logfile);#else  logfile = fopen("/dev/null", "w+");#endif  ConduitApp a(argc, argv, "vcal_conduit",  	"\t\tvcal_conduit -- A conduit for KPilot\n");  VCalConduit conduit(a.getMode());  a.setConduit(&conduit);  return a.exec();}