diff options
author | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2017-12-27 20:32:36 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2017-12-27 20:35:51 +0900 |
commit | d084bc1f764833566f3e8eafc9fc297c3fa9ee08 (patch) | |
tree | e4ae60d85d7f539bfccfa0cc8da4bcfbbe62c708 /app/app.pri | |
parent | 8db2eded601ad5817a42c5230b157b091e2ffe90 (diff) |
Desktop PC development support
Add tests if libhomescreen and qlibwindowmanager are available and use
them only when they are available.
Change-Id: I6b219721b279542bf474f3df34bfb3adbc6e9ff0
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'app/app.pri')
-rw-r--r-- | app/app.pri | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/app.pri b/app/app.pri index e535cbc..590c154 100644 --- a/app/app.pri +++ b/app/app.pri @@ -2,4 +2,19 @@ TEMPLATE = app load(configure) +qtCompileTest(libhomescreen) +qtCompileTest(qlibwindowmanager) + +config_libhomescreen { + CONFIG += link_pkgconfig + PKGCONFIG += libhomescreen + DEFINES += HAVE_LIBHOMESCREEN +} + +config_qlibwindowmanager { + CONFIG += link_pkgconfig + PKGCONFIG += qlibwindowmanager + DEFINES += HAVE_QLIBWINDOWMANAGER +} + DESTDIR = $${OUT_PWD}/../package/root/bin |