RingQT QML

84 views
Skip to first unread message

Youssef Saeed

unread,
Sep 15, 2024, 7:24:25 AM9/15/24
to The Ring Programming Language
Hello Mahmoud,

Is it possible to call a Ring function from QML?

Best regards,
Youssef

Mahmoud Fayed

unread,
Sep 15, 2024, 1:46:54 PM9/15/24
to The Ring Programming Language
Hello Youssef

This feature is not directly supported by RingQt since I don't need it in my projects.

To implement such a feature, you could define C++ class that can be called from QML
From this C++ class, you could execute Ring code in a way similar to how QObject events are support


The previous C++ code is generated automatically using Ring Code generator for extensions from this Ring script:  ring/extensions/ringqt/events/widgets/qpushbutton.ring at master · ring-lang/ring (github.com)


Greetings,
Mahmoud

Youssef Saeed

unread,
Sep 15, 2024, 2:51:01 PM9/15/24
to The Ring Programming Language
Hello Mahmoud,

Thank you very much.

Best regards,
Youssef

Mahmoud Fayed

unread,
Sep 15, 2024, 2:54:09 PM9/15/24
to The Ring Programming Language
Hello Youssef

You are welcome :D

Greetings,
Mahmoud

Message has been deleted

Mahmoud Fayed

unread,
Dec 30, 2025, 4:05:48 PM (15 hours ago) Dec 30
to The Ring Programming Language
Hello Youssef

>> "Is it possible to call a Ring function from QML?"

As of 2025.12.30 our friend Mohannad published RingQML


So, you can check it, test it, add samples, etc. :D

Greetings,
Mahmoud

On Sunday, September 15, 2024 at 2:24:25 PM UTC+3 youssef...@gmail.com wrote:

Youssef Saeed

unread,
Dec 30, 2025, 4:36:46 PM (15 hours ago) Dec 30
to The Ring Programming Language
Hello Mahmoud,

That is great news! Thanks for letting me know.

Best regards,
Youssef

Mahmoud Fayed

unread,
Dec 30, 2025, 5:37:56 PM (14 hours ago) Dec 30
to The Ring Programming Language
Hello Youssef

You are welcome :D

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages