Den 18-06-2014 16:04, Roland Winklmeier skrev: > 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.
You're very welcome :) > 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. There's a reason I used cp instead of mv: With this it will relink every single time you build, even if you didn't change anything. Bo. -- Viking Software Qt and C++ developers for hire http://www.vikingsoft.eu _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest