On Sat, Jun 24, 2017 at 10:28 PM, Lubomir I. Ivanov <neolit...@gmail.com> wrote:
> On 24 June 2017 at 21:29, Dirk Hohndel <d...@hohndel.org> wrote: > > > >> 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-qwidg > et-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. > > > > looks like this error: > "QWidget: Must construct a QApplication before a QWidget" > > And I guess this is currently being created after we do a QApplication app; because we only initiate the mainwindow after creating the QApplication. so I'm a bit lost here. > is reported the first time a QWebView instance is created. > > i've reported an error to the github project from where i've > downloaded these webkit binaries. > so it's probably just an error on my end. > > lubomir > -- > _______________________________________________ > subsurface mailing list > subsurface@subsurface-divelog.org > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface >
_______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface