Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Asking for Help：questions about Qt event dispatcher
hotman last edited by
I develop a plugin of adobe illustrator(a graphic design software) using QT Widgets to build the plugin's UI in windows xp 32bits and win7 32bits. Everything is ok except the following problems:
- the drawing canvas refresh abnormally when moving the scrollbars or toggling the layers' visiblility, but zoom and pan tool are ok;
- the 'ALT' key dose not work when the qApp->exec() running
- parts of the illustrator's layer control refresh abnormally
A QApplication instance is contructed when the plugin starts up and destroyed when the plugin shutdown, and show dialog in the plugin's menus using qApp->exec() method. The apparent reason is Qt has a different windows message process routine from illustrator's main frame. Is there any other way to use qt in such a condition.
Does anyone have some suggestions?
Your answers would be of great help and be very much appreciated. Thank you!
vincentdoan last edited by
Have you found the answer?
I am also working on this and do have a few suggestions.
Don't use exec() as your widgets will not run under Illustrator main loop.
But, I still have problems dealing with other issues.