On 24 June 2017 at 21:29, Dirk Hohndel <[email protected]> wrote: > >> On Jun 24, 2017, at 11:16 AM, Lubomir I. Ivanov <[email protected]> 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. >
looks like this error: "QWidget: Must construct a QApplication before a QWidget" 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 [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
