2022-01-03 18:43:07 +01:00
|
|
|
QT += qml quick widgets sql quickcontrols2
|
2014-09-03 22:19:34 +02:00
|
|
|
TARGET = cool-retro-term
|
2014-09-02 18:10:04 +02:00
|
|
|
|
|
|
|
DESTDIR = $$OUT_PWD/../
|
2014-12-26 02:54:38 +01:00
|
|
|
|
|
|
|
HEADERS += \
|
2018-10-22 00:04:31 +02:00
|
|
|
fileio.h \
|
|
|
|
monospacefontmanager.h
|
2014-12-26 02:54:38 +01:00
|
|
|
|
|
|
|
SOURCES = main.cpp \
|
2018-10-22 00:04:31 +02:00
|
|
|
fileio.cpp \
|
|
|
|
monospacefontmanager.cpp
|
2014-09-02 18:10:04 +02:00
|
|
|
|
2014-10-11 14:54:41 +02:00
|
|
|
macx:ICON = icons/crt.icns
|
|
|
|
|
2014-09-02 18:10:04 +02:00
|
|
|
RESOURCES += qml/resources.qrc
|
|
|
|
|
2014-09-02 23:58:58 +02:00
|
|
|
#########################################
|
2022-08-29 13:06:13 +03:00
|
|
|
## INSTALLS
|
2014-09-02 23:58:58 +02:00
|
|
|
#########################################
|
|
|
|
|
2022-08-29 13:06:13 +03:00
|
|
|
PREFIX = $$(PREFIX) # Pass the make install PREFIX via environment variable. E.g. "PREFIX=/path/to/my/dir qmake".
|
|
|
|
isEmpty(PREFIX) {
|
|
|
|
message(No prefix given. Using /usr.)
|
|
|
|
PREFIX=/usr
|
|
|
|
}
|
|
|
|
|
|
|
|
target.path = $$PREFIX/bin
|
2014-09-02 23:58:58 +02:00
|
|
|
|
|
|
|
INSTALLS += target
|
2015-01-12 21:51:27 +01:00
|
|
|
|
|
|
|
# Install icons
|
|
|
|
unix {
|
|
|
|
icon32.files = icons/32x32/cool-retro-term.png
|
2022-08-29 13:06:13 +03:00
|
|
|
icon32.path = $$PREFIX/share/icons/hicolor/32x32/apps
|
2015-01-12 21:51:27 +01:00
|
|
|
icon64.files = icons/64x64/cool-retro-term.png
|
2022-08-29 13:06:13 +03:00
|
|
|
icon64.path = $$PREFIX/share/icons/hicolor/64x64/apps
|
2015-01-12 21:51:27 +01:00
|
|
|
icon128.files = icons/128x128/cool-retro-term.png
|
2022-08-29 13:06:13 +03:00
|
|
|
icon128.path = $$PREFIX/share/icons/hicolor/128x128/apps
|
2015-01-12 21:51:27 +01:00
|
|
|
icon256.files = icons/256x256/cool-retro-term.png
|
2022-08-29 13:06:13 +03:00
|
|
|
icon256.path = $$PREFIX/share/icons/hicolor/256x256/apps
|
2015-01-12 21:51:27 +01:00
|
|
|
|
2015-01-14 01:17:49 +01:00
|
|
|
INSTALLS += icon32 icon64 icon128 icon256
|
2015-01-12 21:51:27 +01:00
|
|
|
}
|