summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-qt/qt4/qt4.inc')
-rw-r--r--meta/recipes-qt/qt4/qt4.inc14
1 files changed, 11 insertions, 3 deletions
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index 881b445ae5..815ebc2d28 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -98,7 +98,8 @@ OTHER_PACKAGES = "\
98 ${QT_BASE_NAME}-pixeltool \ 98 ${QT_BASE_NAME}-pixeltool \
99 ${QT_BASE_NAME}-qmlviewer \ 99 ${QT_BASE_NAME}-qmlviewer \
100 ${QT_BASE_NAME}-xmlpatterns \ 100 ${QT_BASE_NAME}-xmlpatterns \
101 ${QT_BASE_NAME}-qt3to4" 101 ${QT_BASE_NAME}-qt3to4 \
102 ${QT_BASE_NAME}-qml-plugins"
102 103
103PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}" 104PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}"
104PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-* ${QT_BASE_NAME}-fonts-*" 105PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-* ${QT_BASE_NAME}-fonts-*"
@@ -122,11 +123,15 @@ RRECOMMENDS_${QT_BASE_NAME}-demos += " \
122 ${QT_BASE_NAME}-examples \ 123 ${QT_BASE_NAME}-examples \
123 ${QT_BASE_NAME}-plugin-sqldriver-sqlite \ 124 ${QT_BASE_NAME}-plugin-sqldriver-sqlite \
124 ${QT_BASE_NAME}-plugin-imageformat-jpeg \ 125 ${QT_BASE_NAME}-plugin-imageformat-jpeg \
126 ${QT_BASE_NAME}-qml-plugins \
125 ${QT_BASE_NAME}-assistant \ 127 ${QT_BASE_NAME}-assistant \
126 ${PN}-doc" 128 ${PN}-doc"
127RRECOMMENDS_${QT_BASE_NAME}-examples += " \ 129RRECOMMENDS_${QT_BASE_NAME}-examples += " \
128 ${QT_BASE_NAME}-plugin-sqldriver-sqlite \ 130 ${QT_BASE_NAME}-plugin-sqldriver-sqlite \
129 ${QT_BASE_NAME}-plugin-imageformat-jpeg" 131 ${QT_BASE_NAME}-plugin-imageformat-jpeg \
132 ${QT_BASE_NAME}-qml-plugins"
133RRECOMMENDS_${QT_BASE_NAME}-qmlviewer += " \
134 ${QT_BASE_NAME}-qml-plugins"
130 135
131FILES_${QT_BASE_NAME}-tools = "${bindir}/qttracereplay ${bindir}/qdoc*" 136FILES_${QT_BASE_NAME}-tools = "${bindir}/qttracereplay ${bindir}/qdoc*"
132FILES_${QT_BASE_NAME}-tools-dbg = "${bindir}/.debug/qttracereplay ${bindir}/.debug/qdoc*" 137FILES_${QT_BASE_NAME}-tools-dbg = "${bindir}/.debug/qttracereplay ${bindir}/.debug/qdoc*"
@@ -160,7 +165,8 @@ FILES_${QT_BASE_NAME}-makeqpf-dbg = "${bindir}/.debug/makeqpf"
160FILES_${QT_BASE_NAME}-mkspecs = "${datadir}/${QT_DIR_NAME}/mkspecs/*" 165FILES_${QT_BASE_NAME}-mkspecs = "${datadir}/${QT_DIR_NAME}/mkspecs/*"
161FILES_${QT_BASE_NAME}-xmlpatterns = "${bindir}/xmlpatterns*" 166FILES_${QT_BASE_NAME}-xmlpatterns = "${bindir}/xmlpatterns*"
162FILES_${QT_BASE_NAME}-xmlpatterns-dbg = "${bindir}/.debug/xmlpatterns*" 167FILES_${QT_BASE_NAME}-xmlpatterns-dbg = "${bindir}/.debug/xmlpatterns*"
163 168FILES_${QT_BASE_NAME}-qml-plugins = "${libdir}/${QT_DIR_NAME}/imports/* ${libdir}/${QT_DIR_NAME}/plugins/qmltooling/*"
169FILES_${QT_BASE_NAME}-qml-plugins-dbg = "${libdir}/${QT_DIR_NAME}/imports/*/*/*/.debug/* ${libdir}/${QT_DIR_NAME}/imports/*/.debug"
164 170
165do_configure() { 171do_configure() {
166 unset QMAKESPEC 172 unset QMAKESPEC
@@ -183,6 +189,7 @@ do_configure() {
183 echo "Libraries=${libdir}" >> $QT_CONF_PATH 189 echo "Libraries=${libdir}" >> $QT_CONF_PATH
184 echo "Binaries=${bindir}" >> $QT_CONF_PATH 190 echo "Binaries=${bindir}" >> $QT_CONF_PATH
185 echo "Plugins=${libdir}/${QT_DIR_NAME}/plugins" >> $QT_CONF_PATH 191 echo "Plugins=${libdir}/${QT_DIR_NAME}/plugins" >> $QT_CONF_PATH
192 echo "Imports=${libdir}/${QT_DIR_NAME}/imports" >> $QT_CONF_PATH
186 echo "Data=${datadir}/${QT_DIR_NAME}" >> $QT_CONF_PATH 193 echo "Data=${datadir}/${QT_DIR_NAME}" >> $QT_CONF_PATH
187 echo "Translations=${datadir}/${QT_DIR_NAME}/translations" >> $QT_CONF_PATH 194 echo "Translations=${datadir}/${QT_DIR_NAME}/translations" >> $QT_CONF_PATH
188 echo "Settings=${sysconfdir}/${QT_DIR_NAME}" >> $QT_CONF_PATH 195 echo "Settings=${sysconfdir}/${QT_DIR_NAME}" >> $QT_CONF_PATH
@@ -200,6 +207,7 @@ do_configure() {
200 -docdir ${docdir}/${QT_DIR_NAME} \ 207 -docdir ${docdir}/${QT_DIR_NAME} \
201 -headerdir ${includedir}/${QT_DIR_NAME} \ 208 -headerdir ${includedir}/${QT_DIR_NAME} \
202 -plugindir ${libdir}/${QT_DIR_NAME}/plugins \ 209 -plugindir ${libdir}/${QT_DIR_NAME}/plugins \
210 -importdir ${libdir}/${QT_DIR_NAME}/imports \
203 -translationdir ${datadir}/${QT_DIR_NAME}/translations \ 211 -translationdir ${datadir}/${QT_DIR_NAME}/translations \
204 -examplesdir ${bindir}/${QT_DIR_NAME}/examples \ 212 -examplesdir ${bindir}/${QT_DIR_NAME}/examples \
205 -demosdir ${bindir}/${QT_DIR_NAME}/demos \ 213 -demosdir ${bindir}/${QT_DIR_NAME}/demos \