<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 24, 2017 at 10:28 PM, Lubomir I. Ivanov <span dir="ltr"><<a href="mailto:neolit123@gmail.com" target="_blank">neolit123@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 24 June 2017 at 21:29, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>> wrote:<br>
><br>
>> On Jun 24, 2017, at 11:16 AM, Lubomir I. Ivanov <<a href="mailto:neolit123@gmail.com" target="_blank">neolit123@gmail.com</a>> wrote:<br>
>><br>
>> i've updated to Qt 5.9.0 today and after building Subsurface on<br>
>> Windows i'm getting a:<br>
>><br>
>> QWidget: Must construct a QApplication before a QWidget<br>
>> Invalid parameter passed to C runtime function.<br>
>> Invalid parameter passed to C runtime function.<br>
>><br>
>> and the app terminates with:<br>
>> "This application has requested the Runtime to terminate it in an unusual way."<br>
>><br>
>> the above error cannot be debugged properly most of the time (e.g. asserts).<br>
>><br>
>> <a href="https://stackoverflow.com/questions/23804238/debugging-qwidget-must-construct-a-qapplication-before-a-qwidget-invalid-par" rel="noreferrer" target="_blank">https://stackoverflow.com/ques<wbr>tions/23804238/debugging-qwidg<wbr>et-must-construct-a-qapplicati<wbr>on-before-a-qwidget-invalid-<wbr>par</a><br>
>><br>
>> according the comments in the thread we are probably creating a widget<br>
>> in a header somewhere before the QApplication instance in created.<br>
>><br>
>> i'm trying to hunt what widget / header is causing that.<br>
><br>
> Oh joy - this is one of the things I hate the most about C++<br>
> Random things happening in random order that make no sense to me.<br>
> I remember all the cases in which our translations aren't loaded when object are instantiated.<br>
><br>
> Thanks for hunting this down.<br>
><br>
<br>
</span>looks like this error:<br>
<span>"QWidget: Must construct a QApplication before a QWidget"<br>
<br></span></blockquote><div><br></div><div>And I guess this is currently being created after we do a QApplication app;<br></div><div>because we only initiate the mainwindow after creating the QApplication. so I'm a bit lost here.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
</span>is reported the first time a QWebView instance is created.<br>
<br>
i've reported an error to the github project from where i've<br>
downloaded these webkit binaries.<br>
so it's probably just an error on my end.<br>
<br>
lubomir<br>
--<br>
<div class="m_-2752540655887508120HOEnZb"><div class="m_-2752540655887508120h5">______________________________<wbr>_________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.<wbr>org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelo<wbr>g.org/cgi-bin/mailman/listinfo<wbr>/subsurface</a><br>
</div></div></blockquote></div><br></div></div>