From dc1cacc23a04084e6548e85e3f4d6820f8ab96af Mon Sep 17 00:00:00 2001 From: shi yan Date: Wed, 22 Apr 2015 15:19:37 -0700 Subject: [PATCH] add -rpath settings for linux build --- H264Naked.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/H264Naked.pro b/H264Naked.pro index 5c2f902..195aa86 100644 --- a/H264Naked.pro +++ b/H264Naked.pro @@ -24,8 +24,9 @@ FORMS += mainwindow.ui macx:INCLUDEPATH += /usr/local/include macx: LIBS += -L/usr/local/lib \ -lh264bitstream +macx:ICON = H264Naked.icns unix:!macx: LIBS += -lh264bitstream -macx:ICON = H264Naked.icns +unix:!macx: QMAKE_LFLAGS += '-Wl,-rpath=\'\$$ORIGIN\''