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 :)
>
> 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}/$
Den 18-06-2014 13:23, Roland Winklmeier skrev:
> Hey there,
>
> I have a project which builds a plugin for a cross platform application.
> This application expects its plugins to have the extension *.xpl. After
> reading the docs and setting the qmake variables to
>
> TARGET = plugin
> TARGET_EXT=x
Hey there,
I have a project which builds a plugin for a cross platform application.
This application expects its plugins to have the extension *.xpl. After
reading the docs and setting the qmake variables to
TARGET = plugin
TARGET_EXT=xpl
I expected to get a shared library called "plugin.xpl". O