Details
-
Bug
-
Resolution: Cannot Reproduce
-
P4: Low
-
4.3.2
-
None
Description
This app will print true on windows and false on x11/mac
#include <QFileInfo>
#include <QDebug>
int main()
{
QFileInfo file("filethatdoesn'texist");
qDebug() << file.isWritable();
return 0;
}
Update: As a workaround, you can check file.exists() first.