[Development] Errors in release mode only

Konstantin Ritt ritt.ks at gmail.com
Mon Mar 30 21:28:50 CEST 2015

> QEventLoop: Cannot be used without QApplication

Says everything.

Show your code.


2015-03-30 23:21 GMT+04:00 raven-worx Software <info at raven-worx.net>:

> Hi,
> i get the following print outs to the console and absolutley have no clue
> why:
> SHIMVIEW: ShimInfo(Complete)
> QEventLoop: Cannot be used without QApplication
> QObject::connect: Cannot connect (null)::aboutToQuit() to
> QNativeWifiEngine::closeHandle()
> But this only happens in RELEASE MODE! DEBUG mode works fine and these
> print outs are not showing up.
> I even get these print outs when my main() only returns 0, so no
> QApplication is instantiated meaning as soon as i link against Qt
> binaries.
> Once the application starts up i also noticed that (queued) signals
> from other threads are not delivered anymore, which most probably
> involves the QEventLoop error message somehow. But on the other hand
> events from the OS are delivered.
> I am using:
> QtCreator 3.3.1, MSVC2012, Qt 5.4.1
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150330/e394f347/attachment.html>

More information about the Development mailing list