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

2015-06-20 Thread Stephen Kelly
Thiago Macieira wrote: >> 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. Ah, great, thanks, Steve. ___ Development m

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

2015-06-18 Thread Thiago Macieira
On Thursday 18 June 2015 23:29:43 Stephen Kelly wrote: > ) I get incompatible runtime behavior: > > stephen@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 on

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

2015-06-18 Thread Stephen Kelly
Hello, Using this testcase: #include #include #include int main(int argv, char **args) { QCoreApplication app(argv, args); qDebug() << QCoreApplication::instance() << qApp; QTimer::singleShot(0, qApp, SLOT(quit())); return app.exec(); } and building with ubuntu Qt pac