Skip to contentSkip to conversation

2020.02 Buildroot - Qt 5.12 missing XmlListModel

Buildroot nimaim 2 participants 7 messages Mar 12, 2020 – Mar 13, 2020

lore
Share & tools
lore

nimaim

author
#0 lore raw

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/

#2 lore raw
In reply to nimaim

Hello,

Quoted 24 lines · nimaim

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

Quoted 4 lines

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)...

Quoted 21 lines

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

#3 lore raw
Quoted 38 lines · Peter Seiderer

Hello,

Quoted 1 line · nimaim

To the Qt maintainers ... it seems Qt 5.12 moved some libs from the old,

now

Quoted 3 lines

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,

Quoted 1 line

I'm guessing). See directory listing for this particular module between

5.9

Quoted 10 lines

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

Quoted 1 line

./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/moc_qqmlxmllistmodel_p.cpp

Quoted 4 lines

./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

Quoted 2 lines

./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/

qquickxmllistmodel.pro

Quoted 1 line

./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp

Quoted 3 lines

5.12:

Quoted 8 lines
Quoted 2 lines

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.

Quoted 7 lines

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.

Quoted 16 lines
Quoted 16 lines

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?

Quoted 8 lines
Quoted 6 lines

--
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>

author
#4 lore raw

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/

#5 lore raw
In reply to Nimai Mahajan

Hello Nimai,

Quoted 66 lines · Nimai Mahajan
Quoted 38 lines · Peter Seiderer

Hello,

Quoted 1 line · nimaim

To the Qt maintainers ... it seems Qt 5.12 moved some libs from the old,

now

Quoted 3 lines

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,

Quoted 1 line

I'm guessing). See directory listing for this particular module between

5.9

Quoted 10 lines

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

Quoted 1 line

./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/moc_qqmlxmllistmodel_p.cpp

Quoted 4 lines

./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

Quoted 2 lines

./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/

qquickxmllistmodel.pro

Quoted 1 line

./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp

Quoted 3 lines

5.12:

Quoted 8 lines
Quoted 2 lines

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.

Quoted 7 lines

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)...

Quoted 5 lines

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/

Quoted 29 lines

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.

Quoted 24 lines
Quoted 22 lines

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

#6 lore raw
Quoted 99 lines · Peter Seiderer

Hello Nimai,

Quoted 5 lines · Nimai Mahajan
Quoted 3 lines · Peter Seiderer

Hello,

On Thu, 12 Mar 2020 09:20:28 -0500 (CDT), nimaim <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines

To the Qt maintainers ... it seems Qt 5.12 moved some libs from the

old,

Quoted 3 lines
Quoted 3 lines

now

Quoted 2 lines

deprecated qt5declarative package to qt5xmlpatterns. See here:
https://bugs.archlinux.org/task/60889. Some of the components such

as

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

XmlListModel are no longer working (as well as other libs that it

included,

Quoted 1 line

I'm guessing). See directory listing for this particular module

between

Quoted 7 lines
Quoted 7 lines

5.9

Quoted 6 lines

and 5.12 builds in Buildroot:

5.9:

find . -name *"xmllistmodel*"

./qt5declarative-5.9.4/src/quick/doc/images/qml-xmllistmodel-example.png

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

./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

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

./qt5declarative-5.9.4/src/imports/xmllistmodel/.obj/moc_qqmlxmllistmodel_p.o

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/moc_qqmlxmllistmodel_p.cpp

Quoted 1 line
Quoted 1 line
Quoted 1 line

./qt5declarative-5.9.4/src/imports/xmllistmodel/.moc/qqmlxmllistmodel.moc

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

./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

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel ./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/

qquickxmllistmodel.pro

Quoted 1 line

./qt5declarative-5.9.4/tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines

5.12:

find . -iname "*xmllistmodel*"
NO RESULTS

Enable 'BR2_PACKAGE_QT5XMLPATTERNS=y' in your buildroot .config file?

Quoted 7 lines
Quoted 3 lines

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

Quoted 3 lines

+= 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

Quoted 11 lines

xmlpatterns package now, it should still build a qmlxmllistmodelplugin.so as far as I can see.

Quoted 7 lines

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)...

Quoted 2 lines

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

Quoted 1 line

and other QtQuick components are working, but the simple error message

you

Quoted 2 lines

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)...

Quoted 3 lines

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.

Quoted 13 lines

[1] https://patchwork.ozlabs.org/patch/1254668/

Quoted 3 lines

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

Quoted 5 lines

from an older BR.

Quoted 3 lines
Quoted 3 lines

Taking another directory listing from the official installer on my

64 bit

Quoted 24 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

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

Quoted 14 lines
Quoted 14 lines
Quoted 12 lines

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>