Skip to contentSkip to conversation

Future buildroot with QtQuick/QML Support

Buildroot Schäffner, Florian 5 participants 7 messages Oct 10, 2023 – Oct 13, 2023

lore
Share & tools
lore
#0 lore raw

Hello,

our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn't able to setup a working buildroot for our application to run on a embedded device. I found the conversation about qt6 and QML Support on the buildroot mailing list and that it seems to be not possible to setup a buildroot for our needs with Qt6 and QML support.
https://lore.kernel.org/buildroot/[email protected]/

If I understood the answer from Giulio Benetti correctly, there is currently no chance to make this configuration work for our embedded board with buildroot? Can you please tell me if there will be support for this in the next major buildroot version? Or is it not planned or foreseeable when a QML support is possible with buildroot?

Thank you and kind regards
Florian

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#1 lore raw

Hello Florian,

Quoted 11 lines · Florian

Hello,

our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn’t able to setup a working buildroot for our application to run on a embedded device.

I found the conversation about qt6 and QML Support on the buildroot mailing list and that it seems to be not possible to setup a buildroot for our needs with Qt6 and QML support.

https://lore.kernel.org/buildroot/[email protected]/

If I understood the answer from Giulio Benetti correctly, there is currently no chance to make this configuration work for our embedded board with buildroot?

Can you please tell me if there will be support for this in the next major buildroot version? Or is it not planned or foreseeable when a QML support is possible with buildroot?

as I can see from Buildroot patchork at the moment there is no pending patches to add features, but this doesn't mean it won't be added.

Which modules would you be interested in most of all?

Best regards

Signature · 6 lines
Giulio Benetti
CEO&CTO@Benetti Engineering sas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 14 lines · Giulio Benetti

Hello Florian,

Quoted 11 lines · Florian

Hello,

our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn’t able to setup a working buildroot for our application to run on a embedded device.

I found the conversation about qt6 and QML Support on the buildroot mailing list and that it seems to be not possible to setup a buildroot for our needs with Qt6 and QML support.

https://lore.kernel.org/buildroot/[email protected]/

If I understood the answer from Giulio Benetti correctly, there is currently no chance to make this configuration work for our embedded board with buildroot?

Can you please tell me if there will be support for this in the next major buildroot version? Or is it not planned or foreseeable when a QML support is possible with buildroot?

Buildroot is a volunteer project - nothing is "planned" unless someone goes
through the effort of contributing it.

Quoted 4 lines

as I can see from Buildroot patchork at the moment there is no pending patches to add features, but this doesn't mean it won't be added.

Which modules would you be interested in most of all?

If you're not able or willing to develop the Qt6 QML support yourself, you may
want to hire some help to do it. At the bottom of the "support" page on the website [1] some companies are mentioned that can provide that help (I work for one of them). Or you can find a freelancer - like Giulio.

You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they
perhaps have some PoC for QML already. Or perhaps their employer would be willing to share the cost of developing it.

Regards,
Arnout

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

Hi,

Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle <[email protected]>:

Quoted 34 lines · Giulio Benetti
Quoted 21 lines

Hello Florian,

Quoted 18 lines · Florian

Hello,

our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn’t able to setup a working buildroot for our application to run on a embedded device.

I found the conversation about qt6 and QML Support on the buildroot mailing list and that it seems to be not possible to setup a buildroot for our needs with Qt6 and QML support.

https://lore.kernel.org/buildroot/[email protected]/

If I understood the answer from Giulio Benetti correctly, there is currently no chance to make this configuration work for our embedded board with buildroot?

Can you please tell me if there will be support for this in the next major buildroot version? Or is it not planned or foreseeable when a QML support is possible with buildroot?

Buildroot is a volunteer project - nothing is "planned" unless someone goes
through the effort of contributing it.

Quoted 4 lines

as I can see from Buildroot patchork at the moment there is no pending patches to add features, but this doesn't mean it won't be added.

Which modules would you be interested in most of all?

Quoted 8 lines

If you're not able or willing to develop the Qt6 QML support yourself, you may
want to hire some help to do it. At the bottom of the "support" page on the website [1] some companies are mentioned that can provide that help (I work for one of them). Or you can find a freelancer - like Giulio.

You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they
perhaps have some PoC for QML already. Or perhaps their employer would be willing to share the cost of developing it.

I do have a working POC to build QML with a plan for supporting QtQuick, which I very much wanted to get upstreamed, however I've been swamped with other non-buildroot work sadly.
That said, it should be very doable to add this support with not too much work. In a nutshell:
You need to add qtshadertools because of the qsb tool it builds, this is a dependency for qtdeclarative to build QtQuick
This patch will be important:
http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
The tricky thing there is that the host qt package does not build the GUI by default, however since qt6 certain tools need to be built through the host package, qsb is one of those, and to actually build qsb through the qtshadertools package you need GUI support in the host build, Thomas has provided some valuable feedback there how a proper follow up patch could look like to add this functionality the right way.

Once that's done QML/QtQuick will be quite trivial to add, I already have a qt6declarative package you could work with and (with some refreshing of my memory) I could provide you the necessary config options to add QtQuick alongside it.

As said I don't have the time myself at the moment to do it right, and I don't have a timeline for when I'll be able to do so, but if you're willing to continue on the work I have to get it merged in, I'll gladly help out where I can with some of my initial work and what I know of how to get it all working, the finishing touches and testing will be up to you however :)

Quoted 4 lines

Regards,
Arnout

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

I can see about porting the package tomorrow! No worries!

Adam Duskett

Senior Embedded Systems Developer

M. +1208-515-8102

[email protected]

__________________________________

Amarula Solutions BV

Joop Geesinkweg 125, 1114 AB, Amsterdam, NL

T. +31 (0)85 111 9170
[email protected]

www.amarulasolutions.com

Quoted 91 lines · Jesse Van Gavere

Hi,

Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle <[email protected]>:

Quoted 11 lines · Giulio Benetti
Quoted 7 lines

Hello Florian,

Quoted 4 lines · Florian

Hello,

our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn’t able to setup a working

buildroot for our

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

application to run on a embedded device.

I found the conversation about qt6 and QML Support on the buildroot

mailing

Quoted 1 line
Quoted 1 line
Quoted 1 line

list and that it seems to be not possible to setup a buildroot for

our needs

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

with Qt6 and QML support.

https://lore.kernel.org/buildroot/[email protected]/

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

If I understood the answer from Giulio Benetti correctly, there is

currently

Quoted 1 line
Quoted 1 line
Quoted 1 line

no chance to make this configuration work for our embedded board with

buildroot?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Can you please tell me if there will be support for this in the next

major

Quoted 1 line
Quoted 1 line
Quoted 1 line

buildroot version? Or is it not planned or foreseeable when a QML

support is

Quoted 3 lines
Quoted 1 line
Quoted 1 line

possible with buildroot?

Buildroot is a volunteer project - nothing is "planned" unless someone

goes

Quoted 8 lines

through the effort of contributing it.

Quoted 4 lines

as I can see from Buildroot patchork at the moment there is no pending patches to add features, but this doesn't mean it won't be added.

Which modules would you be interested in most of all?

If you're not able or willing to develop the Qt6 QML support yourself,

you may

Quoted 1 line

want to hire some help to do it. At the bottom of the "support" page on

the

Quoted 1 line

website [1] some companies are mentioned that can provide that help (I

work for

Quoted 3 lines

one of them). Or you can find a freelancer - like Giulio.

You can also ask the original contributor of Qt6 (Jesse, added in Cc)

if they

Quoted 2 lines

perhaps have some PoC for QML already. Or perhaps their employer would be willing to share the cost of developing it.

I do have a working POC to build QML with a plan for supporting QtQuick, which I very much wanted to get upstreamed, however I've been swamped with other non-buildroot work sadly.
That said, it should be very doable to add this support with not too much work.
In a nutshell:
You need to add qtshadertools because of the qsb tool it builds, this is a dependency for qtdeclarative to build QtQuick
This patch will be important:

http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
The tricky thing there is that the host qt package does not build the GUI by default, however since qt6 certain tools need to be built through the host package, qsb is one of those, and to actually build qsb through the qtshadertools package you need GUI support in the host build, Thomas has provided some valuable feedback there how a proper follow up patch could look like to add this functionality the right way.

Once that's done QML/QtQuick will be quite trivial to add, I already have a qt6declarative package you could work with and (with some refreshing of my memory) I could provide you the necessary config options to add QtQuick alongside it.

As said I don't have the time myself at the moment to do it right, and I don't have a timeline for when I'll be able to do so, but if you're willing to continue on the work I have to get it merged in, I'll gladly help out where I can with some of my initial work and what I know of how to get it all working, the finishing touches and testing will be up to you however :)

Quoted 1 line
Quoted 8 lines
Quoted 3 lines

Regards,
Arnout

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

Hello all,

thank you all for your support and offers. It would be great to give something back, but i’m afraid that i’m not able to finish your work Jesse. Sadly by now i was just a user of the given configurations that could be downloaded. I’ll try to use Qt5 or hire some help. Thanks again for your support.

Kind regards
Florian

Von: Adam Duskett <[email protected]>
Gesendet: Dienstag, 10. Oktober 2023 21:52
An: Jesse Van Gavere <[email protected]>
Cc: Arnout Vandecappelle <[email protected]>; Giulio Benetti <[email protected]>; Schäffner, Florian <[email protected]>; [email protected]
Betreff: Re: [Buildroot] Future buildroot with QtQuick/QML Support

I can see about porting the package tomorrow! No worries!

Adam Duskett

Senior Embedded Systems Developer

M. +1208-515-8102

[email protected]<mailto:[email protected]>

__________________________________

Amarula Solutions BV

Joop Geesinkweg 125, 1114 AB, Amsterdam, NL

T. +31 (0)85 111 9170 [email protected]<mailto:[email protected]>

www.amarulasolutions.com<http://www.amarulasolutions.com/>

On Tue, Oct 10, 2023 at 8:55 PM Jesse Van Gavere <[email protected]<mailto:[email protected]>> wrote:
Hi,

Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle <[email protected]<mailto:[email protected]>>:

Quoted 34 lines · Giulio Benetti
Quoted 21 lines

Hello Florian,

Quoted 18 lines · Florian

Hello,

our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn’t able to setup a working buildroot for our application to run on a embedded device.

I found the conversation about qt6 and QML Support on the buildroot mailing list and that it seems to be not possible to setup a buildroot for our needs with Qt6 and QML support.

https://lore.kernel.org/buildroot/[email protected]/

If I understood the answer from Giulio Benetti correctly, there is currently no chance to make this configuration work for our embedded board with buildroot?

Can you please tell me if there will be support for this in the next major buildroot version? Or is it not planned or foreseeable when a QML support is possible with buildroot?

Buildroot is a volunteer project - nothing is "planned" unless someone goes
through the effort of contributing it.

Quoted 4 lines

as I can see from Buildroot patchork at the moment there is no pending patches to add features, but this doesn't mean it won't be added.

Which modules would you be interested in most of all?

Quoted 8 lines

If you're not able or willing to develop the Qt6 QML support yourself, you may
want to hire some help to do it. At the bottom of the "support" page on the website [1] some companies are mentioned that can provide that help (I work for one of them). Or you can find a freelancer - like Giulio.

You can also ask the original contributor of Qt6 (Jesse, added in Cc) if they
perhaps have some PoC for QML already. Or perhaps their employer would be willing to share the cost of developing it.

I do have a working POC to build QML with a plan for supporting QtQuick, which I very much wanted to get upstreamed, however I've been swamped with other non-buildroot work sadly.
That said, it should be very doable to add this support with not too much work. In a nutshell:
You need to add qtshadertools because of the qsb tool it builds, this is a dependency for qtdeclarative to build QtQuick
This patch will be important:
http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
The tricky thing there is that the host qt package does not build the GUI by default, however since qt6 certain tools need to be built through the host package, qsb is one of those, and to actually build qsb through the qtshadertools package you need GUI support in the host build, Thomas has provided some valuable feedback there how a proper follow up patch could look like to add this functionality the right way.

Once that's done QML/QtQuick will be quite trivial to add, I already have a qt6declarative package you could work with and (with some refreshing of my memory) I could provide you the necessary config options to add QtQuick alongside it.

As said I don't have the time myself at the moment to do it right, and I don't have a timeline for when I'll be able to do so, but if you're willing to continue on the work I have to get it merged in, I'll gladly help out where I can with some of my initial work and what I know of how to get it all working, the finishing touches and testing will be up to you however :)

Quoted 4 lines

Regards,
Arnout

_______________________________________________
buildroot mailing list [email protected]<mailto:[email protected]>
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw

Jesse;

I have submitted an initial patch series to add the qt6shadertools package to buildroot. Could you please test it and let me know if it works for you?
https://patchwork.ozlabs.org/project/buildroot/list/?series=377514

Thanks!

Adam Duskett

Senior Embedded Systems Developer

M. +1208-515-8102

[email protected]

__________________________________

Amarula Solutions BV

Joop Geesinkweg 125, 1114 AB, Amsterdam, NL

T. +31 (0)85 111 9170
[email protected]

www.amarulasolutions.com

Quoted 150 lines · Florian

Hello all,

thank you all for your support and offers. It would be great to give something back, but i’m afraid that i’m not able to finish your work Jesse. Sadly by now i was just a user of the given configurations that could be downloaded. I’ll try to use Qt5 or hire some help. Thanks again for your support.

Kind regards

Florian

*Von:* Adam Duskett <[email protected]> *Gesendet:* Dienstag, 10. Oktober 2023 21:52
*An:* Jesse Van Gavere <[email protected]>
*Cc:* Arnout Vandecappelle <[email protected]>; Giulio Benetti < [email protected]>; Schäffner, Florian < [email protected]>; [email protected] *Betreff:* Re: [Buildroot] Future buildroot with QtQuick/QML Support

I can see about porting the package tomorrow! No worries!

Adam Duskett

Senior Embedded Systems Developer

M. +1208-515-8102

[email protected]

__________________________________

Amarula Solutions BV

Joop Geesinkweg 125, 1114 AB, Amsterdam, NL

T. +31 (0)85 111 9170
[email protected]

www.amarulasolutions.com

On Tue, Oct 10, 2023 at 8:55 PM Jesse Van Gavere <[email protected]> wrote:

Hi,

Op di 10 okt 2023 om 20:24 schreef Arnout Vandecappelle <[email protected]>:

Quoted 11 lines · Giulio Benetti
Quoted 7 lines

Hello Florian,

Quoted 4 lines · Florian

Hello,

our application is built in the development environment with Qt 6 and QtQuick/QML. Now i tried, but wasn’t able to setup a working

buildroot for our

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

application to run on a embedded device.

I found the conversation about qt6 and QML Support on the buildroot

mailing

Quoted 1 line
Quoted 1 line
Quoted 1 line

list and that it seems to be not possible to setup a buildroot for

our needs

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

with Qt6 and QML support.

https://lore.kernel.org/buildroot/[email protected]/

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

If I understood the answer from Giulio Benetti correctly, there is

currently

Quoted 1 line
Quoted 1 line
Quoted 1 line

no chance to make this configuration work for our embedded board with

buildroot?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Can you please tell me if there will be support for this in the next

major

Quoted 1 line
Quoted 1 line
Quoted 1 line

buildroot version? Or is it not planned or foreseeable when a QML

support is

Quoted 3 lines
Quoted 1 line
Quoted 1 line

possible with buildroot?

Buildroot is a volunteer project - nothing is "planned" unless someone

goes

Quoted 8 lines

through the effort of contributing it.

Quoted 4 lines

as I can see from Buildroot patchork at the moment there is no pending patches to add features, but this doesn't mean it won't be added.

Which modules would you be interested in most of all?

If you're not able or willing to develop the Qt6 QML support yourself,

you may

Quoted 1 line

want to hire some help to do it. At the bottom of the "support" page on

the

Quoted 1 line

website [1] some companies are mentioned that can provide that help (I

work for

Quoted 3 lines

one of them). Or you can find a freelancer - like Giulio.

You can also ask the original contributor of Qt6 (Jesse, added in Cc)

if they

Quoted 2 lines

perhaps have some PoC for QML already. Or perhaps their employer would be willing to share the cost of developing it.

I do have a working POC to build QML with a plan for supporting QtQuick, which I very much wanted to get upstreamed, however I've been swamped with other non-buildroot work sadly.
That said, it should be very doable to add this support with not too much work.
In a nutshell:
You need to add qtshadertools because of the qsb tool it builds, this is a dependency for qtdeclarative to build QtQuick
This patch will be important:

http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
The tricky thing there is that the host qt package does not build the GUI by default, however since qt6 certain tools need to be built through the host package, qsb is one of those, and to actually build qsb through the qtshadertools package you need GUI support in the host build, Thomas has provided some valuable feedback there how a proper follow up patch could look like to add this functionality the right way.

Once that's done QML/QtQuick will be quite trivial to add, I already have a qt6declarative package you could work with and (with some refreshing of my memory) I could provide you the necessary config options to add QtQuick alongside it.

As said I don't have the time myself at the moment to do it right, and I don't have a timeline for when I'll be able to do so, but if you're willing to continue on the work I have to get it merged in, I'll gladly help out where I can with some of my initial work and what I know of how to get it all working, the finishing touches and testing will be up to you however :)

Quoted 1 line
Quoted 9 lines
Quoted 3 lines

Regards,
Arnout

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot