connecting Qt C++ With QML , fastest and easiest way( Context Properties )

connecting Qt C++ With QML , fastest and easiest way( Context Properties )

pouya azimi

3 года назад

15,332 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@claudezabollone664
@claudezabollone664 - 01.02.2024 23:46

Thank you very much, this is the first working example I've found. Simple but effective.

Ответить
@user-zr3qr8ti1o
@user-zr3qr8ti1o - 02.12.2023 12:19

that's amazing video , thank you very match

Ответить
@_WitchKing_
@_WitchKing_ - 12.06.2023 23:39

Man u helped me once again i worship you really

Ответить
@nastaranheidarysharifabadi4648
@nastaranheidarysharifabadi4648 - 24.04.2023 10:11

thank u . can u tell us more about this topic, how to send object from cpp to qml?

Ответить
@_WitchKing_
@_WitchKing_ - 22.04.2023 02:59

You're best, thank u very much

Ответить
@studentemail8067
@studentemail8067 - 07.07.2022 01:16

thank you

Ответить
@mohamedel-kayal5165
@mohamedel-kayal5165 - 22.03.2022 15:01

Okay I have a question. How can I do this by form the mainwindow.cpp file? I have a function there and I have a connect function that uses that function. I want to send data from it to the QML file

Ответить
@siddharthshah2123
@siddharthshah2123 - 19.12.2021 18:30

I have an CallbackAPI class, And I have registered it with setContextProperty, It works on Events like MouseArea, OnClicked

But does not work with Component.OnCompleted and says 'ReferenceError : CallBackAPI is not defined'

I am using Qquickview along with Qmlcontext and ultimately created a QWidget for raising it

Any Suggestions ??

Ответить
@thenaserov
@thenaserov - 10.12.2021 12:02

Nice content man, this video popped up the first on the list!
Do you have a full course of QML?

Ответить
@throwaway9738
@throwaway9738 - 06.11.2021 15:17

I would ve used Q_PROPERTY instead

Ответить
@CANDEEIRO
@CANDEEIRO - 22.10.2021 06:24

Your explanation is very didactic. Thanks for sharing!
Greetings from Brazil

Ответить
@myblade5968
@myblade5968 - 15.10.2021 13:58

Man, you just made my day.... or my week

Ответить
@shrikamath
@shrikamath - 13.05.2021 19:32

context properties are deprecated I believe in Qt 6.

Ответить
@mertgungor931
@mertgungor931 - 12.05.2021 15:14

I was about to quit trying but thanks to your video all my problems are solved now.

Ответить
@albertomedinarobredo
@albertomedinarobredo - 06.05.2021 20:20

Man, you just made my day.... or my week i should say! I've been so many hours trying, and after watching your video I am finally communicating by c++ backend with qml.

Ответить
@amoohesam
@amoohesam - 21.03.2021 23:11

Nice video! Thank you

Ответить
@user-xk8dl1vo3c
@user-xk8dl1vo3c - 10.03.2021 23:00

Thanks

Ответить
@RifinTidHamar
@RifinTidHamar - 10.03.2021 08:52

You are a god. Thank you

Ответить