Hi,
My programming environment suddenly stopped working. I was using Qt 5.8 and VS 2015, the WINSDK variable is set to use 8.0, although in VS 8.1 and 10.0 are actually used. I'm trying to set it up again but I'm getting the following error on runtime in debug mode:
QObject: Cannot create children for a parent that is in a different thread.
(Parent is SEEXYZImporterGUI(0x13e2d8fbdd0), parent
QCoreApplication::postEvent: Unexpected null receiver
QWidget: Must construct a QApplication before a QWidget
Unhandled exception at 0x00007FFBFA8FB64E (ucrtbase.dll) in SAMSON-Core.exe: Fatal program exit requested.
Release mode works and this happens when running in debug from the project of any SAMSON element (I'm trying with the elements from the Developer tutorial to be sure). Compilation doesn't give any warnings or errors.
Has anyone encountered this error? Possible causes could be:
- A windows 10 update (I can't control them as I'm forced to use my company laptop)
- Adding Anaconda to the path (to use Python Scripting Element, but also the Qt that comes with Anaconda gets fetched instead of the Qt installation) => already removed and the right Qt is getting selected but until I found this maybe I uninstalled something.
Also I'm working with a colleague and our environments seem very similar (same cmake, VS and Qt versions, same environment variables), but it works for him. The only difference we notice is that in the VC++ directories of the project he only gets Win 10 SDK loaded, but I can't manage to get rid of the references to 8.1 in mine.Perhaps someone has encountered this error before and can point me in the right direction.
I would also like to ask if it would be possible to get it working with Qt 5.12 and VS 2017, as they added at some point in Qt 5.11 more debugging capabilities.
Thanks for your help and best regards,
Elisa