From 9356f4cb1fe2a080ffe2104d393f638589881f6c Mon Sep 17 00:00:00 2001 From: Gres Date: Sun, 26 Jan 2020 22:08:29 +0300 Subject: [PATCH] Update build paths and flags --- screentranslator.pro | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/screentranslator.pro b/screentranslator.pro index c02a545..43c7834 100644 --- a/screentranslator.pro +++ b/screentranslator.pro @@ -12,17 +12,18 @@ TARGET = ScreenTranslator TEMPLATE = app CONFIG += c++11 +INCLUDEPATH += $$(DEPS_DIR)/include +LIBS += -L$$(DEPS_DIR)/lib + win32{ - INCLUDEPATH += $$PWD/../build/mingw/deps/include - LIBS += -L$$PWD/../build/mingw/deps/lib -lUser32 -lws2_32 + LIBS += --lUser32 -lws2_32 } linux{ QT += x11extras - INCLUDEPATH += $$PWD/../build/linux/deps/include - LIBS += -L$$PWD/../build/linux/deps/lib -lX11 -Wl,-rpath,. + LIBS += -lX11 -Wl,-rpath,. } -LIBS += -ltesseract -llept +LIBS += -ltesseract -lleptonica include(3rd-party/qtsingleapplication/qtsingleapplication.pri)