[Qt-interest] How to copy an embedded resource file to the file system? [solved]
Marcelo Magno T. Sales
mmtsales at gmail.com
Tue Sep 22 22:16:28 CEST 2009
Em Terça-feira 22 Setembro 2009, Colin S. Miller escreveu:
> Marcelo Magno T. Sales wrote:
> > I've tried this with other embedded files and the code did work.
> > Only for one specific resource it doesn't, I don't know why. I'll
> > dig into that.
> >
> > Thanks for all who helped,
> >
> > Marcelo
>
> Marcelo,
> Stupid question, but did you ensure that the destination directory
> does exist?
Yes, it exists.
I've just found out what was the problem. The embedded file I was trying
to copy was in a separate resource file, which had not been referenced
in the project. I added it to the project and now it works.
Rookie's error.
Sorry for the noise and thanks for the help.
[]'s
Marcelo
More information about the Qt-interest-old
mailing list