Dixi quod…
>Dmitry Shachnev dixit:
>>Now that you dug so deeply, maybe you can try to replace qRound in those
>>three lines that you mentioned with TO_TTF, and check if it fixes the bug
>
>That *and* figure out somehow how to fix the PDF /FontBBox, at
>least… (though I binary-patched the hhea ascen
Not possible as in this case it assumes the same version as the module
that qmldirs belongs to
Looks like qmlRegisterModuleImport() is also available (and
undocumented) in Qt 5.15 and it does allow you to specify versions:
https://doc.qt.io/qt-6/qqmlengine.html#qmlRegisterModuleImport
best r
Not possible as in this case it assumes the same version as the module that
qmldirs belongs to
On Tue, May 7, 2024 at 9:40 AM Ulf Hermann wrote:
> > I don't think it works, adding `import QtQuick.Layouts 1.15` to qmldir
> > of that module produces an error "import requires 2 arguments, but 2
>
I don't think it works, adding `import QtQuick.Layouts 1.15` to qmldir
of that module produces an error "import requires 2 arguments, but 2
were provided"
In Qt5 you couldn't specify the version, yet. Try with only:
import QtQuick.Layouts
best regards,
Ulf
___
I don't think it works, adding `import QtQuick.Layouts 1.15` to qmldir of
that module produces an error "import requires 2 arguments, but 2 were
provided"
On Mon, May 6, 2024 at 9:13 PM Ulf Hermann via Interest <
interest@qt-project.org> wrote:
> On 5/6/24 18:12, NIkolai Marchenko wrote:
> > Is
On 5/6/24 18:12, NIkolai Marchenko wrote:
Is there a way to automatically import qtquick.layouts while importing a
custom module inside of qml file?
If you control the custom module and are OK with anyone importing the
custom module always also importing QtQuick.Layouts, then yes. There is
IM
Hi,
I’m porting an app from Qt 5.15 to Qt 6.7 but I’m stumbling on the fact that
there is no equivalent to blend equation in OpenGL.
Note: At the time being, I’m still using OpenGL as graphics backend to minimise
the already huge ongoing port.
To achieve blending mode between nodes, I was usi
Is there a way to automatically import qtquick.layouts while importing a
custom module inside of qml file?
On Mon, May 6, 2024 at 6:36 PM Thiago Macieira
wrote:
> On Monday 6 May 2024 04:24:50 GMT-7 Ulf Hermann via Interest wrote:
> > > That's poor programming practice.
> >
> > No.
>
> I meant t
On Monday 6 May 2024 04:24:50 GMT-7 Ulf Hermann via Interest wrote:
> > That's poor programming practice.
>
> No.
I meant that attempting to search for a metatype by name, of a class that may
or may not be registered, which itself is a private class.
--
Thiago Macieira - thiago.macieira (AT) i
... Of course it only does that if you actually import QtQuick somewhere.
Correction: You need to import QtQuick.Layouts, not QtQuick for
QQuickLayout to get registered.
best regards,
Ulf
___
Interest mailing list
Interest@qt-project.org
https://lis
That means it's relying on some automatic registration somewhere, somehow.
QQuickLayout has a QML_NAMED_ELEMENT macro which means it's picked up by
qmltyperegistrar which does what it says. Of course it only does that if
you actually import QtQuick somewhere. That's probably the difference
be
11 matches
Mail list logo