Page 1 of 1

request help to add quickcontrols2 to QT5 package

Posted: Wed Nov 27, 2019 12:46 am
by gnomathibus
hello, i'm trying to add quickcontrols2 to the QT5 package, i modified the make file by adding the following lines:

Code: Select all
define Package/qt5-quickcontrols2
  $(call Package/qt5/Default)
  TITLE+=quickcontrols2
  DEPENDS+=+qt5-core
endef

define Package/qt5-quickcontrols2/install
   $(INSTALL_DIR) $(1)/usr/lib/
   $(CP) $(PKG_BUILD_DIR)/qtbase/lib/libQt5QuickControls2.so* $(1)/usr/lib/
   $(CP) $(PKG_BUILD_DIR)/qtbase/lib/libQt5QuickControls2.prl $(1)/usr/lib/
   $(CP) $(PKG_BUILD_DIR)/qtbase/lib/libQt5QuickControls2.la $(1)/usr/lib/
endef

$(eval $(call BuildPackage,qt5-quickcontrols2))


and I get the error:
Code: Select all
cp: can not stat '/home/osboxes/vocore/openwrt/build_dir/target-mipsel_24kc_musl/qt-everywhere-src-5.11.3/qtbase/lib/libQt5QuickControls2.so*': No such file or directory


can you help me add the quickcontrols2 QT5 module?

Re: request help to add quickcontrols2 to QT5 package

Posted: Thu Nov 28, 2019 2:16 am
by Vonger
go to qt build directory, normally it is at build_dir/target_xxxx/qt*/
then try "find . -name libQt5Quick*.so"

I am not sure if qt quick is possible to run, because it might need opengl.