Skip to content

Commit

Permalink
Linux: Prevent buggy Qt plugins from crashing radium. Should fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kmatheussen committed Aug 5, 2018
1 parent 2e93132 commit ed266e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/run_radium_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ fi

export LD_LIBRARY_PATH="$XCB_LIB_DIR"${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}

# To avoid buggy qt plugins from crashing radium (very common).
unset QT_QPA_PLATFORMTHEME

LD_LIBRARY_PATH="$LD_LIBRARY_PATH" "$THIS_DIR"/radium_linux.bin $@

3 changes: 3 additions & 0 deletions make_and_run_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ export LD_LIBRARY_PATH=$XCB_LIB_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}

#export LD_PRELOAD=$HOME/jack_interposer/jack_interposer.so

# To avoid buggy qt plugins from crashing radium (very common).
unset QT_QPA_PLATFORMTHEME

BUILDTYPE=DEBUG ./build_linux.sh -j `expr $(nproc) - 1` && ./run_gdb.sh $@
# QT_FATAL_WARNINGS=1 causes lots of crashes in qt5

Expand Down

0 comments on commit ed266e1

Please sign in to comment.