forked from Faster3ck/Converseen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconverseen.pro
executable file
·115 lines (104 loc) · 2.93 KB
/
converseen.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
TEMPLATE = app
QT = gui core
CONFIG += qt \
release \
warn_on \
DESTDIR = bin
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
FORMS = ui/mainwindow.ui \
ui/dialogconversionstatus.ui \
ui/dialogquality.ui \
ui/dialogoptions.ui \
ui/dialoginfo.ui
HEADERS = src/mainwindowimpl.h \
src/converter.h \
src/dialogconversionstatus.h \
src/dialogquality.h \
src/translator.h \
src/dialogoptions.h \
src/whereiam.h \
src/dialoginfo.h \
src/pixtreewidget.h \
src/formats.h \
src/inisettings.h \
src/sizeutil.h \
src/mylabelpreviewer.h \
src/thumbnailgeneratorthread.h \
src/pushcolorchooser.h \
src/cachingsystem.h \
src/combofilters.h
SOURCES = src/mainwindowimpl.cpp \
src/main.cpp \
src/converter.cpp \
src/dialogconversionstatus.cpp \
src/dialogquality.cpp \
src/translator.cpp \
src/dialogoptions.cpp \
src/whereiam.cpp \
src/dialoginfo.cpp \
src/pixtreewidget.cpp \
src/formats.cpp \
src/inisettings.cpp \
src/sizeutil.cpp \
src/mylabelpreviewer.cpp \
src/thumbnailgeneratorthread.cpp \
src/pushcolorchooser.cpp \
src/cachingsystem.cpp \
src/combofilters.cpp
QMAKE_CXXFLAGS += -O2 \
-Wall \
-W \
-pthread \
-DMAGICKCORE_HDRI_ENABLE=0 \
-DMAGICKCORE_QUANTUM_DEPTH=16
INCLUDEPATH += /usr/include/ImageMagick-6
LIBS += -L/usr/lib -lMagick++-6.Q16 -lMagickWand-6.Q16 -lMagickCore-6.Q16
TRANSLATIONS += loc/converseen_it_IT.ts \
loc/converseen_hu_HU.ts \
loc/converseen_cs_CZ.ts \
loc/converseen_fr_FR.ts \
loc/converseen_pt_BR.ts \
loc/converseen_de_DE.ts \
loc/converseen_es_CL.ts \
loc/converseen_tr_TR.ts \
loc/converseen_ru_RU.ts \
loc/converseen_pl_PL.ts \
loc/converseen_ja_JP.ts
RESOURCES += resources.qrc
INSTALL_PREFIX = /usr
target.path = $${INSTALL_PREFIX}/bin
SHARE_DIR = $${INSTALL_PREFIX}/share
translations.path = $${SHARE_DIR}/converseen/loc
translations.files = loc/converseen_it_IT.qm \
loc/converseen_hu_HU.qm \
loc/converseen_cs_CZ.qm \
loc/converseen_fr_FR.qm \
loc/converseen_pt_BR.qm \
loc/converseen_de_DE.qm \
loc/converseen_es_CL.qm \
loc/converseen_tr_TR.qm \
loc/converseen_ru_RU.qm \
loc/converseen_pl_PL.qm \
loc/converseen_ja_JP.qm
icon.path = $${SHARE_DIR}/pixmaps
icon.files = res/converseen.png
desktopFile.path = $${SHARE_DIR}/applications
desktopFile.files = res/converseen.desktop
kdeservicemenu.path = $${SHARE_DIR}/kde4/services/ServiceMenus/
kdeservicemenu.files = res/converseen_import.desktop
isEmpty(QMAKE_LRELEASE) {
QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
}
updateqm.input = TRANSLATIONS
updateqm.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
updateqm.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += updateqm
PRE_TARGETDEPS += compiler_updateqm_make_all
INSTALLS += target \
translations \
icon \
desktopFile \
kdeservicemenu