I am running multiple builds of tqt3 so you will be able to see how each build run results in a different 'undefined symbol' message.
When building from git and no additional patching, I saw a slew of the following "undefined symbol" errors:
============================================ /dev/shm/tqt3/plugins/designer/libcppeditor.so: undefined symbol: _ZN6Editor11eventFilterEP8TQObjectP7TQEvent ============================================
This is what started the mess.
With your proposed patch from earlier today, I then saw a slew of the following "undefined symbol" errors:
============================================ /dev/shm/tqt3/plugins/designer/libcppeditor.so: undefined symbol: _ZN6Editor13keyPressEventEP10TQKeyEvent ============================================
After seeing what you did in your patch --- while having no idea how any of this works, I looked at the previous build log and added another Q_EXPORT. The modified snippet added to your patch:
============================================ -void Editor::keyPressEvent( TQKeyEvent *e ) +Q_EXPORT void Editor::keyPressEvent( TQKeyEvent *e ) ============================================
With that updated patch, I see another new slew of "undefined symbol" errors:
============================================ /dev/shm/tqt3/plugins/designer/libcppeditor.so: undefined symbol: _ZN6Editor16doKeyboardActionEN10TQTextEdit14KeyboardActionE ============================================
So I continue this game and I add this snippet to the patch:
============================================ -void Editor::doKeyboardAction( KeyboardAction action ) +Q_EXPORT void Editor::doKeyboardAction( KeyboardAction action ) ============================================
With that updated patch, I see yet another slew of the following "undefined symbol" errors:
============================================ /dev/shm/tqt3/plugins/designer/libcppeditor.so: undefined symbol: _ZN6Editor16doChangeIntervalEv ============================================
According to how this game seems to play I should next do this:
============================================ -void Editor::doChangeInterval() +Q_EXPORT void Editor::doChangeInterval() ============================================
At this point I give up.
Darrell