All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] 2020.02 Buildroot - Qt 5.12 missing XmlListModel
Date: Fri, 13 Mar 2020 21:33:44 +0100	[thread overview]
Message-ID: <20200313213344.17be85be@gmx.net> (raw)
In-Reply-To: <CALoSW646KA6PdN=0dLd3h5vnmn8UUN7R=riLTXM2kk10VqTb7Q@mail.gmail.com>

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

  parent reply	other threads:[~2020-03-13 20:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2020-03-13 21:01       ` Nimai Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200313213344.17be85be@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.