diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-11-09 15:42:05 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-11-10 16:53:31 +0100 |
commit | 4b063c8467071e1c2d40f5fc493b7e3ec5a08520 (patch) | |
tree | 1b5f214ae39c7786e285cc78ab637e124eb8635b /mkspecs/features/entrypoint.prf | |
parent | 6e9a0f6688bd8554321f8eff10af2c9d9db564a0 (diff) |
Move iOS entrypoint logic to entrypoint library
Change-Id: Ie0fc8368953a59d06a31847ed417bc3c35f29b90
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'mkspecs/features/entrypoint.prf')
-rw-r--r-- | mkspecs/features/entrypoint.prf | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mkspecs/features/entrypoint.prf b/mkspecs/features/entrypoint.prf index fbe637326e..98c41161a0 100644 --- a/mkspecs/features/entrypoint.prf +++ b/mkspecs/features/entrypoint.prf @@ -1,2 +1,10 @@ -qt:!console:contains(TEMPLATE, ".*app"): \ - QT_PRIVATE += entrypoint_private +!qt: return() + +win32 { + !console:contains(TEMPLATE, ".*app"): \ + QT_PRIVATE += entrypoint_private +} else:uikit { + qt_depends = $$resolve_depends(QT, "QT.") + !watchos:equals(TEMPLATE, app):contains(qt_depends, gui(-private)?): \ + QT_PRIVATE += entrypoint_private +} |