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
On 02/10/2014 01:35 PM, Darrell Anderson wrote:
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.
I'm going to hunt around, but it just seems like something broke your libcppeditor.so. Hold on, I'll google a bit. I need to understand this error a bit better.
On 02/10/2014 01:35 PM, Darrell Anderson wrote:
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 ============================================
Darrell,
Can you post (or send me) a whole block containing the error? A couple of examples with the full block like:
g++ -luuid -fno-exceptions -Wl,-rpath,/opt/tqt3/lib -shared -Wl,-rpath,/build/tde-tqt3/src/tqt3/plugins/designer -o libcppeditor.so .obj/release-shared-mt/cppeditor.o .obj/release-shared-mt/syntaxhighliter_cpp.o .obj/release-shared-mt/cppcompletion.o .obj/release-shared-mt/editorinterfaceimpl.o .obj/release-shared-mt/languageinterfaceimpl.o .obj/release-shared-mt/common.o .obj/release-shared-mt/preferenceinterfaceimpl.o .obj/release-shared-mt/yyreg.o .obj/release-shared-mt/cppbrowser.o .obj/release-shared-mt/projectsettingsinterfaceimpl.o .obj/release-shared-mt/sourcetemplateinterfaceimpl.o .obj/release-shared-mt/projectsettings.o .obj/release-shared-mt/mainfilesettings.o .obj/release-shared-mt/moc_cppeditor.o .obj/release-shared-mt/moc_cppcompletion.o .obj/release-shared-mt/moc_editorinterfaceimpl.o .obj/release-shared-mt/moc_cppbrowser.o .obj/release-shared-mt/moc_projectsettings.o .obj/release-shared-mt/moc_mainfilesettings.o -L/usr/lib/mysql -L/build/tde-tqt3/src/tqt3/lib -L/usr/X11R6/lib -luuid -lpq -lmysqlclient -L/build/tde-tqt3/src/tqt3/lib -ltqteditor -ltqt-mt -lz -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread blah...
On Monday 10 of February 2014 20:35:33 Darrell Anderson wrote:
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
Ok, I have the ultimate solution.
Because 'cppeditor' utilizes many parts of the 'editor', it seems useful (perhaps only possible), leave visible 'everything' from the editor. Drop previous patches and try only this attached.