> On Jun 24, 2017, at 11:16 AM, Lubomir I. Ivanov <neolit...@gmail.com> wrote:
> 
> i've updated to Qt 5.9.0 today and after building Subsurface on
> Windows i'm getting a:
> 
> QWidget: Must construct a QApplication before a QWidget
> Invalid parameter passed to C runtime function.
> Invalid parameter passed to C runtime function.
> 
> and the app terminates with:
> "This application has requested the Runtime to terminate it in an unusual 
> way."
> 
> the above error cannot be debugged properly most of the time (e.g. asserts).
> 
> https://stackoverflow.com/questions/23804238/debugging-qwidget-must-construct-a-qapplication-before-a-qwidget-invalid-par
> 
> according the comments in the thread we are probably creating a widget
> in a header somewhere before the QApplication instance in created.
> 
> i'm trying to hunt what widget / header is causing that.

Oh joy - this is one of the things I hate the most about C++
Random things happening in random order that make no sense to me.
I remember all the cases in which our translations aren't loaded when object 
are instantiated.

Thanks for hunting this down.

/D
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to