[Interest] QCoreApplication crashes

Rainer Wiesenfarth Rainer_Wiesenfarth at Trimble.com
Fri Oct 24 09:21:30 CEST 2014


Am 20.10.2014 07:12, schrieb Tamás Nagy:> Hi
> 
> #include <QtCore>
> //#include <qtconcurrentrun.h>
> #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();
> }
> [...]

Looks like a problem with static initialization. Any static objects in
inputthread.h, multiplierthread.h, myobject.h or the related files? What
happens if you comment your includes, one by one?

Best Regards / Mit freundlichen Grüßen
Rainer Wiesenfarth

-- 
Software Engineer | Trimble Geospatial
Rotebühlstraße 81 | 70178 Stuttgart | Germany
Office +49 711 22881 0 | Fax +49 711 22881 11
http://www.trimble.com/geospatial/ | http://www.inpho.de/

Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim
Eingetragen beim Amtsgericht Darmstadt unter HRB 83893,
Geschäftsführer: Dr. Frank Heimberg, Hans-Jürgen Gebauer 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6250 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141024/3de9faff/attachment.bin>


More information about the Interest mailing list