Open akuzminykh opened 4 years ago
If I remember correctly, you need to merge the install of Maya and the devkit to get it correctly detected.
I have not yet tested it with Maya-2020.
It would be great if someone would check it with Maya 2020. I've just tried to use the custom Qt stuff (includes, libs) from Maya only and it's still not working. I've spent the last 3 weeks getting this plug-in to run. I'm done. I'm just done ..
I've compiled the plug-in, made all dependencies (
.dll
s) available and imported it successfully into Maya. Sadly, when I open the plug-in from the menu Maya crushes. I've checked the dump file and the error does occur because of a null pointer. Then I've rebuilt the plug-in in debug mode and watchedmaya.exe
at runtime with the Visual Studio debugger.I've found the exact errors:
QWidget: Must construct a QApplication before a QWidget
and
QWidget: Cannot create a QWidget without QApplication
The file with the error is this:
The error is at line 16. Could someone help me with that? What is the problem?
Specs:
I've tried to compile the plug-in with Mayas verison of Qt as well, but when I set the cmake config up in cmake-gui I'm getting problems:
Qt5Core.dll
. The devkit doesn't contain those.Qt5Cored.dll
. There are no debug binaries, neither in the installation folder nor the devkit.The vcpkg installation of Qt has everything. Shouldn't the devkit contain all I need? Do I have to disable the referencing of the debug binaries somehow?