[Qt-interest] Playing files from resource files
Tiago Correia
tiago at cnotinfor.pt
Tue Dec 16 15:32:36 CET 2008
Hi again,
I'm using Visual Studio 2005 Professional for compiling with the commercial
version, plus the Visual Studio Integration. MAybe there is a problem in
linking, but the resource file is indeed compiled.
Maybe I'll try to do a file listing of the ":/" folder. I guess it should be
possible. I'll post my tries later.
Thanks for the help.
On Tue, Dec 16, 2008 at 1:49 PM, <Oliver.Knoll at comit.ch> wrote:
> Tiago Correia wrote on Tuesday, December 16, 2008 2:36 PM:
>
> > Hi,
> >
> > I've created a resource file with a video file.
> >
> > I'm trying to open it using the QFile class, but I get and an error.
>
> As to exclude the usual suspects: Did you make sure that the *.qrc is
> indeed compiled (with the Qt resource compiler), and that the resulting
> *.cpp file is indeed compiled and /linked/ to your application? Are you
> using a qmake/*.pro file approach? Maybe a ''qmake; make (dist)clean; make"
> helps...
>
> Sometimes it is also helpful to look into the generated *.cpp file (which
> contains the embedded data): the comments there should give you a hint about
> what the Qt resource compiler thinks the resource path should look like.
>
> Cheers, Oliver
> --
> Oliver Knoll
> Dipl. Informatik-Ing. ETH
> COMIT AG - ++41 79 520 95 22
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Tiago Correia
chief technology officer
cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
www.cnotinfor.pt
Telefone: +351 239 499 231
Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
Interactividade, Comunicação e Aprendizagem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081216/3dddebe8/attachment.html
More information about the Qt-interest-old
mailing list