diff options
-rw-r--r-- | conf/layer.conf | 1 | ||||
-rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase_git.bb | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 7eb3b2db..7751ce2f 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -36,3 +36,4 @@ IMAGE_FEATURES[validitems] += "qtcreator-debug" | |||
36 | QT_GIT ?= "git://github.com/qt" | 36 | QT_GIT ?= "git://github.com/qt" |
37 | QT_LABS_GIT ?= "git://github.com/qt-labs" | 37 | QT_LABS_GIT ?= "git://github.com/qt-labs" |
38 | QT_GIT_PROTOCOL ?= "git" | 38 | QT_GIT_PROTOCOL ?= "git" |
39 | QT_EDITION ?= "opensource" | ||
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 33be99e7..3aeb2ab1 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -103,7 +103,7 @@ deltask generate_qt_config_file | |||
103 | 103 | ||
104 | do_configure() { | 104 | do_configure() { |
105 | ${S}/configure -v \ | 105 | ${S}/configure -v \ |
106 | -opensource -confirm-license \ | 106 | -${QT_EDITION} -confirm-license \ |
107 | -sysroot ${STAGING_DIR_TARGET} \ | 107 | -sysroot ${STAGING_DIR_TARGET} \ |
108 | -no-gcc-sysroot \ | 108 | -no-gcc-sysroot \ |
109 | -system-zlib \ | 109 | -system-zlib \ |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 4c6b7015..597b45ed 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -103,7 +103,7 @@ do_configure_prepend() { | |||
103 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" | 103 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" |
104 | touch ${S}/mkspecs/oe-device-extra.pri | 104 | touch ${S}/mkspecs/oe-device-extra.pri |
105 | 105 | ||
106 | MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -opensource -confirm-license ${PACKAGECONFIG_CONFARGS} || die "Configuring qt failed. PACKAGECONFIG_CONFARGS was ${PACKAGECONFIG_CONFARGS}" | 106 | MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -${QT_EDITION} -confirm-license ${PACKAGECONFIG_CONFARGS} || die "Configuring qt failed. PACKAGECONFIG_CONFARGS was ${PACKAGECONFIG_CONFARGS}" |
107 | } | 107 | } |
108 | 108 | ||
109 | do_install() { | 109 | do_install() { |
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 4e8dc4cd..e2784d82 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -171,7 +171,7 @@ do_configure() { | |||
171 | touch ${S}/mkspecs/oe-device-extra.pri | 171 | touch ${S}/mkspecs/oe-device-extra.pri |
172 | 172 | ||
173 | ${S}/configure -v \ | 173 | ${S}/configure -v \ |
174 | -opensource -confirm-license \ | 174 | -${QT_EDITION} -confirm-license \ |
175 | -sysroot ${STAGING_DIR_TARGET} \ | 175 | -sysroot ${STAGING_DIR_TARGET} \ |
176 | -prefix ${OE_QMAKE_PATH_PREFIX} \ | 176 | -prefix ${OE_QMAKE_PATH_PREFIX} \ |
177 | -bindir ${OE_QMAKE_PATH_BINS} \ | 177 | -bindir ${OE_QMAKE_PATH_BINS} \ |