Hi!!!

I am trying to create a custom widget following the example of "World Time Clock Plugin" from the qt5waybutton widget demo provide by with qt. I have compiled and created the .so from the sources, then i have checked if the .so was under /plugins/designer directory and after all, i started qtcreator to use it. When i load a .ui file or create a new qt form, the next error occurs:

/usr/local/Trolltech/qt-creator-1.1.0-src/bin/qtcreator.bin: symbol lookup error: /usr/local/Trolltech/Qt-4.5.1/plugins/designer/libqt5waybutton.so: undefined symbol: _ZN16QtSvgPixmapCacheC1EP7QObject

I dont know if i have to copy the .so library into another directory or if there is another step that i am missing.
i put my .pro file.

Qt Code:
  1. CONFIG += designer plugin
  2. TARGET = $$qtLibraryTarget($$TARGET)
  3. TEMPLATE = lib
  4. QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer
  5.  
  6. HEADERS = qt5waybutton.h \
  7. qt5waybuttonplugin.h
  8. SOURCES = qt5waybutton.cpp \
  9. qt5waybuttonplugin.cpp
  10.  
  11. # install
  12. target.path = $$[QT_INSTALL_PLUGINS]/designer
  13. sources.files = $$SOURCES $$HEADERS *.pro
  14. sources.path = $$[QT_INSTALL_EXAMPLES]/designer/qt5waybuttonplugin
  15. INSTALLS += target sources
To copy to clipboard, switch view to plain text mode 


Thanks for your help and sorry for the nuisance.