<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/>
> Jack <ostroffjh@users.sourceforge.net> hat am 31. Mai 2016 um 23:12 geschrieben:<br/>
><br/>
><br/>
> I'm still waiting to see what the official Gentoo response will be to<br/>
> get gwenhywfar to include qt5. I did find some configure hand-waving<br/>
> which made it work. Gwenhywfar already has a "--guis='x y z'"<br/>
> configure parameter, but just adding qt5 isn't enough. The one thing I<br/>
> discovered is that many of the qt related utilities (at least under<br/>
> Gentoo) are actually symlinks to a program qtchooser, which calls the<br/>
> appropriate version, based either on a command line flag (--qt=5 or<br/>
> --qt=4) or else something in the environment. (so "moc --qt=4" or "moc<br/>
> --qt=5 as appropriate) Simply adding --qt5-moc='moc --qt=5' to the<br/>
> configure was not quite enough but I'd have to go dig up the script I<br/>
> used to get the final bit that finally worked.<br/>
><br/>
> More details on Gentoo - the actual utilities are under<br/>
> /usr/lib/qt/qt4/ and /usr/lib/qt/qt5/ so they can still have the same<br/>
> name - it is qtchooser which dispatches the correct one.<br/>
><br/>
> Also - the error I got about not finding <QDialog> was indeed because<br/>
> it was still using the qt4 version of qmake (I think.) Once I got the<br/>
> qt5 stuff properly included, that problem went away.<br/>
[…]</div></div></body></html>