2012-12-11 21:22:23 +00:00
|
|
|
# This file is loaded by qmake right before each actual project file.
|
|
|
|
# Note that evaluating variable assignments from the command line
|
|
|
|
# still happens in between these two steps.
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
load(exclusive_builds)
|
2012-12-11 14:02:45 +00:00
|
|
|
CONFIG = \
|
2012-12-14 18:17:20 +00:00
|
|
|
lex yacc debug exceptions depend_includepath \
|
2012-12-11 14:02:45 +00:00
|
|
|
testcase_targets import_plugins import_qpa_plugin \
|
|
|
|
$$CONFIG
|
2015-05-22 13:02:23 +00:00
|
|
|
|
2016-03-10 12:41:38 +00:00
|
|
|
CONFIG += c++11
|
2015-07-08 20:51:59 +00:00
|
|
|
|
2015-05-22 13:02:23 +00:00
|
|
|
!build_pass:defined(QT_EDITION, var):!equals(QT_EDITION, "OpenSource"):!equals(QT_EDITION, "Preview") {
|
|
|
|
#
|
|
|
|
# call license checker (but cache result for one day)
|
|
|
|
#
|
|
|
|
today = $$section(_DATE_, " ", 0, 2)
|
|
|
|
!isEqual(QMAKE_LICHECK_TIMESTAMP, $$today) {
|
|
|
|
!system("$$system_quote($$system_path($$[QT_HOST_BINS/src]/$$QT_LICHECK)) check" \
|
|
|
|
"$$QT_RELEASE_DATE $$[QMAKE_SPEC] $$[QMAKE_XSPEC]"): \
|
|
|
|
error("License check failed! Giving up ...")
|
|
|
|
|
|
|
|
cache(QMAKE_LICHECK_TIMESTAMP, set stash, today)
|
|
|
|
}
|
|
|
|
unset(today)
|
|
|
|
}
|