PDA

View Full Version : Write resource file



Merylin
12th September 2011, 11:31
Does anyone know if the resource files can be written?
I'm using txt files as resource and i can read them but can't write.

There are no permission restrictions.

wysota
12th September 2011, 11:38
Resource files can't be written to.

xtal256
12th September 2011, 23:45
Qt resource files (.qrc) are compiled into the executable (http://doc.qt.nokia.com/latest/rcc.html), so they are not writeable. If you want writeable resources, then just use plain old files on disk. Put them in a user directory (see QDesktopServices to obtain all standard user locations.)