igand" <flamaros.xav...@gmail.com>
To: "Jason H" <jh...@gmx.com>
Cc: "Max Savenkov" <max.saven...@gmail.com>, "<interest@qt-project.org>" <interest@qt-project.org>
Subject: Re: [Interest] Routing all QML file requests through a custom resource p
Hi,
> What does adding a qrc file to RESOURCES actually do (besides triggering
> resource compiler)? I'm looking for an understanding here.
Files like "relativ/path/to/qrc/file/image.png" in, say, "main.qrc“ will appear
in a file "qrc_main.cpp" in binary form. Please find it in your build-tree
there no way to make it work? What
>> does adding a qrc file to RESOURCES actually do (besides triggering
>> resource compiler)? I'm looking for an understanding here.
>>
>> 2016-06-17 19:23 GMT+03:00 Jason H < <http://jh...@gmx.com>jh...@gmx.com>:
>>
>>&g
To: "Max Savenkov" <max.saven...@gmail.com
<http://max.saven...@gmail.com>>, "<interest@qt-project.org
<http://interest@qt-project.org>>" <interest@qt-project.org
<http://interest@qt-project.org>>
Subject: Re:
itry Volosnykh" <dmitry.volosn...@gmail.com>, "<
> interest@qt-project.org>" <interest@qt-project.org>
>
> *Subject:* Re: [Interest] Routing all QML file requests through a custom
> resource provider
> OK, but if I do not use QtCreator, is there no way t
Sent:* Friday, June 17, 2016 at 12:37 PM
> *From:* "Max Savenkov" <max.saven...@gmail.com>
> *To:* "Jason H" <jh...@gmx.com>
> *Cc:* "Dmitry Volosnykh" <dmitry.volosn...@gmail.com>, "<
> interest@qt-project.org>" <interest@qt-p
> To: "Max Savenkov" <max.saven...@gmail.com>, "<interest@qt-project.org>" <
> interest@qt-project.org>
> Subject: Re: [Interest] Routing all QML file requests through a custom
> resource provider
>
> Hi, Max!
>
> To be honest, I
Savenkov" <max.saven...@gmail.com>, "<interest@qt-project.org>"
<interest@qt-project.org>
Subject: Re: [Interest] Routing all QML file requests through a custom resource
provider
Hi, Max!
To be honest, I did not understand in all the details what you are trying to
1) I'm not using QtCreator, but Visual Studio
2) Even if I did, adding file to RESOURCES variable would not allow me to
put it inside my own package. While it might be OK to have separate
resource packages for the main game and Qt, I'd like to avoid it if
possible.
2016-06-17 13:58 GMT+03:00
Usually, you don't need to do anything to "register" you resources file.
Basically, you add .qrc filename to RESOURCES variable inside qmake's
project file. After that you are able to refer to its contents via "qrc"
protocol (in terms of URI) for either QFile or QUrl, etc.
By the way, have you
10 matches
Mail list logo