[Interest] .rcc files and modules
jerome at bodycad.com
Mon Jun 29 23:48:29 CEST 2015
"It's automatic when you load the plugin." I assume it would if you compile
in the resources with the plugin library altogether into the same binary it
would be that way?
We don't use .pro file, we are inside Visual Studio. How do you generate
the qrc_application.cpp or any equivalent outside of .pro file? Any command
line that generate this? we probably could integrate that command inside
MSBuild. That would make the plugin and it's resources altogether. Or use
Keith suggestion to load the .rcc file associated to the plugin when the
I was mostly looking into the *rcc -binary* and load only wanted resources
Sorry I was not clear about the release, it wasn't meant to be about
freeing the resource memory but more on the deploy the Qml to have dynamic
part (multiple .rcc files for different application part) to it with the
resources binary. I want to load an .rcc only if needed, cause we have many
modules/plugins and not all of them are used for a particular main script.
On Mon, Jun 29, 2015 at 5:11 PM, Thiago Macieira <thiago.macieira at intel.com>
> On Monday 29 June 2015 16:09:05 Jérôme Godbout wrote:
> > Hi,
> > I'm looking for a way to load a specific resources files (.rcc) when a
> > modules or a plugins is used.
> It's automatic when you load the plugin.
> > Anybody have a better way to release resources/modules/plugins?
> Don't unload plugins. The rcc output does try to unregister the resources,
> it's usually a bad idea as pointers to data loaded from plugins are abound.
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest