Why FBVisualComponent::GetQWidgetAddress()
in Motion Builder SDK always return 0?
I want to get the address of qwidget inside a FBLabel
, and call some native QT method on it.
However, I found that the method always return a 0.
I wonder if this method works.
I'm using MotionBuilder2019.
It seems that MotionBuilder uses QWidget encapsulated by theirselves, instead of native QT widgets like QLabel or QPushButton. It means that even if you can get the address of these QWidgets, you can do nothing to them. If you really want to make a nice user interface, just use the QT via
FBNativeHolder
.