[Interest] [OS X/MacPorts] parallel qt4 and qt5 installs
Thiago Macieira
thiago.macieira at intel.com
Fri Nov 14 22:54:05 CET 2014
On Friday 14 November 2014 22:27:11 René J.V. Bertin wrote:
> On Friday November 14 2014 13:01:47 Thiago Macieira wrote:
> >#include <QtCore/qglobal.h>
> >
> >when using frameworks will look for QtCore.framework/Headers/qglobal.h,
> >which is a shared name between Qt 4 and Qt 5. Since you can't have the
> >same
> Yes, although theoretically QtCore.framework/Headers is a symlink.
> Anyway, you could have had QtCore4.framework/Headers/QtCore/qglobal.h and
> then rely on qmake to read from the right directory.
You can't do QtCore4.framework because that would break #include <QtCore/xxx>.
The directory needs to be called "QtCore.framework" exactly for both Qt 4 and
Qt 5.
> >Oh, you meant the binaries you already have built, in your system.
>
> Yes. KDE4 user, so lots of dependent binaries ...
Make non-framework builds. I don't see the point in using frameworks if you're
not bundling anyway.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list