[Solved]SvgRenderer Error
-
Hi all,
I am trying to use QtSvgSlideswitch in my application. when i compile it is fine. during run time it is giving symbol lookup error as
./PortableTester: symbol lookup error: /home/libVIInterface.so: undefined symbol: _ZN12QSvgRendererC1EP7QObjectdoes anybody faced this error?
what is the problem wth svg renderer.
-
Hi,
seems like you're running on linux (why do you have a library in the home dir ?)
Do you have Qt's svg lib available in your LD_LIBRARY_PATH ?
-
Hi,
Thank you for suggestion.
Yes i have the libqsvg.so in the library path i.e(/exports/nfsroot-ccwmx51js/usr/local/QtEmbedded-4.7.1/plugins/imageformats/)
-
Since you're on embedded, do you have this error on your target ?
-
Hi SGaist,
thank you.
Actually the problem is i forget to add the
@QT += svg@in the pro file.
thanks for your suggestions.
-
Just to be sure, was the error happening at run time ?
Anyway, glad you found out, don't forget to update the thread's title to solved so other forum users will know that it's all good :)
-
Yes error happening in the run time.
:-)