problems compiling 4.8 on system with both qt4 and qt5

Thomas Baumgart thb at net-bembel.de
Sun Oct 16 16:08:48 UTC 2016


Jack

On Saturday 15 October 2016 16:14:00 Jack Ostroff wrote:

> I think this is at least part of my problem trying to build from 4.8
> branch on both my home Gentoo system and a VirtualBox Kubuntu 16.10.  I
> know I have enough of qt5 installed, as I have successfully compiled
> from git head.  I'm pretty sure I have enough of qt4 installed, but it
> seems that the qt5 stuff is found in preference to the qt4.  I got the
> cmake to complete successfully by first doing EXPORT QT_SELECT=4.
> However, when I then do "make" it fails with a complaint about a moc
> file being compiled with 5.6.1. when it should be 4.8.7.  I'm hoping
> there is some other environment variable I should set before doing the
> cmake, or perhaps something I can add to one of the CMake files.

Check for the QT_MOC_EXECUTABLE setting in ccmake (you may have to press T 
(toggle) to see it).


-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Not everything that counts can be counted,
and not everything that can be counted counts.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20161016/2df737ba/attachment.sig>


More information about the KMyMoney-devel mailing list