5 if [ -z "$LD_LIBRARY_PATH" ];then
6 export LD_LIBRARY_PATH="@CMAKE_BINARY_DIR@/lib"
8 export LD_LIBRARY_PATH="@CMAKE_BINARY_DIR@/lib:$LD_LIBRARY_PATH"
10 export QT_PLUGIN_PATH="@CMAKE_BINARY_DIR@/plugins"
11 export QML_IMPORT_PATH="@CMAKE_BINARY_DIR@/imports"
16 cd "$(dirname "$bin")"
17 if [ -z "$DISPLAY" ];then
22 DISPLAY=:123 @CMAKE_CROSSCOMPILING_EMULATOR@ "./$(basename "$bin")" $@
28 exec @CMAKE_CROSSCOMPILING_EMULATOR@ "./$(basename "$bin")" $@