diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-05-22 15:02:23 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-05-27 10:23:10 +0000 |
commit | 63660402d8d803b97c676395895c25e550c07f94 (patch) | |
tree | de4dc33f610b36e31e2a68baca12f4bde3138d7d /qtbase.pro | |
parent | 40327b6febf268ace25c0d5f372a4811c4867a93 (diff) |
Run license checker in qmake
Check for a valid license not only in configure, but also in qmake.
To limit the runtime overhead we cache the day of the last run in
a .stash file. This allows us to run licheck only for the top-level
qmake call, and only once per day.
This requires an updated licheck executable that supports the new
check mode.
[ChangeLog][Tools][qmake] For commercial builds, qmake now checks for
a valid Qt license. This requires setting up a Qt Account (or
.qt-license file) on the development machine.
Change-Id: I2c2a05a4602cc661560568b76ddf520cb8134769
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'qtbase.pro')
-rw-r--r-- | qtbase.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qtbase.pro b/qtbase.pro index bae2641404..51e8fb8760 100644 --- a/qtbase.pro +++ b/qtbase.pro @@ -46,6 +46,11 @@ equals(QMAKE_HOST.os, Windows) { } INSTALLS += qmake +#licheck +licheck.path = $$[QT_HOST_BINS] +licheck.files = $$PWD/bin/$$QT_LICHECK +exists($$licheck.files): INSTALLS += licheck + #syncqt syncqt.path = $$[QT_HOST_BINS] syncqt.files = $$PWD/bin/syncqt.pl |