You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've compiled the plug-in, made all dependencies (.dlls) 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 watched maya.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 error is at line 16. Could someone help me with that? What is the problem?
Specs:
Maya 2020
Visual Studio 2019
QT 5.12.5 (installed with vcpkg)
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:
When I use the Qt files in the devkit for Maya, cmake tells me that it can't find the binaries, e.g. Qt5Core.dll. The devkit doesn't contain those.
When I use the Qt files in the installation folder of Maya, cmake tells me that the debug binaries are missing, e.g. 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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: