[KDE/Mac] Fwd: Re: [Interest] Fwd: Re: Second Qt 5.4 build error on OS X 10.7
René J.V. Bertin
rjvbertin at gmail.com
Fri Feb 13 17:15:57 UTC 2015
I could have tackled this one myself, if my eyes had been in front of their sockets as we say here :-/
It never occurred to me, but the headers from your Qt 4 install are being picked up here. This didn't happen to me because I have qt4-mac installed in its "concurrent" variant (and the transitional subport doesn't include header files).
The obvious fix here is to deactivate qt4-mac (`sudo port deactivate -f qt4-mac`) while you build Qt5 (or you can move the Qt 4 header file directories aside manually, if you prefer, so you can keep using Qt4/KDE4 apps during the build).
If you're feeling lucky you can try to restart the build where it left off, but it would be safer to do this first:
%> (cd `port work qt5-mac-devel`/build ; make clean`)
Oh, and it would of course be even better if you also installed my +concurrent qt4-mac port, with the qt4-mac-transitional subport but I don't want to abuse your kindness ;)
---------- Forwarded Message ----------
Subject: Re: [Interest] Fwd: Re: [KDE/Mac] Second Qt 5.4 build error on OS X 10.7
Date: Friday February 13 2015, 07:55:22
From: Thiago Macieira <thiago.macieira at intel.com>
To: interest at qt-project.org
On Friday 13 February 2015 14:45:53 René J.V. Bertin wrote:
> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> /opt/local/include/QtCore/qobject.h:90:13: note: overridden virtual function
> is here virtual ~QObjectData() = 0;
Your already-installed version of Qt 4 is interfering.
More information about the kde-mac