[Development] Ubuntu Qt packages failing if client uses g++-5.1

Thiago Macieira thiago.macieira at intel.com
Thu Jun 18 23:36:33 CEST 2015


On Thursday 18 June 2015 23:29:43 Stephen Kelly wrote:
> ) I get incompatible runtime behavior:
> 
>  stephen at hal:/tmp/qtbug$ ./qtbug
>  QObject(0x0)  QObject(0x0)
>  ^C
> 
> That is, the QCoreApplication::instance() reports a null pointer in qDebug,
> and the singleShot does not work.
> 
> This only happens with the ubuntu Qt packages for me. With the QtC package
> it works as expected.
> 
> In case anyone else runs into this issue.

That's QTBUG-45755 and its duplicates.

Downgrade the compiler or upgrade to Qt to include the change that rejects 
using -fPIE.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list