[Interest] How to prevent large qml forms from hitting javascript stack size?

NIkolai Marchenko enmarantispam at gmail.com
Fri Sep 15 08:25:31 CEST 2023


Will it still add to total object count if this is used:?

    Component {
        id: redSquare
        Rectangle <https://doc.qt.io/qt-6/qml-qtquick-rectangle.html>
{ color: "red"; width: 10; height: 10 }
    }

    Loader <https://doc.qt.io/qt-6/qml-qtquick-loader.html> {
sourceComponent: redSquare }


On Mon, Sep 11, 2023 at 11:11 AM Ulf Hermann <ulf.hermann at qt.io> wrote:

> Loaders with a component specified inline add to the object count.
> Loaders with a URL don't.
>
> And yes, we need to allow loaders with a module/component pair so that
> you don't have to specify a URL. We will get there.
>
> best regards,
> Ulf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230915/700660e6/attachment.htm>


More information about the Interest mailing list