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 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
|
######################################################################
# Automatically generated by qmake (3.0) ?? ??? 3 05:18:05 2018
######################################################################
TEMPLATE = app
TARGET = ulcc
INCLUDEPATH += .
QT += widgets multimedia
ARCH = $$QMAKE_HOST.arch
CONFIG(debug, release|debug){
MOC_DIR = .build/$$ARCH/debug
OBJECTS_DIR = .build/$$ARCH/debug
UI_DIR = .build/$$ARCH/debug
RCC_DIR = .build/$$ARCH/debug
}
CONFIG(release, release|debug){
MOC_DIR = .build/$$ARCH/release
OBJECTS_DIR = .build/$$ARCH/release
UI_DIR = .build/$$ARCH/release
RCC_DIR = .build/$$ARCH/release
}
QMAKE_LINK_OBJECT_SCRIPT = .build/$$ARCH/object_script
#RESOURCES += ulcc.qrc
win32:RC_FILE = ulcc.rc
DESTDIR = Bin
gcc {
QMAKE_CXXFLAGS += -std=gnu++11
QMAKE_CXXFLAGS += -pedantic -pedantic-errors
QMAKE_CXXFLAGS += -Wall -Wextra -Wformat -Wformat-security -Wno-unused-variable -Wno-unused-parameter
}
TRANSLATIONS = $$files(langs/ulcc_*.ts)
### install ###
isEmpty(QMAKE_LRELEASE) {
win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
unix {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt5 }
} else {
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
}
}
!win32 {
system($${QMAKE_LRELEASE} -silent $${_PRO_FILE_} 2> /dev/null)
}
win32 {
system($${QMAKE_LRELEASE} $${_PRO_FILE_})
}
updateqm.input = TRANSLATIONS
updateqm.output = langs/${QMAKE_FILE_BASE}.qm
updateqm.commands = $$QMAKE_LRELEASE -silent ${QMAKE_FILE_IN} -qm langs/${QMAKE_FILE_BASE}.qm
updateqm.CONFIG += no_link target_predeps
QMAKE_EXTRA_COMPILERS += updateqm
data_bin.path = /usr/bin/
data_bin.files = Bin/ulcc
INSTALLS += data_bin
data_images.path = /usr/share/ulcc/images/
data_images.files = images/*
INSTALLS += data_images
data_dictionaries.path = /usr/share/ulcc/dictionaries/
data_dictionaries.files = dictionaries/*
INSTALLS += data_dictionaries
data_app.path = /usr/share/applications/
data_app.files = pkg/ulcc.desktop
INSTALLS += data_app
data_icons16.path = /usr/share/icons/hicolor/16x16/apps/
data_icons16.files = pkg/icons/16x16/ulcc.png
INSTALLS += data_icons16
data_icons32.path = /usr/share/icons/hicolor/32x32/apps/
data_icons32.files = pkg/icons/32x32/ulcc.png
INSTALLS += data_icons32
data_icons48.path = /usr/share/icons/hicolor/48x48/apps/
data_icons48.files = pkg/icons/48x48/ulcc.png
INSTALLS += data_icons48
data_icons64.path = /usr/share/icons/hicolor/64x64/apps/
data_icons64.files = pkg/icons/64x64/ulcc.png
INSTALLS += data_icons64
data_icons128.path = /usr/share/icons/hicolor/128x128/apps/
data_icons128.files = pkg/icons/128x128/ulcc.png
INSTALLS += data_icons128
data_langs.path = /usr/share/ulcc/langs/
data_langs.files = langs/*.qm langs/langs.json
INSTALLS += data_langs
### SOURCE ###
# Input
SOURCES += main.cpp \
mainwindow.cpp \
ManagerDictionaries.cpp \
FormSelectDictionary.cpp \
FormAbout.cpp \
FormHelp.cpp \
ManagerLanguage.cpp \
FormSelectLanguage.cpp
FORMS += \
mainwindow.ui \
FormSelectDictionary.ui \
FormAbout.ui \
FormHelp.ui \
FormSelectLanguage.ui
HEADERS += \
mainwindow.h \
ManagerDictionaries.h \
FormSelectDictionary.h \
FormAbout.h \
FormHelp.h \
config_ulcc.h \
ManagerLanguage.h \
FormSelectLanguage.h
|