Skip to main content

Thread: Several Qt linking questions, how to specify link version


first post!

well, have been crazy blaming eclipse project configuration crash i'm getting after instantiating qt classes, maybe guys can give me better hint.

right i'm doing qt development eclipse , works perfect if use "qt project templates" provided eclipse's qt plugin. in case had c++ project problems started.

configuration:
qt instalation directory: /home/user/dev/sdk/qtsdk
qt include directory: /home/user/dev/sdk/qtsdk/qt/include
qt link directory: /home/user/dev/sdk/qtsdk/qt/lib
linking to: qtcore

code:
#include <qeasingcurve> int main() { 	qeasingcurve curve(qeasingcurve::inbounce); 	return 0; }
compiles , links perfectly, crashes on first line. with:
code:
 ../animationtest: symbol lookup error: ../animationtest: undefined symbol: _zn12qeasingcurvec1ens_4typee
that doesn't make sense. thought maybe executable grabbing old installed qtcore.so library on /usr/lib folder instead of new 1 in /home/user/dev/sdk/qtsdk/qt/lib? in case, how can be? not telling eclipse want use new one? how can fix that?

secondly, how can choose link libqtcore.so.4.6.3 , not default libqtcore.so (that links outdated qtcore)

lastly, how can install latest qt4.6.3 on /usr/lib folder without breaking old qt version surely support of installed programs.

help!



Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Several Qt linking questions, how to specify link version


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO