Warning, /webapps/qmlonline/qmlonline.pro is written in an unsupported language. File is not indexed.

0001 TARGET = qmlonline
0002 
0003 CONFIG += \
0004     c++14 \
0005     file_copies \
0006 
0007 QT += \
0008     bluetooth \
0009     charts \
0010     gui \
0011     multimedia \
0012     network \
0013     opengl \
0014     printsupport \
0015     qml \
0016     quick \
0017     quickwidgets \
0018     svg \
0019     widgets \
0020     xml \
0021     xmlpatterns \
0022     texttospeech
0023 
0024 SOURCES += \
0025     src/main.cpp \
0026     src/util.cpp \
0027     src/version.cpp \
0028 
0029 HEADERS += \
0030     src/util.h \
0031     src/version.h \
0032 
0033 RESOURCES += \
0034     resources.qrc
0035 
0036 # Clone or update kirigami repository
0037 KIRIGAMI_TAG = v5.70.0
0038 KIRIGAMI_DIR = 3rdparty/kirigami
0039 exists($$KIRIGAMI_DIR) {
0040     $$system(git --git-dir=$$_PRO_FILE_PWD_/$$KIRIGAMI_DIR/.git fetch --tags)
0041     $$system(git --git-dir=$$_PRO_FILE_PWD_/$$KIRIGAMI_DIR/.git checkout $$KIRIGAMI_TAG)
0042 } else {
0043     $$system(git clone -b $$KIRIGAMI_TAG https://github.com/KDE/kirigami $$KIRIGAMI_DIR)
0044 }
0045 include(3rdparty/kirigami/kirigami.pri)
0046 
0047 # Clone or update breeze-icons repository
0048 BREEZE_TAG = v5.70.0
0049 BREEZE_DIR = 3rdparty/breeze-icons
0050 exists($$BREEZE_DIR) {
0051     $$system(git --git-dir=$$_PRO_FILE_PWD_/$$BREEZE_DIR/.git fetch --tags)
0052     $$system(git --git-dir=$$_PRO_FILE_PWD_/$$BREEZE_DIR/.git checkout $$BREEZE_TAG)
0053 } else {
0054     $$system(git clone -b $$BREEZE_TAG https://github.com/KDE/breeze-icons $$BREEZE_DIR)
0055 }
0056 
0057 html.files = $$PWD/html/*
0058 html.path = $$OUT_PWD
0059 
0060 examples.files = $$PWD/qml
0061 examples.path = $$OUT_PWD
0062 
0063 COPIES += html examples
0064 
0065 OBJECTS_DIR = $$$$OUT_PWD/objects
0066 MOC_DIR = $$$$OUT_PWD/moc
0067 
0068 # Get actual build information
0069 GIT_VERSION = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$PWD log -1 --format=%h)
0070 GIT_VERSION_DATE = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$PWD log -1 --pretty='format:%cd' --date=format:'%d/%m/%Y')
0071 GIT_URL = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$PWD remote get-url origin)
0072 DEFINES += 'GIT_VERSION=\\"$$GIT_VERSION\\"'
0073 DEFINES += 'GIT_VERSION_DATE=\\"$$GIT_VERSION_DATE\\"'
0074 DEFINES += 'GIT_URL=\\"$$GIT_URL\\"'
0075 
0076 message(" GIT_VERSION:      " $$GIT_VERSION)
0077 message(" GIT_VERSION_DATE: " $$GIT_VERSION_DATE)
0078 message(" GIT_URL:          " $$GIT_URL)