--- ./Tools/qmake/mkspecs/features/unix/default_post.prf.orig
+++ ./Tools/qmake/mkspecs/features/unix/default_post.prf
@@ -59,8 +59,6 @@
     }
 }
 
-contains(TEMPLATE, app): CONFIG += rpath
-
 CONFIG(debug, debug|release)|force_debug_info {
     # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
     !force_static_libs_as_shared:config_gnuld: QMAKE_LFLAGS += -Wl,--no-keep-memory