hello

if I open a text file ReadOnly it's ok

code:

file.setFileName(":/i.txt");
file.open(QIODevice::ReadOnly);
bool a =file.isOpen();

a is true

but if I try to open file ReadWrite or WriteOnly

file.setFileName(":/i.txt");
file.open(QIODevice::ReadWrite); or WriteOnly
bool a =file.isOpen();


a is false

someone can help me?