forked from qt-creator/qt-creator
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qtcreator: Update to qtc 14.0.2 and strip down the IDE.
- Loading branch information
Showing
12 changed files
with
477 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
if (NOT APPLE) | ||
install(PROGRAMS qtcreator.sh DESTINATION bin) | ||
# OPENMV-DIFF # | ||
# install(PROGRAMS qtcreator.sh DESTINATION bin) | ||
# OPENMV-DIFF # | ||
install(PROGRAMS openmvide.sh DESTINATION bin) | ||
# OPENMV-DIFF # | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#! /bin/sh | ||
|
||
# Use this script if you add paths to LD_LIBRARY_PATH | ||
# that contain libraries that conflict with the | ||
# libraries that OpenMV IDE depends on. | ||
|
||
makeAbsolute() { | ||
case $1 in | ||
/*) | ||
# already absolute, return it | ||
echo "$1" | ||
;; | ||
*) | ||
# relative, prepend $2 made absolute | ||
echo `makeAbsolute "$2" "$PWD"`/"$1" | sed 's,/\.$,,' | ||
;; | ||
esac | ||
} | ||
|
||
me=`which "$0"` # Search $PATH if necessary | ||
if test -L "$me"; then | ||
# Try GNU readlink(1) | ||
nme=`readlink -nf "$me" 2>/dev/null` | ||
if test -n "$nme"; then | ||
me=$nme | ||
else | ||
# No GNU readlink(1), so let's try ls -l | ||
base=`dirname "$me"` | ||
me=`ls -l "$me" | sed 's/^.*-> //'` | ||
me=`makeAbsolute "$me" "$base"` | ||
fi | ||
fi | ||
|
||
bindir=`dirname "$me"` | ||
libdir=`cd "$bindir/../lib" ; pwd` | ||
# Add path to deployed Qt libraries in package | ||
qtlibdir=$libdir/Qt/lib | ||
if test -d "$qtlibdir"; then | ||
qtlibpath=:$qtlibdir | ||
fi | ||
# Add OpenMV IDE library path | ||
_ORIGINAL_LD_LIBRARY_PATH=$LD_LIBRARY_PATH | ||
LD_LIBRARY_PATH=$libdir:$libdir/qtcreator$qtlibpath${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} | ||
export LD_LIBRARY_PATH | ||
exec "$bindir/openmvide" -user-library-path "$_ORIGINAL_LD_LIBRARY_PATH" ${1+"$@"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.