c++ - Custom widget plugin for qt designer is invisible -
I have tried to follow the custom widget plugin for Qt Designer this tutorial and some have succeeded. Actually, I can put my new widget in the designer, but it does not attract (instead of attracting me to your paint event method, whatever blank class I started with, I started with some custom code, but with the tutorial Returned to copy paste, which was not working).
When custom widgets are filled in my system log:
full_path / designer: CGAffineTransformInvert: singular matrix.
Any suggestions?
I have created an example plugin that came with QT SDK and there was no problem.
Without a source, it is very difficult to help you, I will prefer QT 4.4 - it is very reliable It's faster.
Here are some common problems / hints:
- Your DLL / .so file / plugins /
- You have a buggy color () method
- Some labs are missing in your app or lab
Can you post your paint method?
Ciao, Chris
Comments
Post a Comment