Тёмный

Qt 6 - Episode 26 - Multithreaded strategies 

VoidRealms
Подписаться 84 тыс.
Просмотров 9 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@wiljederfilho
@wiljederfilho 2 года назад
I love how you explain everything slowly and in detail like i have 3 brain cells. That's exactly what i needed, great video man!!!
@DadundddaD
@DadundddaD 16 дней назад
Haha, relatable
@VNActivityProjectRem
@VNActivityProjectRem 3 года назад
I would definitely vote for more widget videos. The more widget variety and elements you highlight, the better! GUIs are always the best!
@jericho239
@jericho239 2 года назад
Yo I just wanted to say thanks for uploading this, such a huge help for my project 🙏
@anmarrassam5475
@anmarrassam5475 Год назад
Some real great videos out there. I come from many years of embedded programming (mainly with C, C++ and assembly), and over the years I made my way up all the way to cloud and back-end programming. Been wathcing some of your videos, and some great effort you've put in there, so well done for this contribution! One question though on this video: Demonstrating on which thread the code of function run() is running, the connect function inside run() function worked fine and correctly when using QThread without needing to use Qt::DirectConnection, but why did it not work when using QThreadPool and we had to explicitly mention Qt::DirectConnection? Appreciate your repsonse here. Thank you.
@jorgeferreira6727
@jorgeferreira6727 5 месяцев назад
Thank you for your great videos. One question about using QtConcurrent. Is it me, as in my interpretation, or the main thread gets stuck until worker->run finishes? The message "Testing..." only shows up after all the thread work is finished, on previous examples that message showed up even before the worker construction message. Forgett it! I just figured it out, its only the "testConcurrent" function that, naturally, waits for the worker->run statement to finish. The "main thread" finished almost immediaty as expected.
@DrCrowie
@DrCrowie 2 года назад
I think the way you do it now is fine, explaining the QtCore elements first in console is easy to grab without having to deal with the GUI widgets. THEN explain the GUI widgets incorparating all the essential Core stuff. Also means ppl can make their own easy projects to mess around with easily enough too. GUIs have their own stumbling blocks that are best tackled once you have the basics down pat. Like understanding what threads are and signal and slots (signals and slots I think is the key to Qt once you really understand them you can really use Qt)
@ueberchild
@ueberchild Месяц назад
So QScopedPointer is similar to std::unique_ptr? What's the advantage over just declaring a local variable, other than that it can help to avoid stack overflows?
@lusher00
@lusher00 2 года назад
I'm really struggling to understand where I would create a thread that interacts with the UART and how that thread would interact with the UI thread. Do I do that in main.cpp or in mainwindow.cpp? If I try to talk to the UART from main, none of my data is transmitted until after w.show gets called. Do you have an example of this? I bought your udemy courses in hopes I could find an example but I don't really have time to watch all the videos. Seems like this should be simple but I am a Cortex M C programmer and this stuff is radically different. Every example I find is either far too simple or far too complicated. Why is a single thread interacting with the UI thread not a more common example?
@Дмитрийсергеевич-о9п
Спасибо
@ashishmalik1225
@ashishmalik1225 2 года назад
Do coding stuff more, that really helps.....so keep doing more of command line videos.
@therealg4197
@therealg4197 Год назад
what's that meant to mean? QT is widely used for GUI C++ applications....
@muha0644
@muha0644 3 года назад
While the command line is very interesting and useful, Qt is famous for its widgets. You should first explain how the actual program should work in the background and then explain widgets, but there's nothing wrong with just doing it in a mixed way. Its more important to make the code good (with threads etc..) and the GUI will be better. Like you just showed, without threading you really run into some issues using widgets.
@Jeff-wb9pw
@Jeff-wb9pw 2 года назад
Very "Elegant" Spy X Family reference,.
@mouhamadbourouba5382
@mouhamadbourouba5382 2 года назад
11:07 Python developer: i don't think so
@mananbhardwaj3976
@mananbhardwaj3976 3 года назад
Widgets please
Далее
Qt 6 - Episode 27 - Qt Widgets vs QML and Qt Quick
21:32
Qt 6 - Episode 22 - Communicating between threads
27:19
Qt 6 - Episode 24 - Qt Concurrent
23:23
Просмотров 6 тыс.
Qt 6 - Episode 23 - Thread pools
29:48
Просмотров 7 тыс.
Qt 6 - Episode 21 - Intro to threading
24:15
Просмотров 11 тыс.
CppCon 2014: Mike Acton "Data-Oriented Design and C++"
1:27:46
Qt 6 - Episode 4 - QObject and Moc
27:09
Просмотров 35 тыс.
Multithreading with Qt / qthread - Giuseppe D’Angelo
1:07:56
The Only Unbreakable Law
53:25
Просмотров 333 тыс.