mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-01 18:29:16 +01:00
On OSX make the plugins in .app/Contents/Plugins instead of PlugIns
This commit is contained in:
parent
cacf03ae7b
commit
45244e3df5
@ -62,7 +62,7 @@ isEmpty(GCS_BUILD_TREE) {
|
|||||||
GCS_APP_PATH = $$GCS_BUILD_TREE/bin
|
GCS_APP_PATH = $$GCS_BUILD_TREE/bin
|
||||||
macx {
|
macx {
|
||||||
GCS_APP_TARGET = "OpenPilot GCS"
|
GCS_APP_TARGET = "OpenPilot GCS"
|
||||||
GCS_LIBRARY_PATH = $$GCS_APP_PATH/$${GCS_APP_TARGET}.app/Contents/PlugIns
|
GCS_LIBRARY_PATH = $$GCS_APP_PATH/$${GCS_APP_TARGET}.app/Contents/Plugins
|
||||||
GCS_PLUGIN_PATH = $$GCS_LIBRARY_PATH
|
GCS_PLUGIN_PATH = $$GCS_LIBRARY_PATH
|
||||||
GCS_LIBEXEC_PATH = $$GCS_APP_PATH/$${GCS_APP_TARGET}.app/Contents/Resources
|
GCS_LIBEXEC_PATH = $$GCS_APP_PATH/$${GCS_APP_TARGET}.app/Contents/Resources
|
||||||
GCS_DATA_PATH = $$GCS_APP_PATH/$${GCS_APP_TARGET}.app/Contents/Resources
|
GCS_DATA_PATH = $$GCS_APP_PATH/$${GCS_APP_TARGET}.app/Contents/Resources
|
||||||
|
@ -194,7 +194,7 @@ static inline QStringList getPluginPaths()
|
|||||||
// 2) "PlugIns" (OS X)
|
// 2) "PlugIns" (OS X)
|
||||||
pluginPath = rootDirPath;
|
pluginPath = rootDirPath;
|
||||||
pluginPath += QLatin1Char('/');
|
pluginPath += QLatin1Char('/');
|
||||||
pluginPath += QLatin1String("PlugIns");
|
pluginPath += QLatin1String("Plugins");
|
||||||
rc.push_back(pluginPath);
|
rc.push_back(pluginPath);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ QMAKE_EXTRA_COMPILERS += copy2build
|
|||||||
TARGET = $$qtLibraryTarget($$TARGET)
|
TARGET = $$qtLibraryTarget($$TARGET)
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/$${PROVIDER}/
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/$${PROVIDER}/
|
||||||
} else:linux-* {
|
} else:linux-* {
|
||||||
#do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
|
#do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
|
||||||
QMAKE_RPATHDIR += \$\$ORIGIN
|
QMAKE_RPATHDIR += \$\$ORIGIN
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
macx {
|
macx {
|
||||||
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/
|
||||||
} else:linux-* {
|
} else:linux-* {
|
||||||
#do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
|
#do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
|
||||||
# this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var
|
# this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var
|
||||||
|
Loading…
x
Reference in New Issue
Block a user