>
> unix:QMAKE_POST_LINK += cp $$DESTDIR/$$TARGET.so $$DESTDIR/$$TARGET.xpl
>
> Written from memory, you probably need to fix it a bit.
>
> I hope this helps,
>

Thanks Bo. You pointed me into the right direction.

CONFIG += plugin
unix:QMAKE_POST_LINK += mv $$DESTDIR/lib$${TARGET}.so
$${DESTDIR}/$${TARGET}.xpl

did the trick. With CONFIG += plugin, it will create a single file
libplugin.so instead of the one with library version + two symlinks. The
second command renames it to the required plugin name.

Roland
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to