* [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel @ 2020-03-12 14:20 nimaim 2020-03-12 14:34 ` nimaim 2020-03-12 18:23 ` Peter Seiderer 0 siblings, 2 replies; 7+ messages in thread From: nimaim @ 2020-03-12 14:20 UTC (permalink / raw) To: buildroot To the Qt maintainers ... it seems Qt 5.12 moved some libs from the old, now deprecated qt5declarative package to qt5xmlpatterns. See here: https://bugs.archlinux.org/task/60889. Some of the components such as XmlListModel are no longer working (as well as other libs that it included, I'm guessing). See directory listing for this particular module between 5.9 and 5.12 builds in Buildroot: 5.9: find . -name *"xmllistmodel*" ./qt5declarative-5.9.4/src/quick/doc/images/qml-xmllistmodel-example.png ./qt5declarative-5.9.4/src/imports/xmllistmodel ./qt5declarative-5.9.4/src/imports/xmllistmodel/xmllistmodel.pro ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/qqmlxmllistmodel.o ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/moc_qqmlxmllistmodel_p.o ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/moc_qqmlxmllistmodel_p.cpp ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/qqmlxmllistmodel.moc ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel_p.h ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel.cpp ./qt5declarative-5.9.4/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/qquickxmllistmodel.pro ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp 5.12: find . -iname "*xmllistmodel*" NO RESULTS Taking another directory listing from the official installer on my 64 bit Mint host shows they should be there: ~/Qt/5.12.5/gcc_64$ find . -iname "*xmllistmodel*" ./qml/QtQuick/XmlListModel ./qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so I just wanted to make sure I'm not missing anything. This change broke my Qt5 project. Any simple patch to this? -- Sent from: http://buildroot-busybox.2317881.n4.nabble.com/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel 2020-03-12 14:20 [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel nimaim @ 2020-03-12 14:34 ` nimaim 2020-03-12 18:23 ` Peter Seiderer 1 sibling, 0 replies; 7+ messages in thread From: nimaim @ 2020-03-12 14:34 UTC (permalink / raw) To: buildroot Sorry, I misspoke. Not deprecated, I meant some libs were just factored out of qt5declarative, which is still the core module for all the qml / qtquick functionality. -- Sent from: http://buildroot-busybox.2317881.n4.nabble.com/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel 2020-03-12 14:20 [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel nimaim 2020-03-12 14:34 ` nimaim @ 2020-03-12 18:23 ` Peter Seiderer 2020-03-12 20:23 ` Nimai Mahajan 1 sibling, 1 reply; 7+ messages in thread From: Peter Seiderer @ 2020-03-12 18:23 UTC (permalink / raw) To: buildroot Hello, On Thu, 12 Mar 2020 09:20:28 -0500 (CDT), nimaim <nimaim@gmail.com> wrote: > To the Qt maintainers ... it seems Qt 5.12 moved some libs from the old, now > deprecated qt5declarative package to qt5xmlpatterns. See here: > https://bugs.archlinux.org/task/60889. Some of the components such as > XmlListModel are no longer working (as well as other libs that it included, > I'm guessing). See directory listing for this particular module between 5.9 > and 5.12 builds in Buildroot: > > 5.9: > > find . -name *"xmllistmodel*" > ./qt5declarative-5.9.4/src/quick/doc/images/qml-xmllistmodel-example.png > ./qt5declarative-5.9.4/src/imports/xmllistmodel > ./qt5declarative-5.9.4/src/imports/xmllistmodel/xmllistmodel.pro > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/qqmlxmllistmodel.o > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/moc_qqmlxmllistmodel_p.o > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/moc_qqmlxmllistmodel_p.cpp > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/qqmlxmllistmodel.moc > ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel_p.h > ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel.cpp > ./qt5declarative-5.9.4/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/qquickxmllistmodel.pro > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp > > 5.12: > > find . -iname "*xmllistmodel*" > NO RESULTS Enable 'BR2_PACKAGE_QT5XMLPATTERNS=y' in your buildroot .config file? Regards, Peter Note: the suggestion is completely untested, in case it does not help (maybe some target install handling is missing) please provide a failing defconfig (and a failing example - best from qt5-examples BR2_PACKAGE_QT5BASE_EXAMPLES=y and /usr/lib/qt/examples/... on the target)... > > Taking another directory listing from the official installer on my 64 bit > Mint host shows they should be there: > > ~/Qt/5.12.5/gcc_64$ find . -iname "*xmllistmodel*" > ./qml/QtQuick/XmlListModel > ./qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so > > I just wanted to make sure I'm not missing anything. This change broke my > Qt5 project. Any simple patch to this? > > > > > > -- > Sent from: http://buildroot-busybox.2317881.n4.nabble.com/ > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel 2020-03-12 18:23 ` Peter Seiderer @ 2020-03-12 20:23 ` Nimai Mahajan 2020-03-13 13:52 ` nimaim 2020-03-13 20:33 ` Peter Seiderer 0 siblings, 2 replies; 7+ messages in thread From: Nimai Mahajan @ 2020-03-12 20:23 UTC (permalink / raw) To: buildroot On Thu, Mar 12, 2020, 2:23 PM Peter Seiderer <ps.report@gmx.net> wrote: > Hello, > > On Thu, 12 Mar 2020 09:20:28 -0500 (CDT), nimaim <nimaim@gmail.com> wrote: > > > To the Qt maintainers ... it seems Qt 5.12 moved some libs from the old, > now > > deprecated qt5declarative package to qt5xmlpatterns. See here: > > https://bugs.archlinux.org/task/60889. Some of the components such as > > XmlListModel are no longer working (as well as other libs that it > included, > > I'm guessing). See directory listing for this particular module between > 5.9 > > and 5.12 builds in Buildroot: > > > > 5.9: > > > > find . -name *"xmllistmodel*" > > ./qt5declarative-5.9.4/src/quick/doc/images/qml-xmllistmodel-example.png > > ./qt5declarative-5.9.4/src/imports/xmllistmodel > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/xmllistmodel.pro > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/qqmlxmllistmodel.o > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/moc_qqmlxmllistmodel_p.o > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/moc_qqmlxmllistmodel_p.cpp > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/qqmlxmllistmodel.moc > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel_p.h > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel.cpp > > > ./qt5declarative-5.9.4/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/ > qquickxmllistmodel.pro > > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp > > > > 5.12: > > > > find . -iname "*xmllistmodel*" > > NO RESULTS > > Enable 'BR2_PACKAGE_QT5XMLPATTERNS=y' in your buildroot .config file? > > Regards, > Peter > Thank you for getting back to me Peter. No, that does not fix it as I already have it enabled. Explicitly adding QT += xmlpatterns to the .pro file. also does not work. It is unable to find it because it's never built. I showed the dir listing of Qt 5.12.x on my host because it shows it truly is a separate lib, so while it's part of the xmlpatterns package now, it should still build a qmlxmllistmodelplugin.so as far as I can see. > > Note: the suggestion is completely untested, in case it does not help > (maybe some target install handling is missing) please provide > a failing defconfig (and a failing example - best from qt5-examples > BR2_PACKAGE_QT5BASE_EXAMPLES=y and /usr/lib/qt/examples/... on > the target)... > I will post my defconfig in a bit, on mobile at the moment. I can also build the examples and run it if you think it would help, just to ensure Qt and other QtQuick components are working, but the simple error message you get if you have a dependency on "import QtQuick.XmlListModel" is: "module "QtQuick.XmlListModel" is not installed". I was just wondering if you saw something amiss at a quick glance to fix this. I'll dig around some more and compare it to the old Qt 5.9.x Makefile from an older BR. > > > > > Taking another directory listing from the official installer on my 64 bit > > Mint host shows they should be there: > > > > ~/Qt/5.12.5/gcc_64$ find . -iname "*xmllistmodel*" > > ./qml/QtQuick/XmlListModel > > ./qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so > > > > I just wanted to make sure I'm not missing anything. This change broke my > > Qt5 project. Any simple patch to this? > > > > > > > > > > > > -- > > Sent from: http://buildroot-busybox.2317881.n4.nabble.com/ > > _______________________________________________ > > buildroot mailing list > > buildroot at busybox.net > > http://lists.busybox.net/mailman/listinfo/buildroot > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200312/9d91b24c/attachment.html> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel 2020-03-12 20:23 ` Nimai Mahajan @ 2020-03-13 13:52 ` nimaim 2020-03-13 20:33 ` Peter Seiderer 1 sibling, 0 replies; 7+ messages in thread From: nimaim @ 2020-03-13 13:52 UTC (permalink / raw) To: buildroot Here is my defconfig: The target's embedded GPU does not support hardware acceleration with any recent Linux graphics driver so we build llvmpipe and use its swrast capabilities. All of this has worked flawlessly with Qt 5.9.X, albeit a little slow. BR2_x86_i686=y BR2_DL_DIR="$(DOWNLOAD_DIR)" BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.test-buildroot-ccache" BR2_CCACHE_INITIAL_SETUP="--max-size=10G --set-config=direct_mode=false" BR2_OPTIMIZE_2=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_PACKAGE_GLIBC_UTILS=y BR2_BINUTILS_VERSION_2_33_X=y BR2_GCC_VERSION_9_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY=y BR2_TARGET_GENERIC_HOSTNAME="test" BR2_TARGET_GENERIC_ISSUE="Test Build" BR2_TARGET_GENERIC_PASSWD_SHA512=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_DEVICE_TABLE="$(BR2_EXTERNAL)/board/test/device_table.txt" # BR2_TARGET_ENABLE_ROOT_LOGIN is not set BR2_SYSTEM_BIN_SH_BASH=y BR2_TARGET_TZ_INFO=y BR2_TARGET_LOCALTIME="America/New_York" BR2_ROOTFS_USERS_TABLES="$(BR2_EXTERNAL)/board/test/users" BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/board/test/fs-overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/scripts/post_build.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.24" BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL)/board/test/patches/linux" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL)/board/test/linux.config" BR2_LINUX_KERNEL_XZ=y BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/board/test/busybox.config" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_XZ=y BR2_PACKAGE_LTRACE=y BR2_PACKAGE_STRACE=y BR2_PACKAGE_BTRFS_PROGS=y BR2_PACKAGE_E2FSPROGS=y BR2_PACKAGE_NFS_UTILS=y BR2_PACKAGE_NTFS_3G=y BR2_PACKAGE_NTFS_3G_ENCRYPTED=y BR2_PACKAGE_NTFS_3G_NTFSPROGS=y BR2_PACKAGE_DEJAVU=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_LLVM=y BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y BR2_PACKAGE_MESA3D_OPENGL_GLX=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_MESA3D_OPENGL_ES=y BR2_PACKAGE_QT5=y BR2_PACKAGE_QT5BASE_CONCURRENT=y BR2_PACKAGE_QT5BASE_OPENGL_LIB=y BR2_PACKAGE_QT5BASE_LINUXFB=y BR2_PACKAGE_QT5BASE_XCB=y BR2_PACKAGE_QT5BASE_DEFAULT_QPA="xcb" BR2_PACKAGE_QT5BASE_TSLIB=y BR2_PACKAGE_QT5SERIALBUS=y BR2_PACKAGE_QT5SVG=y BR2_PACKAGE_XORG7=y BR2_PACKAGE_XSERVER_XORG_SERVER=y BR2_PACKAGE_XLIB_LIBXFONT=y BR2_PACKAGE_XAPP_XINIT=y BR2_PACKAGE_XAPP_XINPUT=y BR2_PACKAGE_XAPP_XINPUT_CALIBRATOR=y BR2_PACKAGE_XAPP_XMODMAP=y BR2_PACKAGE_XAPP_XRANDR=y BR2_PACKAGE_XAPP_XSET=y BR2_PACKAGE_XDRIVER_XF86_INPUT_EVDEV=y BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB=y BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBDEV=y BR2_PACKAGE_XDRIVER_XF86_VIDEO_VESA=y BR2_PACKAGE_XTERM=y BR2_PACKAGE_OPENBOX=y BR2_PACKAGE_CRYPTSETUP=y # BR2_PACKAGE_EUDEV_ENABLE_HWDB is not set BR2_PACKAGE_PARTED=y BR2_PACKAGE_LIBSHA1=y BR2_PACKAGE_LIBSSH2=y BR2_PACKAGE_LIBCONFIG=y BR2_PACKAGE_LIBFUSE=y BR2_PACKAGE_LIBDRI2=y BR2_PACKAGE_LIBCURL=y BR2_PACKAGE_LIBCURL_CURL=y BR2_PACKAGE_LIBCURL_VERBOSE=y BR2_PACKAGE_LIBOPING=y BR2_PACKAGE_NSS_MDNS=y BR2_PACKAGE_LIBUNISTRING=y BR2_PACKAGE_HAVEGED=y BR2_PACKAGE_AVAHI=y BR2_PACKAGE_AVAHI_DAEMON=y BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY=y BR2_PACKAGE_DNSMASQ=y BR2_PACKAGE_IFUPDOWN=y BR2_PACKAGE_IPUTILS=y BR2_PACKAGE_NBD=y BR2_PACKAGE_NBD_SERVER=y BR2_PACKAGE_NBD_TRDUMP=y BR2_PACKAGE_NET_TOOLS=y BR2_PACKAGE_NETCAT_OPENBSD=y BR2_PACKAGE_OPENSSH=y BR2_PACKAGE_SOCAT=y BR2_PACKAGE_SUDO=y BR2_PACKAGE_ATTR=y BR2_PACKAGE_DAEMON=y BR2_PACKAGE_HTOP=y BR2_PACKAGE_PROCPS_NG=y BR2_PACKAGE_RSYSLOG=y BR2_PACKAGE_START_STOP_DAEMON=y BR2_PACKAGE_UTIL_LINUX_BINARIES=y BR2_PACKAGE_UTIL_LINUX_MOUNT=y BR2_PACKAGE_NANO=y BR2_TARGET_ROOTFS_CPIO_XZ=y BR2_TARGET_ROOTFS_INITRAMFS=y BR2_TARGET_ROOTFS_ISO9660=y BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="$(BR2_EXTERNAL)/board/test/syslinux-config/isolinux.cfg" BR2_TARGET_ROOTFS_ISO9660_HYBRID=y # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_SYSLINUX=y # Custom packages removed -- Sent from: http://buildroot-busybox.2317881.n4.nabble.com/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel 2020-03-12 20:23 ` Nimai Mahajan 2020-03-13 13:52 ` nimaim @ 2020-03-13 20:33 ` Peter Seiderer 2020-03-13 21:01 ` Nimai Mahajan 1 sibling, 1 reply; 7+ messages in thread From: Peter Seiderer @ 2020-03-13 20:33 UTC (permalink / raw) To: buildroot Hello Nimai, On Thu, 12 Mar 2020 16:23:21 -0400, Nimai Mahajan <nimaim@gmail.com> wrote: > On Thu, Mar 12, 2020, 2:23 PM Peter Seiderer <ps.report@gmx.net> wrote: > > > Hello, > > > > On Thu, 12 Mar 2020 09:20:28 -0500 (CDT), nimaim <nimaim@gmail.com> wrote: > > > > > To the Qt maintainers ... it seems Qt 5.12 moved some libs from the old, > > now > > > deprecated qt5declarative package to qt5xmlpatterns. See here: > > > https://bugs.archlinux.org/task/60889. Some of the components such as > > > XmlListModel are no longer working (as well as other libs that it > > included, > > > I'm guessing). See directory listing for this particular module between > > 5.9 > > > and 5.12 builds in Buildroot: > > > > > > 5.9: > > > > > > find . -name *"xmllistmodel*" > > > ./qt5declarative-5.9.4/src/quick/doc/images/qml-xmllistmodel-example.png > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/xmllistmodel.pro > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/qqmlxmllistmodel.o > > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/moc_qqmlxmllistmodel_p.o > > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/moc_qqmlxmllistmodel_p.cpp > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/qqmlxmllistmodel.moc > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel_p.h > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel.cpp > > > > > ./qt5declarative-5.9.4/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so > > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel > > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/ > > qquickxmllistmodel.pro > > > > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp > > > > > > 5.12: > > > > > > find . -iname "*xmllistmodel*" > > > NO RESULTS > > > > Enable 'BR2_PACKAGE_QT5XMLPATTERNS=y' in your buildroot .config file? > > > > Regards, > > Peter > > > > Thank you for getting back to me Peter. > > No, that does not fix it as I already have it enabled. Explicitly adding QT > += xmlpatterns to the .pro file. also does not work. It is unable to find > it because it's never built. I showed the dir listing of Qt 5.12.x on my > host because it shows it truly is a separate lib, so while it's part of the > xmlpatterns package now, it should still build a qmlxmllistmodelplugin.so > as far as I can see. > > > > > Note: the suggestion is completely untested, in case it does not help > > (maybe some target install handling is missing) please provide > > a failing defconfig (and a failing example - best from qt5-examples > > BR2_PACKAGE_QT5BASE_EXAMPLES=y and /usr/lib/qt/examples/... on > > the target)... > > > > I will post my defconfig in a bit, on mobile at the moment. I can also > build the examples and run it if you think it would help, just to ensure Qt > and other QtQuick components are working, but the simple error message you > get if you have a dependency on "import QtQuick.XmlListModel" is: "module > "QtQuick.XmlListModel" is not installed". Thanks for the bug report, I think the main problem was a wrong/legacy dependency qt5declarative --> qt5xmlpatterns, instead of the other way round and a missing target install of the qml parts of the package qt5xmlpatterns....should be fixed by [1] (only compile tested, not yet runtime tested)... Regards, Peter [1] https://patchwork.ozlabs.org/patch/1254668/ > > I was just wondering if you saw something amiss at a quick glance to fix > this. I'll dig around some more and compare it to the old Qt 5.9.x Makefile > from an older BR. > > > > > > > > > Taking another directory listing from the official installer on my 64 bit > > > Mint host shows they should be there: > > > > > > ~/Qt/5.12.5/gcc_64$ find . -iname "*xmllistmodel*" > > > ./qml/QtQuick/XmlListModel > > > ./qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so > > > > > > I just wanted to make sure I'm not missing anything. This change broke my > > > Qt5 project. Any simple patch to this? > > > > > > > > > > > > > > > > > > -- > > > Sent from: http://buildroot-busybox.2317881.n4.nabble.com/ > > > _______________________________________________ > > > buildroot mailing list > > > buildroot at busybox.net > > > http://lists.busybox.net/mailman/listinfo/buildroot > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel 2020-03-13 20:33 ` Peter Seiderer @ 2020-03-13 21:01 ` Nimai Mahajan 0 siblings, 0 replies; 7+ messages in thread From: Nimai Mahajan @ 2020-03-13 21:01 UTC (permalink / raw) To: buildroot On Fri, Mar 13, 2020, 4:33 PM Peter Seiderer <ps.report@gmx.net> wrote: > Hello Nimai, > > On Thu, 12 Mar 2020 16:23:21 -0400, Nimai Mahajan <nimaim@gmail.com> > wrote: > > > On Thu, Mar 12, 2020, 2:23 PM Peter Seiderer <ps.report@gmx.net> wrote: > > > > > Hello, > > > > > > On Thu, 12 Mar 2020 09:20:28 -0500 (CDT), nimaim <nimaim@gmail.com> > wrote: > > > > > > > To the Qt maintainers ... it seems Qt 5.12 moved some libs from the > old, > > > now > > > > deprecated qt5declarative package to qt5xmlpatterns. See here: > > > > https://bugs.archlinux.org/task/60889. Some of the components such > as > > > > XmlListModel are no longer working (as well as other libs that it > > > included, > > > > I'm guessing). See directory listing for this particular module > between > > > 5.9 > > > > and 5.12 builds in Buildroot: > > > > > > > > 5.9: > > > > > > > > find . -name *"xmllistmodel*" > > > > > ./qt5declarative-5.9.4/src/quick/doc/images/qml-xmllistmodel-example.png > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/xmllistmodel.pro > > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/qqmlxmllistmodel.o > > > > > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/moc_qqmlxmllistmodel_p.o > > > > > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/moc_qqmlxmllistmodel_p.cpp > > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/qqmlxmllistmodel.moc > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel_p.h > > > > ./qt5declarative-5.9.4/src/imports/xmllistmodel/qqmlxmllistmodel.cpp > > > > > > > > ./qt5declarative-5.9.4/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so > > > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel > > > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/ > > > qquickxmllistmodel.pro > > > > > > > > ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp > > > > > > > > 5.12: > > > > > > > > find . -iname "*xmllistmodel*" > > > > NO RESULTS > > > > > > Enable 'BR2_PACKAGE_QT5XMLPATTERNS=y' in your buildroot .config file? > > > > > > Regards, > > > Peter > > > > > > > Thank you for getting back to me Peter. > > > > No, that does not fix it as I already have it enabled. Explicitly adding > QT > > += xmlpatterns to the .pro file. also does not work. It is unable to find > > it because it's never built. I showed the dir listing of Qt 5.12.x on my > > host because it shows it truly is a separate lib, so while it's part of > the > > xmlpatterns package now, it should still build a qmlxmllistmodelplugin.so > > as far as I can see. > > > > > > > > Note: the suggestion is completely untested, in case it does not help > > > (maybe some target install handling is missing) please provide > > > a failing defconfig (and a failing example - best from qt5-examples > > > BR2_PACKAGE_QT5BASE_EXAMPLES=y and /usr/lib/qt/examples/... on > > > the target)... > > > > > > > I will post my defconfig in a bit, on mobile at the moment. I can also > > build the examples and run it if you think it would help, just to ensure > Qt > > and other QtQuick components are working, but the simple error message > you > > get if you have a dependency on "import QtQuick.XmlListModel" is: "module > > "QtQuick.XmlListModel" is not installed". > > Thanks for the bug report, I think the main problem was a wrong/legacy > dependency qt5declarative --> qt5xmlpatterns, instead of the other > way round and a missing target install of the qml parts of the package > qt5xmlpatterns....should be fixed by [1] (only compile tested, not yet > runtime tested)... > Regards, > Peter > Thank you! I'm guessing we must be the only ones to still be using this specific library so I appreciate you taking the time to submit this. I plan to test it with our project tomorrow, hopefully no more errors. > > [1] https://patchwork.ozlabs.org/patch/1254668/ > > > > > I was just wondering if you saw something amiss at a quick glance to fix > > this. I'll dig around some more and compare it to the old Qt 5.9.x > Makefile > > from an older BR. > > > > > > > > > > > > > Taking another directory listing from the official installer on my > 64 bit > > > > Mint host shows they should be there: > > > > > > > > ~/Qt/5.12.5/gcc_64$ find . -iname "*xmllistmodel*" > > > > ./qml/QtQuick/XmlListModel > > > > ./qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so > > > > > > > > I just wanted to make sure I'm not missing anything. This change > broke my > > > > Qt5 project. Any simple patch to this? > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Sent from: http://buildroot-busybox.2317881.n4.nabble.com/ > > > > _______________________________________________ > > > > buildroot mailing list > > > > buildroot at busybox.net > > > > http://lists.busybox.net/mailman/listinfo/buildroot > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200313/48467129/attachment.html> ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-03-13 21:01 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-03-12 14:20 [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel nimaim 2020-03-12 14:34 ` nimaim 2020-03-12 18:23 ` Peter Seiderer 2020-03-12 20:23 ` Nimai Mahajan 2020-03-13 13:52 ` nimaim 2020-03-13 20:33 ` Peter Seiderer 2020-03-13 21:01 ` Nimai Mahajan
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.