From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sun, 20 Jul 2014 12:04:31 +0200 Subject: [Buildroot] [PATCH 3/6] qt5declarative: add an option for quick module In-Reply-To: <1405791208-30356-4-git-send-email-fatih.asici@gmail.com> References: <1405791208-30356-1-git-send-email-fatih.asici@gmail.com> <1405791208-30356-4-git-send-email-fatih.asici@gmail.com> Message-ID: <20140720120431.45cede42@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Fatih A??c?, On Sat, 19 Jul 2014 20:33:25 +0300, Fatih A??c? wrote: > diff --git a/package/qt5/qt5declarative/qt5declarative.mk b/package/qt5/qt5declarative/qt5declarative.mk > index 472d092..34dd14a 100644 > --- a/package/qt5/qt5declarative/qt5declarative.mk > +++ b/package/qt5/qt5declarative/qt5declarative.mk > @@ -35,12 +35,20 @@ define QT5DECLARATIVE_INSTALL_STAGING_CMDS > endef > > ifeq ($(BR2_PREFER_STATIC_LIB),) > -define QT5DECLARATIVE_INSTALL_TARGET_LIBS > - cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib > + > +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y) > +define QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS > cp -dpf $(STAGING_DIR)/usr/lib/libQt5Quick*.so.* $(TARGET_DIR)/usr/lib > cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/accessible $(TARGET_DIR)/usr/lib/qt/plugins > +endef > +endif > + > +define QT5DECLARATIVE_INSTALL_TARGET_LIBS > + cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib > cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/qml* $(TARGET_DIR)/usr/lib/qt/plugins > + $(QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS) > endef I am still unsure to understand what's the difference between qt5declarative and qt5quick exactly. But here, you're installing libQt5Qml and the qml plugins as soon as the qt5declarative package is enabled, even if the quick module is disabled. But then, in PATCH 4/6, you only install QML files if the quick module is enabled. So I'm a bit confused as to what is needed to actually use qml files. Could you explain a bit more the interaction/difference between qt5declarative and the quick module? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com