<br><br><div class="gmail_quote">2009/3/23 Andreas Pakulat <span dir="ltr">&lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 23.03.09 16:53:15, Stephen Collyer wrote:<br>
&gt; 2009/3/23 Stephen Collyer &lt;<a href="mailto:scollyer@netspinner.co.uk">scollyer@netspinner.co.uk</a>&gt;<br>
<br>

&gt; However, I&#39;m not entirely happy as:<br>
&gt;<br>
&gt; a) I&#39;ve hardcoded the relative path ../plugins/sqldrivers in the<br>
&gt; SQL_LIB_DIRS<br>
<br>
</div>Thats ok, anybody who doesn&#39;t have this simply has a broken Qt install,<br>
Linux distro&#39;s usually provide some directory under which they symlink a<br>
proper directory hierarchy (and if the distro doesn&#39;t it simply broken).<br>
</blockquote><div><br>I&#39;ve checked the Win32 build and the dir. heirarchy is the same too, so I think this should be OK in Win32-land too. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
You could of course also use the (not properly documented) QT_PLUGINS_DIR<br>
variable.</blockquote><div><br>Right. I&#39;ll take a look at that. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
&gt; b) I&#39;ve got an explicity reference to /usr/lib as well<br>
&gt;<br>
&gt; Can anyone suggest how I can make this a bit more platform independent ?<br>
<br>
</div>Use find_library for your mysql library, not sure how to force it to search<br>
for the static version though (except removing the shared lib).</blockquote><div><br>Of course. That&#39;s obvious. Not having touched cmake for about 5 months, I&#39;ve forgotten it all :-(<br><br>Re: the finding the static version: I guess I can add my own FindMySQL.cmake and make it sufficiently clever, if I want.<br>
<br>Steve Collyer <br></div></div>