I spent 2 days trying to understand this but u taught me in 20 min. Thank you 🙏
@chris-vieira3 жыл бұрын
Straight to the point and with clear examples! May God bless you so much!
@asoftraiden Жыл бұрын
Whatever thing that pushed you to make these videos, I hope it grows to an obsession so that you make more
@iea-iea3 жыл бұрын
To be honest, I don't always write comments for any video but it would be quite unfair not to write one for this video. To the point, crystal clear, all required information is conveyed flawlessly under 15-20 minutes (which is for most the psychological limit to watch and follow a tutorial efficiently). Thanks very much buddy, have a good one :)
@vamsigarla Жыл бұрын
agree with you. straight to the point. kudos to you Monty.
@ivanangelov8825 Жыл бұрын
Exactly what I needed! Amazing work and amazing progression. I had a headache because of QML, since I don't have the time to run a full course, and this enlighten me within 15 minutes!
@Diablosterful3 жыл бұрын
This was the simplest and the most clearn explanation of c++ and qml integration. Thank you
@NickEnchev7 ай бұрын
I respect people that respect my time. Thanks!
@ZEN-on1px3 жыл бұрын
Thank you for your video, simple and clear, and I hope everything you cherish is beautiful
@bluehornet67523 жыл бұрын
Nice job--but here are a couple thoughts that occurred to me while watching this: 1) In your Connections element in the last example, your syntax has been deprecated in favor of a more generic Javascript syntax: function onSomeVarChanged() { // ... } Check the compiler output and you should see this. At least it does it for me here, on 5.14.2. 2) For your Q_PROPERTY example, you can just right-click on the property in the header and under Refactor there's an option for it to implement the getter/setter methods for you. It does it in the header file, but you can then have the IDE move them to the .cpp file. 3) Good point about the qmlRegisterType thing: I never thought about it much, but your example shows that it's basically just a forward declaration of the type for the QML side...and the ctor isn't called until the type is actually used there. Cool. Great video!
@MontyTheSoftwareEngineer3 жыл бұрын
Was not aware of the new syntax for connections I'll have to make sure I start doing it that way. Just tried out the auto generation of missing Q_PROPERTY members, didn't know Qt Creator did that, will definitely save me time in the future! Thanks as always for the helpful comments, Tom!
@bluehornet67523 жыл бұрын
@@MontyTheSoftwareEngineer No sweat-that’s how we learn from each other.
@KarSlon13 жыл бұрын
Thanks a lot. I'm doing this myself, step by step, watching your video.
@available-handle-please2 жыл бұрын
At 4:15, callMe() is called through qml without having the Q_INVOKABLE macro. What does it add to anotherFunction() at 7:30? Since the class has to be registered anyways, it seems it could have been used in the qml page without the macro, like callMe() earlier.
@Ryochan79 ай бұрын
A public slot can be called from QML by default; they are already Q_INVOKABLE. Other class methods that need to be called from QML need to be defined with the Q_INVOKABLE macro.
@KekkonenOnKakkonen3 жыл бұрын
This was extremely helpful, clear and easy to follow! Great job!
@jordanhoffman28942 жыл бұрын
all of this is working, but I didn't get the nice autocomplete that you have for the class. Do you know what might be causing that?
@nastaranheidarysharifabadi4648 Жыл бұрын
😊thank u . please teach us more. u are really good teacher
@niyaskhana87632 жыл бұрын
Great tutorial 😎.. Thanks a lot for your time on this❤.
@rajathpd32803 жыл бұрын
This was very useful for me. Thank you so much mate
@M0nst3rSlay3r3 жыл бұрын
Thank you very much. You helped me a lot with your video.
@jayasuriya92853 жыл бұрын
Awesome tutorial in numerous methods. Great!!
@achrafahmed3 жыл бұрын
Keep up the good work, Thank you
@dogbatsealfredmawuli27162 жыл бұрын
Great tutorials. I always recommend this channel to my students. Could you please make a video on OpenCV hand landmarks in QML. Thanks.
@scarletrunner85 Жыл бұрын
i tried on different machines in cmake and qmake but got alwas error: qrc:/main.qml:13:17: Invalid attached object assignment. classA is not found
@tejendrakumar192 жыл бұрын
Can any tell me in which qt or qml radar position plan indicator can be make
@Rahul-po9yg3 жыл бұрын
simple and straight . loved it
@anzekejzar32332 жыл бұрын
Hi, can i install this project as a plasmoid widget and add it to desktop? (using: manjaro KDE)
@nishithmehta3411 Жыл бұрын
How can you do it using the Qml Context for multiple classes?
@desarrollou71x72 Жыл бұрын
hello!, nice tutorial,.. i still dont get the relationship between m_someVar and someVar property, how setSomevar knows what QString is updating?..
@Ryochan79 ай бұрын
The Q_PROPERTY macro just sets up hooks for the getter, setter, and signal; mostly it is just for simpler syntax. You still have to edit the setSomeVar setter method in the class to have the method update the m_someVar field.
@jasonoliver27522 жыл бұрын
Really helpful tutorial!
@theintjengineer Жыл бұрын
Coul you please create a video on how to use C++ types by having them as plugins? It's not the creation of the C++ type, it's the registration via CMake where I'm hanging. I can't make my main qml app find the module. I must be doing something wrong on the import path side. Thank you very much.
@AyushVachhani2 ай бұрын
I have got the same issue, did you figure out the solution ?
@VIVEKBHEEMASHAPPA2 жыл бұрын
Great tutorials.
@verchik88483 жыл бұрын
Love you(Hi from Belarus)♥
@tomfranky17443 жыл бұрын
Thank you. Good tutorial. And a question, we could not use the Q_INVOKABLE macros in the code, agree? So what are the benefits if we use them, please?
@Eddytorial3 жыл бұрын
Crystal clear. thank you.
@tranhung53373 жыл бұрын
very easy to understand. Thank you !!
@BilalAlDulaimi2 жыл бұрын
Hi Monty, you did a great job by recording and publishing beneficial educational videos, of course, this took all of your time during the preparation of these videos thank you from the heart, I have a question its possible to run two displays from different paths or from QT. Thank you in advance.
@anandbhatia63472 жыл бұрын
Thank you for this very nice tutorial Monty. Do you know how to control GPIO/Serial port on/CAN BUS/ADC on Raspberry pi and other hardware like Toradex APALIS ? If you do not know how to do it, can you refer someone who knows this.Regards
@nasroml123 жыл бұрын
Nice video, thnx a lot, I am subscribing
@mouhamadbourouba53822 жыл бұрын
How to share struct to qml ?
@toki-cu3ks Жыл бұрын
It's so good!
@nithishnagam3 жыл бұрын
To the point !! Thank you
@stephencolon53043 жыл бұрын
This was explained very well I just had to slow down the video a little bit to keep up lol
@abbasyazdanmehr9997 Жыл бұрын
Awesome 🎈
@Wolkenkeller3 жыл бұрын
saved my day, thx
@SithaSek3 жыл бұрын
I'm into your channel. thanks and sub.
@duruakuebuka91482 жыл бұрын
I love you sooo much
@JihoonLee-j2l Жыл бұрын
와 멋있네요!
@sonulohani3 жыл бұрын
Nice example
@MO-fg2cm5 ай бұрын
why is qml so hard
@MO-fg2cm2 ай бұрын
It's not so hard ... after 2 months
@behzadabf3 жыл бұрын
this much of work for just button hello ???!!! that is not uesable. sorry qt.
@IPpitt Жыл бұрын
Actually not, For just button hello you can do it inside QML. You even don't need C++ for simple things. Whole UI parts of the logic can be just on QML + JS. This example just shows how integrate C++ backend code with QML and how to connect QML with C++
@behzadabf Жыл бұрын
@@IPpitt i start using lvgl with c as embedded system on soc chips just perfect. try once. 🌸⭐
@breakingtwitting2 жыл бұрын
Never would use qt for anything. too much black magic plus ridiculous pricing in package.