Introduction tutorial to Qt / QML (Part 01) - Welcome and Introduction to Qt Quick

  Рет қаралды 349,226

KDAB

KDAB

Күн бұрын

Пікірлер: 106
@ipavan
@ipavan 4 жыл бұрын
Woahhh, I just finished watching the first video and am so glad I found this, so professional, make more of these please ❤️
@KDABtv
@KDABtv 4 жыл бұрын
Thank you! There are going to be nine modules of this Introduction to Qt/QML series altogether. Next module coming in a few weeks. So stay tuned :)
@ipavan
@ipavan 4 жыл бұрын
@@KDABtv Surely, I had this thought that there are not enough videos on KZbin for Qt, am really looking forward to watching all the modules
@eritongomes8110
@eritongomes8110 8 ай бұрын
This is very good. I'm surprised there are not a lot more viewers. Thanks for sharing! Brazil is love you!
@KDABtv
@KDABtv 8 ай бұрын
Thank you so much! We're glad that you like our videos! :)
@grumpytecho.o468
@grumpytecho.o468 5 жыл бұрын
Woohoo!! QML learning material? Nice! You have a new sub ;)
@KDABtv
@KDABtv 5 жыл бұрын
Right?! Thanks for your support :)
@valentin3241
@valentin3241 Жыл бұрын
Incredible coach, your explanation is beautiful!
@mohamedghida9540
@mohamedghida9540 2 жыл бұрын
cant till how glad am i for watching such a great video, I have decided to attend all of them the 53 videos...........such a great job
@KDABtv
@KDABtv 2 жыл бұрын
Hi Mohamed! Wow, thank you! That's lovely to hear! :)
@MatheusCatarino
@MatheusCatarino 5 жыл бұрын
Good initiative with excellent content! However, I would like to suggest the possibility of adding human subtitles to facilitate the accessibility of hearing impaired viewers.
@KDABtv
@KDABtv 5 жыл бұрын
Thanks for the suggestion. That is something we are looking to do indeed, also for other languages than English, in time. I'm afraid we can't promise yet when it will be available, though.
@catsultan949
@catsultan949 2 жыл бұрын
They added subs in case you didn't know.
@atmakurumadan6342
@atmakurumadan6342 4 жыл бұрын
HI @KDAB ...WOW this was my first step towards learning qml. Thanks for explaining so nicely.
@KDABtv
@KDABtv 4 жыл бұрын
Great! Keep going and good luck! And thanks for watching.
@quocthebt
@quocthebt 7 ай бұрын
Thanks you very much. Do you have a book about qml or yours tuts?
@o2blom
@o2blom 2 жыл бұрын
This is very good. I'm surprised there are not a lot more viewers. Lysande !
@KDABtv
@KDABtv 2 жыл бұрын
Hi! :) Thank you very much! We really appreciate it!
@jakechen6597
@jakechen6597 14 күн бұрын
Thanks you very much.
@jeromelaclavere2977
@jeromelaclavere2977 4 жыл бұрын
Good first video! I searched for a good and reliable tuto on QML and, well, I have decided to go with this one. :-)
@KDABtv
@KDABtv 4 жыл бұрын
Thank you for your feedback Jerome! That makes us happy to hear :)
@halseywalker5015
@halseywalker5015 8 ай бұрын
Hey , Mr Pedersen ,I encountered this very tricking problem , I subclassed QWidget and overwrite it's paintEvent() , I just draw a rounded rectangle.And I also overwrite the mousePressEvent ,mouseMoveEvent,mouseReleaseEvent, to make sure my Rectangle (which is my class name) can be dragged by mouse. That is it, I did nothing more, just draw a rectangle and make sure it is draggable. Then I create 2 Rectangle and show them in a parent QWidget. They are shown and can be moved, everything looks fine. But when I drag one rectangle above another , the rectangle below painted this blurry gray edge surrounding my dragging rectangle, and after I drag my rectangle away, a scratch left on the rectangle below. May I ask what is the problem.
@KDABtv
@KDABtv 8 ай бұрын
Hi, Make sure everything affected by the drag (dragged and lower rectangle) is repainted when needed (doc.qt.io/qt-6/qwidget.html#update) We hope this helps.
@halseywalker5015
@halseywalker5015 8 ай бұрын
@@KDABtv It is not repainted , and if I call their update() in mouseMoveEvent, this problem is solved . So I have to update or repaint them each time when they are blocked by other widgets ? Is there an easy set function to avoid this ?
@KDABtv
@KDABtv 8 ай бұрын
@@halseywalker5015 setAttribute(Qt::WA_Hover) will ask Qt to repaint on mouse move automatically. It's not enabled by default for performance reasons as many widgets don't change appearance on hover. That's up to the widget style, which can decide to enable that if needed. We hope this helps.
@halseywalker5015
@halseywalker5015 8 ай бұрын
@@KDABtv Ok , thank you for your help
@stefanmarjanovic4768
@stefanmarjanovic4768 2 жыл бұрын
I tried this and my compiler spat out this error: (1 failure) make: *** [xcodebuild-debug-simulator] Error 65 The process "/usr/bin/make" exited with code 2. Error while building/deploying project (kit: Qt 6.3.2 for iOS Simulator) When executing step "Make" When I remove: QQuickView view; view.setSource(QUrl("main.qml")); view.show(); The simulator runs but I can't access my qml files.
@alienpioneer
@alienpioneer 3 жыл бұрын
This channel is a gem. Thank you !
@KDABtv
@KDABtv 3 жыл бұрын
Thank you so much! We're really glad you enjoy our content! :)
@angelicareyes693
@angelicareyes693 4 жыл бұрын
Emocionada por comenzar con este curso!
@KDABtv
@KDABtv 4 жыл бұрын
Fantastic! We are pleased to hear that. Let us know what you think later and good luck!
@venkateshd1858
@venkateshd1858 4 жыл бұрын
HI Sir am new to QtQML am facing a problem in interacting with qml and C++ can you able help me ??
@KDABtv
@KDABtv 4 жыл бұрын
Stay tuned, we will discuss this topic in later videos in this series.
@emreiris114
@emreiris114 3 жыл бұрын
I like the way you explain stuff. A new sub has come.
@KDABtv
@KDABtv 3 жыл бұрын
Hi Emre! Awesome, thank you very much for watching our videos! :)
@ngoclevan2061
@ngoclevan2061 4 жыл бұрын
I'm from Vietnam. Thank you very much
@KDABtv
@KDABtv 4 жыл бұрын
Hi! thank you for watching :)
@desarrollou71x72
@desarrollou71x72 11 ай бұрын
Thanks !.. God Bless.. very good tutorial.
@KDABtv
@KDABtv 10 ай бұрын
Thank you! :)
@ARNAVJHA-h1u
@ARNAVJHA-h1u Жыл бұрын
Best coach ever!
@geertvancompernolle2586
@geertvancompernolle2586 Жыл бұрын
Nowadays, most people explaining QT teach us to use CMake in favour of qmake. Is this indeed the way to go?
@KDABtv
@KDABtv Жыл бұрын
Hi Geert! Yes, for new projects use CMake. QMake is still supported but Qt is using CMake internally since Qt 6.0 and it is the recommended build system for new projects.
@maxim25o2
@maxim25o2 2 жыл бұрын
Oh, this is old, now is qml from Qt6 and there from qml are big changes, like cmake, because qmake is deprecated.
@johnvonachen1672
@johnvonachen1672 2 жыл бұрын
qmlscene has been deprecated and probably will not work as it does not work for me at the time of this writing. Try using a tool called qml instead. As in, "qml main.qml". I think this is for the latest, version 6.
@sumay.s2701
@sumay.s2701 4 жыл бұрын
Really a great video. Thank you (y) Was there any Assignment in the end!? I heard it in beginning but dint find any at the end!
@KDABtv
@KDABtv 4 жыл бұрын
Thank you! You'll find the exercise in part 5 in the series. Here's the direct link kzbin.info/www/bejne/aZeQpp6pYtKVgtU
@sumay.s2701
@sumay.s2701 4 жыл бұрын
@@KDABtv thank you very much.
@diyshow888
@diyshow888 3 жыл бұрын
@KDAB Hi can you please make a video about how to load QQuickView to iOS UIView in Xcode ? thanks
@KDABtv
@KDABtv 3 жыл бұрын
Hi! Thank you for the suggestion. We have it on our list and will look into it :) Thanks!
@diyshow888
@diyshow888 3 жыл бұрын
@@KDABtv Thank you !
@unev
@unev 4 жыл бұрын
Thank you for sharing your knoweledge! Is it true that I can use qml to create software with gui without using any desktop environment?
@KDABtv
@KDABtv 4 жыл бұрын
Thanks for the feedback, Yevgeny. To clarify your question, do you mean that you don't need a desktop environment to do the development, or that you don't need a desktop environment to run the QML application on the target?
@AakarshMJ
@AakarshMJ Жыл бұрын
is this tutorial outdated? The library mentioned above is missing ? I am using linux?
@KDABtv
@KDABtv Жыл бұрын
Hi Aakarsh! Do you mean the example code linked in the description?
@cialloo1560
@cialloo1560 2 жыл бұрын
This is a life saver!
@KDABtv
@KDABtv 2 жыл бұрын
Hi Ciallo! Thank you for watching! :)
@Thirumal-vq5rp
@Thirumal-vq5rp 11 ай бұрын
Qt vs QT quick, can you explain what the differences are?
@KDABtv
@KDABtv 10 ай бұрын
Hi :) Qt is a library and framework for the development of cross-platform applications mostly in C++ but also in other languages. It is focused on GUI development while also supporting the development of non-GUI applications. Qt is split up in many modules that provide different parts of its feature set. Among them are Qt Widgets and Qt Quick, two different technologies for developing GUI applications.
@DomanaxTV
@DomanaxTV 2 жыл бұрын
Hi there, these tutorials have been great. One thing though, could you explain how you created that project type? Currently how I am doing it is just loading up the project from the folder that I downloaded of github but it would be great to know how you create it. Cheers! so that is creates these two: .qmlproject and the .qml
@blackiedk
@blackiedk 2 жыл бұрын
If you are using Qt Creator, then simply choose File->New Project, and from there Choose Application (Qt), and then Qt Quick application. It will generate you a relatively basic QML + C++ application.
@vanpt4832
@vanpt4832 2 жыл бұрын
@@blackiedk Hi guys, I am beginner learn Qt . And I have a assignment could you give me a solution. Thanks.
@kelvinasante-bekoe4865
@kelvinasante-bekoe4865 Жыл бұрын
Just what i was going to comment about.
@chrischoir3594
@chrischoir3594 4 жыл бұрын
app.exec(0 is a while loop. On Windows it is while( (bRet = GetMessage( &msg, NULL, 0, 0 )) != 0)
@Yog988
@Yog988 3 жыл бұрын
just amazing ! going well so far....!!!
@farazahmed1668
@farazahmed1668 4 жыл бұрын
I am a newbie to PyQt5 will learning qml is helpfull for me?
@KDABtv
@KDABtv 4 жыл бұрын
Hi Faraz! Thank you for the question. Whether QML is helpful depends on your targets. QML is really helpful if you're interested in creating beautiful, fluent user interfaces. We will teach in this course that in well designed applications you write only the UI layer in QML while you keep all the logic in C++. It is perfectly possible to substitute C++ with Python and PyQt for this, and the changes required in comparison to the C++-based examples we will show are minimal.
@彩虹97
@彩虹97 2 жыл бұрын
really nice tutorial, thanks a lot.
@KDABtv
@KDABtv 2 жыл бұрын
Hi! Thank you very much! Glad you like them!
@phamucmanh1750
@phamucmanh1750 3 жыл бұрын
Very clear and useful, thank you !
@subhabhaskaran1827
@subhabhaskaran1827 2 жыл бұрын
Is there good scope for this language
@hatema
@hatema 5 жыл бұрын
This is great! I'll turn on notifications for this one.
@KDABtv
@KDABtv 5 жыл бұрын
Glad you like it!
@shubhamgaikwad9502
@shubhamgaikwad9502 4 жыл бұрын
Hi Jesper, can you tell me how to integrate cppcheck in qt creator. Thank you
@KDABtv
@KDABtv 4 жыл бұрын
Hi Shubham! I'm afraid this is a bit beyond the scope of this series. Qt Creator do have direct support for clang-tidy and clazy, so maybe they could be a starting point. Otherwise maybe file a bug report with the qt project to get that checker added too.
@senthilandavanp
@senthilandavanp 3 жыл бұрын
Thanks
@KDABtv
@KDABtv 3 жыл бұрын
Thank you for watching :)
@kamilsala86
@kamilsala86 4 жыл бұрын
qml is cool but only for applications in fullscreen. resizing the window causes a terrible jumping of elements and is ugly :(
@KDABtv
@KDABtv 4 жыл бұрын
There are ways to avoid such issues. Please, keep watching the videos (more modules are going to come) in order to learn more about it.
@kamilsala86
@kamilsala86 4 жыл бұрын
​@@KDABtv Your tutorial is great. And thank you for that, and i will watch next modules. In my opinion qml is really great. But what I wrote is a problem when writing nice applications.. bugreports.qt.io/browse/QTBUG-46074 stackoverflow.com/questions/30818886/qml-window-resize-move-flicker
@KDABtv
@KDABtv 4 жыл бұрын
You are right. That is a more complex problem.
@Chalisque
@Chalisque Жыл бұрын
The video that led me to search and find this one, and to take QML more seriously, was this video about Musescore 4, and how they went from QtWidgets to QML. I used to have the impression that QML was just a wrapper around QtWidgets. Not so, it seems. Anyway, the Musescore 4 video is here: kzbin.info/www/bejne/h5TXZ3-Bl9OYgbM
@KDABtv
@KDABtv Жыл бұрын
great! We hope this series helps you to gain more insights to QML.
@hrmoose1
@hrmoose1 Жыл бұрын
why can't i find a qt tutorial for c, i only find for c++
@KDABtv
@KDABtv Жыл бұрын
Hi :) Thank you for your suggestion on the topic of c. While we'll research the idea, we can't promise a specific video in the near future. We appreciate your input and support. Stay tuned for updates!
@elyesmassoussi4277
@elyesmassoussi4277 4 жыл бұрын
a warning problem appears the moment i try to include even after adding += quick in the pro file can anyone help ?
@KDABtv
@KDABtv 4 жыл бұрын
Hi Elyes! Are you using QT += quick or CONFIG += quick? You can also look at github.com/KDAB/kdabtv at the example code.
@elyesmassoussi4277
@elyesmassoussi4277 4 жыл бұрын
@@KDABtv yes i m using QT += quick. here s the warning that appears the moment i include stackoverflow.com/questions/60838866/how-can-i-properly-include-the-qtquick-file
@yashesvi-raina
@yashesvi-raina 3 жыл бұрын
how to setup Qt environment for beginner?
@KDABtv
@KDABtv 3 жыл бұрын
Hi! There are already a lot of videos and tutorials on KZbin that guide you step by step on how to set up Qt. We hope this helps!
@yashesvi-raina
@yashesvi-raina 3 жыл бұрын
@@KDABtv Thank you, I did search youtube, and was able to install the environment.
@Hevletica
@Hevletica Жыл бұрын
Here is a good starting point: kzbin.info/www/bejne/fmPYlWB3ibF8mqs
@macros1212
@macros1212 3 жыл бұрын
Nice
@RommelLagera
@RommelLagera Жыл бұрын
Can anyone explain how he have a bash terminal in Windows?
@KDABtv
@KDABtv Жыл бұрын
Hi! Windows starting with Windows 10 has the Windows Subsystem for Linux learn.microsoft.com/en-us/windows/wsl/ We hope this helps.
@marcpanther7924
@marcpanther7924 5 жыл бұрын
need better mic in 2019!
@KDABtv
@KDABtv 5 жыл бұрын
Noted. Thank you for your feedback!
@eh6299
@eh6299 4 жыл бұрын
@@KDABtv You also need a better camera which can record in color :)
@cdunne1620
@cdunne1620 4 жыл бұрын
@@eh6299 ....I disagree, the clean white theme matches his clean and clear presentation, he is a natural teacher, just say well done, thanks and appreciate his efforts, how easy it is to criticise from your armchair, ...you have yourself a nice day now!
@eliaspbareia
@eliaspbareia 3 жыл бұрын
How do I install qmlscene on linux?
@KDABtv
@KDABtv 3 жыл бұрын
Hi Elias! It comes with your Qt installation. If you install Qt using the installer, it will be of that versions installations bin directly. That path is not in your path by default, as that would not play well with multiple versions installed side-by-side
@electrotsmishar
@electrotsmishar 4 жыл бұрын
awesome
@KDABtv
@KDABtv 4 жыл бұрын
Thanks for the feedback, we're glad you are enjoying the series.
@MiiDev69
@MiiDev69 Жыл бұрын
Jesper, what do I do if I love your terrible jokes?
@chrischoir3594
@chrischoir3594 4 жыл бұрын
QT was poorly thought out
@waynewenashasa8674
@waynewenashasa8674 12 күн бұрын
9158 Emelie Road
@hatema
@hatema 5 жыл бұрын
This is great! I'll turn on notifications for this one.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
Integrating C++ with QML
13:26
MontyTheSoftwareEngineer
Рет қаралды 50 М.
QML - Знакомство с QML (часть 1)
12:00
Лев Алексеевский
Рет қаралды 29 М.
Let's Recreate the Tesla UI in Qt and QML PART 1!
51:16
MontyTheSoftwareEngineer
Рет қаралды 75 М.
BEST WAY to make Desktop Applications in C++
26:00
The Cherno
Рет қаралды 926 М.
Introduction to Qt / QML (Part 17) - Custom Components
13:31