2010-06-07 12:06:04 +02:00
|
|
|
TEMPLATE = lib
|
2011-08-23 12:47:30 +02:00
|
|
|
TARGET = simple_test_plugin
|
2010-06-07 12:06:04 +02:00
|
|
|
CONFIG += shared
|
|
|
|
|
|
2011-08-23 12:47:30 +02:00
|
|
|
SOURCES += simple_test_plugin.cpp
|
2010-06-07 12:06:04 +02:00
|
|
|
|
|
|
|
|
macx {
|
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/$${PROVIDER}/
|
|
|
|
|
} else:linux-* {
|
|
|
|
|
#do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
|
|
|
|
|
QMAKE_RPATHDIR += \$\$ORIGIN/..
|
|
|
|
|
IDE_PLUGIN_RPATH = $$join(QMAKE_RPATHDIR, ":")
|
|
|
|
|
QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${IDE_PLUGIN_RPATH}\'
|
|
|
|
|
QMAKE_RPATHDIR =
|
|
|
|
|
}
|
2011-01-03 17:34:41 +01:00
|
|
|
|
|
|
|
|
maemo5 {
|
|
|
|
|
target.path = /opt/usr/lib
|
|
|
|
|
INSTALLS += target
|
|
|
|
|
}
|