I have a strange problem.
In QT my Application is working fine, but when i run the .exe file the Method QDir::entryList is not working... and I don't know why. The path and so is set.
QDir pdir(cs.protocolDir);
QString log;
log.append(QString("[LPR] Trying to fetch protcol files\n"));
QStringList filter("*.txt");
Message locMSG;
QStringList flist = pdir.entryList(QStringList(filter),
QDir::Files | QDir::NoSymLinks);
foreach (QString str, flist) {
QString filename = QString("%1%2").arg(cs.protocolDir).arg(str);
log.append(QString("[LPR]Filename: %1\n").arg(filename));
QFile file(filename);
//and so on...
I hope someone can help me with this problem. THX