Run a function in a thread using Qt Concurrent - Qt 5 Design Patterns

preview_player
Показать описание
Qt 5 Design Patterns on Udemy
Рекомендации по теме
Комментарии
Автор

I'm learning Qt with qtcreator. As you said, the doc is difficult for me to figure out. Example was wanting a QTimer oneShot. Once I saw an example, it was easy.😊

johnmckown
Автор

I' m sorry, but i can't understand what slot recieve the updated() signal? How does it works

datsmaaboy
Автор

Looks like it didn't end back to the command prompt. I found the "return a.exec()" is what does it.

johnmckown
Автор

Can we run a slot inside a qwidget using qtconcurrent

KidsEdutainmentHub
Автор

Well, i need to see this video more times to understend

banzeirao
Автор

I am getting an error in line 14, where QFuture is used. My error code says:
operator() is not a member of 'FileScanner*'}

martinsieburg
Автор

The main thread is not free. We have to wait for scan finish. Its blocked.

身世成谜
Автор

And that's how to do Threads in C# + .NET Framework:

using System.Threading;

// Anywhere in your class
new Thread(() =>
{
// Do something in a different Thread
}
).Start();
// keep doing something on a main Thread

igorthelight
Автор

How to run after pasting the path.???

because if i press enter nothing happens, if i run it again it will refreash and will ask path again.
Please need a help?

vidhyeshshetty
visit shbcf.ru