include(../variables.pri)

TEMPLATE = app
TARGET = qlcplus-launcher

QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

RESOURCES += launcher.qrc

INCLUDEPATH += ../plugins/interfaces
INCLUDEPATH += ../engine/src

HEADERS += launcher.h
SOURCES += launcher.cpp main.cpp

TRANSLATIONS += launcher_fi_FI.ts
TRANSLATIONS += launcher_de_DE.ts
TRANSLATIONS += launcher_fr_FR.ts
TRANSLATIONS += launcher_es_ES.ts
TRANSLATIONS += launcher_it_IT.ts
TRANSLATIONS += launcher_nl_NL.ts
TRANSLATIONS += launcher_cz_CZ.ts
TRANSLATIONS += launcher_pt_BR.ts
TRANSLATIONS += launcher_ca_ES.ts
TRANSLATIONS += launcher_ja_JP.ts

# This must be after "TARGET = " and before target installation so that
# install_name_tool can be run before target installation
include(../platforms/macos/nametool.pri)

# Installation
target.path     = $$INSTALLROOT/$$BINDIR
INSTALLS        += target
