[Development] qt-4.8.x gcc5 version/detection issues

Sune Vuorela nospam at vuorela.dk
Mon Feb 16 18:50:11 CET 2015


On 2015-02-16, Rex Dieter <rdieter at math.unl.edu> wrote:
> * QT_BUILD_KEY handling
>
> Similar to webkit above, the configure bits about QT_BUILD_KEY only handles 
> up to gcc-4.x.
>
> For fedora 22, our gcc5 builds are done in a way that is (supposedly) ABI 
> compatible to gcc4, so I'm currently using:
> http://pkgs.fedoraproject.org/cgit/qt.git/tree/qt-gcc5_compat_qt_build_key.patch
> to ensure QT_BUILD_KEY matches (ie, it includes the same g++-4 string as 
> before).
>
> As far as upstream is concerned, I assume you'd prefer the default here to 
> be g++-5 ?

The build key is used for ABI checks, so I think the 4 should still be
used. e.g. you can build a qt plugin with g++-5 and it should still be
loadable by the qt you buil with g++-4.x

So I think your current patch is right.

/Sune




More information about the Development mailing list