(please try to configure your emailer to either not use HTML at all, or at least include a valid plain text version)

Yes - that would work, but it's not that simple for me. When I compile gwenhywfar, I don't just want it to use qt5, I want it to know about both qt4 and qt5, as I currently have clients that need both. The gwenhywfar ./configure is indeed able to do that, and I think my response in the other thread gave the core parameters I needed to use, but I'm pretty sure there is a "less ugly" way than what I ended up with.

Jack


On 2016.06.01 13:12, "Christian Dávid" wrote:
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi Jack,<br/>
<br/>
maybe you can use qmake and qmoc within the /usr/lib/qt/qt5/ directory directly? The configure scripts should be able to handle that (btw: I think qmake is only needed to find the include directory but not used afterwards).<br/>
<br/>
Greetings<br/>
Christian<br/>
<br/>
&gt; Jack &lt;ostrof...@users.sourceforge.net&gt; hat am 31. Mai 2016 um 23:12 geschrieben:<br/>
&gt;<br/>
&gt;<br/>
&gt; I&#39;m still waiting to see what the official Gentoo response will be to<br/> &gt; get gwenhywfar to include qt5. I did find some configure hand-waving<br/> &gt; which made it work. Gwenhywfar already has a &quot;--guis=&#39;x y z&#39;&quot;<br/> &gt; configure parameter, but just adding qt5 isn&#39;t enough. The one thing I<br/> &gt; discovered is that many of the qt related utilities (at least under<br/> &gt; Gentoo) are actually symlinks to a program qtchooser, which calls the<br/> &gt; appropriate version, based either on a command line flag (--qt=5 or<br/> &gt; --qt=4) or else something in the environment. (so &quot;moc --qt=4&quot; or &quot;moc<br/> &gt; --qt=5 as appropriate) Simply adding --qt5-moc=&#39;moc --qt=5&#39; to the<br/> &gt; configure was not quite enough but I&#39;d have to go dig up the script I<br/>
&gt; used to get the final bit that finally worked.<br/>
&gt;<br/>
&gt; More details on Gentoo - the actual utilities are under<br/>
&gt; /usr/lib/qt/qt4/ and /usr/lib/qt/qt5/ so they can still have the same<br/>
&gt; name - it is qtchooser which dispatches the correct one.<br/>
&gt;<br/>
&gt; Also - the error I got about not finding &lt;QDialog&gt; was indeed because<br/> &gt; it was still using the qt4 version of qmake (I think.) Once I got the<br/>
&gt; qt5 stuff properly included, that problem went away.<br/>
[&hellip;]</div></div></body></html>


Reply via email to