> -----Original Message-----
> From: interest-bounces+kai.koehne=theqtcompany....@qt-project.org
> [mailto:interest-bounces+kai.koehne=theqtcompany....@qt-project.org]
> On Behalf Of Tamas Nagy
> Sent: Monday, October 20, 2014 7:19 AM
> To: interest@qt-project.org
> Subject: [Interest] Qt5 QCoreApplication crashes
> 
> Hi
> 
> I have this empty project that does nothing:
> 
> #include <QtCore>
> #include <QThread>
> #include <QList>
> #include <QObject>
> #include <QException>
> #include <iostream>
> #include "inputthread.h"
> #include "multiplierthread.h"
> #include "myobject.h"
> 
> using namespace std;
> 
> int main(int argc, char *argv[])
> 
> {
>         QCoreApplication a(argc, argv);
>         return a.exec();
> }
> In spite of the "empty" main, it crashes randomly:

What happens if you remove the unused header files? 

Also, some more specifics (Qt version, platform... might help). Do other Qt 
examples with your toolchain/compiler work? Can you get a more meaningful 
stacktrace with a debug build? Does Qt load any plugins it shouldn't load (e.g. 
mixing Qt 4 / Qt 5 plugins, a debugger should show you which libs are loaded)?

Regards

Kai Koehne
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to