From f441ffd74a5872e203f2d810d62af3b0a5da2e31 Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Wed, 8 Oct 2014 00:41:56 +0200 Subject: [PATCH] Try to link opencv statically in linux packages --- qtox.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qtox.pro b/qtox.pro index 879112e5f..3b95cdf1f 100644 --- a/qtox.pro +++ b/qtox.pro @@ -62,7 +62,10 @@ win32 { contains(STATICPKG, YES) { target.path = /usr/bin INSTALLS += target - LIBS += -L$$PWD/libs/lib/ -Wl,-Bstatic -ltoxcore -ltoxav -lsodium -Wl,-Bdynamic -lopus -lvpx -lopenal -lopencv_core -lopencv_highgui + LIBS += -L$$PWD/libs/lib/ -lopus -lvpx -lopenal -Wl,-Bstatic -ltoxcore -ltoxav -lsodium -lopencv_highgui -lopencv_imgproc -lopencv_core -lz -Wl,-Bdynamic + LIBS += -Wl,-Bstatic -ljpeg -ltiff -lpng -ljasper -lIlmImf -lIlmThread -lIex -ldc1394 -lraw1394 -lHalf -lz -llzma -ljbig + LIBS += -Wl,-Bdynamic -ltbb -lv4l1 -lv4l2 -lgnutls -lrtmp -lgnutls -lavformat -lavcodec -lavutil -lavfilter -lswscale -lusb-1.0 + } else { LIBS += -L$$PWD/libs/lib/ -ltoxcore -ltoxav -lvpx -lopenal -lopencv_core -lopencv_highgui }