mirror of https://github.com/procxx/kepka.git
Add option to set Qt path and version as env variables.
Signed-off-by: Kirill Leyfer <leyfer.kirill@gmail.com> (github: BOOtak)
This commit is contained in:
parent
709ca5f316
commit
267f619175
|
@ -1,17 +1,22 @@
|
|||
QT_TDESKTOP_VERSION_DEFAULT = 5.6.0
|
||||
QT_TDESKTOP_PATH_DEFAULT = /usr/local/tdesktop/Qt-$${QT_TDESKTOP_VERSION_DEFAULT}
|
||||
|
||||
QT_TDESKTOP_VERSION = $${QT_TDESKTOP_VERSION}
|
||||
QT_TDESKTOP_PATH = $${QT_TDESKTOP_PATH}
|
||||
|
||||
isEmpty(QT_TDESKTOP_PATH) {
|
||||
message(QT_TDESKTOP_PATH is not set. Using default value $${QT_TDESKTOP_PATH_DEFAULT})
|
||||
QT_TDESKTOP_PATH = $${QT_TDESKTOP_PATH_DEFAULT}
|
||||
|
||||
QT_TDESKTOP_PATH = $$(QT_TDESKTOP_PATH)
|
||||
isEmpty(QT_TDESKTOP_PATH) {
|
||||
message(QT_TDESKTOP_PATH is not set. Using default value $${QT_TDESKTOP_PATH_DEFAULT})
|
||||
QT_TDESKTOP_PATH = $${QT_TDESKTOP_PATH_DEFAULT}
|
||||
}
|
||||
}
|
||||
|
||||
QT_TDESKTOP_VERSION = $${QT_TDESKTOP_VERSION}
|
||||
isEmpty(QT_TDESKTOP_VERSION) {
|
||||
message(QT_TDESKTOP_VERSION is not set. Using default value $${QT_TDESKTOP_VERSION_DEFAULT})
|
||||
QT_TDESKTOP_VERSION = $${QT_TDESKTOP_VERSION_DEFAULT}
|
||||
QT_TDESKTOP_VERSION = $$(QT_TDESKTOP_VERSION)
|
||||
isEmpty(QT_TDESKTOP_VERSION) {
|
||||
message(QT_TDESKTOP_VERSION is not set. Using default value $${QT_TDESKTOP_VERSION_DEFAULT})
|
||||
QT_TDESKTOP_VERSION = $${QT_TDESKTOP_VERSION_DEFAULT}
|
||||
}
|
||||
}
|
||||
|
||||
INCLUDEPATH += $${QT_TDESKTOP_PATH}/include/QtGui/$${QT_TDESKTOP_VERSION}/QtGui \
|
||||
|
|
Loading…
Reference in New Issue