diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-06-16 15:57:53 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-06-17 12:46:48 +0300 |
commit | 0cf281fdd678ea57b34bd9c7e5c48dc421d290ae (patch) | |
tree | d9d8fbf7ed89d11f232ddef09e5a3d99b1b5ffcf /classes/qtquickcompiler.bbclass | |
parent | 0005cccfa7fb937028a59ef757eb7b26926f968c (diff) | |
download | meta-boot2qt-0cf281fdd678ea57b34bd9c7e5c48dc421d290ae.tar.gz |
qtquickcompiler: disable for BYOS
QtQuickCompiler sources are not distributed, so for BYOS builds
we need to disable. For now, only print note that it's not supported.
Next step is to try to use the precompiled version from SDK.
Change-Id: I8185e66fd2bc6471218ee3ea8520fa40c2c08592
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'classes/qtquickcompiler.bbclass')
-rw-r--r-- | classes/qtquickcompiler.bbclass | 45 |
1 files changed, 33 insertions, 12 deletions
diff --git a/classes/qtquickcompiler.bbclass b/classes/qtquickcompiler.bbclass index 202d592..1478741 100644 --- a/classes/qtquickcompiler.bbclass +++ b/classes/qtquickcompiler.bbclass | |||
@@ -1,13 +1,34 @@ | |||
1 | EXTRA_QMAKEVARS_PRE += "CONFIG+=qtquickcompiler CONFIG+=no_qtquickcompiler_depend" | 1 | ############################################################################# |
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
2 | 22 | ||
3 | DEPENDS_prepend = "qtquickcompiler qtquickcompiler-native " | 23 | python __anonymous() { |
4 | 24 | sdk_path = d.getVar('QT_SDK_PATH', True) or "" | |
5 | #python __anonymous() { | 25 | if len(sdk_path) != 0: |
6 | # do the magic: | 26 | bb.note("TODO: QtQuickCompiler not yet available for external builds") |
7 | # if QT_SDK path is set, | 27 | else: |
8 | # add dependency to qtquickcompiler-sdk-native package that | 28 | pn = d.getVar("PN", True) |
9 | # copies the needed files (binary and mkspec files) from the SDK | 29 | if pn.startswith("nativesdk-"): |
10 | # else | 30 | d.appendVar('RDEPENDS_' + pn, " nativesdk-qtquickcompiler-tools") |
11 | # add dependency to qtquickcompiler-native package that | 31 | else: |
12 | # builds it from internal repos | 32 | d.appendVar('DEPENDS', " qtquickcompiler qtquickcompiler-native") |
13 | #} | 33 | d.appendVar('EXTRA_QMAKEVARS_PRE', " CONFIG+=qtquickcompiler CONFIG+=no_qtquickcompiler_depend") |
34 | } | ||