[Interest] QMake variable TARGET_EXT ignored on unix platforms

Roland Winklmeier roland.m.winklmeier at gmail.com
Wed Jun 18 13:23:02 CEST 2014


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". On Windows this is
the case, but Linux ignores it and creates a shared library with version
information plus symbol links:

libplugin.so.0.5.0
libplugin.so.0
libplugin.so

I presume on OSX it will be similar to Linux.

Is there a way to get the same behavior on Unix or is this not supported at
all? The doc does not say anything about platform limitations (
http://qt-project.org/doc/qt-5/qmake-variable-reference.html#target-ext).
I've used Qt 5.3.0 libraries.

Regards,
Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140618/e735dd7b/attachment.html>


More information about the Interest mailing list