Build configuration updated (now also includes linux builds).

This commit is contained in:
Gres 2015-09-27 18:16:37 +03:00
parent bf2d19b6f0
commit ced4b1c5c8

View File

@ -11,10 +11,18 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = ScreenTranslator TARGET = ScreenTranslator
TEMPLATE = app TEMPLATE = app
INCLUDEPATH += ../include win32{
RC_FILE = app.rc
INCLUDEPATH += ../mingw/include
LIBS += -L../mingw/lib -lws2_32
}
linux{
QT += x11extras
INCLUDEPATH += ../linux/include
LIBS += -L../linux/lib -lX11
}
LIBS += -L../bin -ltesseract -llept -ltiff -lgif -ljpeg -lz LIBS += -ltesseract -llept
LIBS += -lWs2_32
include(3rd-party/qtsingleapplication/qtsingleapplication.pri) include(3rd-party/qtsingleapplication/qtsingleapplication.pri)
@ -58,10 +66,6 @@ TRANSLATIONS += \
translations/translation_en.ts \ translations/translation_en.ts \
translations/translation_ru.ts translations/translation_ru.ts
win32{
RC_FILE = app.rc
}
OTHER_FILES += \ OTHER_FILES += \
app.rc \ app.rc \
images/icon.ico \ images/icon.ico \