Hi Guys,<br>Sorry I have been on vacation and avoiding my email. I can build a binary and send it around but here are the instructions;<br><br>Needed:<br>qtsdk<br>cmake<br>rtools<br>and optionally msys. Note that if you are not using msys (bash shell for windows) you probably need to change the -G &quot;msys&quot; (or something) in Makefile.win in the src directory.<br>
Rtools, and Qt bin directoey with dlls need to be in your path. Also make sure there are no other copies of the qt dll in your path, as we were pulling our hair out over a link error till we discovered that miktex has the qt dll in its bin directory duh. I will do a little work over the break and see if I can update the make file to work with the dos cmd shell instead of msys. As micheal said I don&#39;t think a static build with qt is possible without a lot of work to export everything from the dlls and link it statically. I vaguely remember fiddling with that once, and I think it is possible to convert dlls to static libraries, but until we find out how to cure alzheimers, that will remain another void in my vacuous head. Or at least till I feel like putting down my wood working tools and doing some coding ;P<br>
<br>Happy holidays to all! and I will see about the binary as a christmas present ;)<br><br>Nicholas<br><br><br><div class="gmail_quote">On Wed, Dec 22, 2010 at 8:53 PM, Michael Lawrence <span dir="ltr">&lt;<a href="mailto:lawrence.michael@gene.com">lawrence.michael@gene.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Static build does not seem feasible for Qt. Qt does not provide static libs, so, as I understand it, it&#39;s not possible to statically link with it. Would have to build Qt ourselves. The current idea is to place the DLL&#39;s in the lib directory of the package at build time and then set the PATH environment variable to the lib directory when the package is loaded. This still seems open to weird Windows conflicts, but the user should not have to install anything.<br>

<br>GTK+ apparently explicitly loads modules at runtime, so static linking simply does not work. So I&#39;ll have to use the same strategy for RGtk2.<br><br>I&#39;ll get the binary from Nicholas and then you guys can try it out; just need Qt installed.<br>
<font color="#888888">
<br>Michael</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Dec 22, 2010 at 8:42 PM, Hadley Wickham <span dir="ltr">&lt;<a href="mailto:hadley@rice.edu" target="_blank">hadley@rice.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Awesome!  And it&#39;s a static build, right? So end-users just need the<br>
package, and no other dependencies?  (Does that make it huge?)<br>
<br>
Hadley<br>
<div><div></div><div><br>
On Wed, Dec 22, 2010 at 9:32 PM, Michael Lawrence<br>
&lt;<a href="mailto:lawrence.michael@gene.com" target="_blank">lawrence.michael@gene.com</a>&gt; wrote:<br>
&gt; Just wanted to announce that Nicholas and I figured out how to get qtbase to<br>
&gt; build on Windows yesterday. The necessary changes have been committed. Maybe<br>
&gt; Nicholas can run a R CMD builld --binary to get a binary for us to<br>
&gt; distribute until we work things out with CRAN. Building the binary requires<br>
&gt; the same setup as building other R packages, with the obvious initial<br>
&gt; requirements of Qt and cmake.<br>
&gt;<br>
&gt; Michael<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Qtinterfaces-devel mailing list<br>
&gt; <a href="mailto:Qtinterfaces-devel@lists.r-forge.r-project.org" target="_blank">Qtinterfaces-devel@lists.r-forge.r-project.org</a><br>
&gt; <a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Assistant Professor / Dobelman Family Junior Chair<br>
Department of Statistics / Rice University<br>
<a href="http://had.co.nz/" target="_blank">http://had.co.nz/</a><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>&quot;The bear and the goat were married and lived together until the end of their days. Either the goat went mad or the bear became sane.&quot;<br><br>