[RQt-devel] disabling native symbol registration
Deepayan Sarkar
deepayan.sarkar at gmail.com
Mon Mar 21 07:13:57 CET 2011
On Mon, Mar 21, 2011 at 5:39 AM, Michael Lawrence
<lawrence.michael at gene.com> wrote:
> Hi guys,
>
> On Windows, we want to embed the Qt DLLs in the package. Looks like it makes
> the package about 60 MB in size, which is probably OK. The main issue is
> that we need to load the library in .onLoad(), after we set the PATH, which
> means we cannot use the NAMESPACE useDynLib(qtbase, .registration=TRUE).
> Thus, we lose automatic assignment of the registered native symbols in the
> namespace. This means using .Call("foo", PACKAGE="qtbase") instead of
> .Call(foo). The latter is obviously a lot cleaner, but it's a small price to
> pay to get things smoothly working on Windows. One alternative would be
> statically linking with Qt. That would require us to maintain our own Qt
> static libs (converted from the DLLs). That in my opinion is worse than the
> more complex .Call syntax.
I'm fine with the .Call("foo", PACKAGE="qtbase") form.
Is it another option to require user-installed Qt as on Linux? (Of
course not a good idea, but just wanted to check).
-Deepayan
More information about the Qtinterfaces-devel
mailing list