Great, I like it how you have demonstrated the Qt signal/slot mechanism over a small set of classes. Did not fully understand the qOverload template thing, but hope to figure it out through Qt documentation..
I have a problem, I copied your code completely and ran it. It gave me the message in the console "Type in your search phrase" but when I typed it, the program doesnt want to continue. Any tips?
I have the same here. Seems like the problem is in 03-signals-and-slots/initial/UserInteractor.cpp:15 where it calls s.readline() Somehow it blocks and doesn't return. I am on MacBook M2
You can try Projects -> Run -> Run Setting -> Tick Run in the terminal. This is a quite old image I stole from some guy: imagizer.imageshack.com/img923/8415/vPJ9Rx.png
QT Applicatin Output window does not accept input. I had to call generated exe file from windows terminal. From the qt Applcation Output you can see the path of generated exe file. But in order to run that exe file, I needed to edit path environment variable by adding path of mingw bin directory because it needs dll files.
Worked for me with Qt Creator 13.0.0. Have unchecked "use internal terminal" under "Edit --> Preferences --> Terminal" and checked "Run in terminal" under "Project --> Build & Run --> Run.
This is amazing. I love the super realistic internet explorer example! I was laughing while learning!!
ScytheStudio entertains and educates 😄
The only source that explains QML sign language with QT 6. Great, I'm very happy to have found this, thank you.
thanks for information!
Great, I like it how you have demonstrated the Qt signal/slot mechanism over a small set of classes. Did not fully understand the qOverload template thing, but hope to figure it out through Qt documentation..
This is gold! Thanks for great series. ❤
Golden thanks!
hi, how can I invoke the connect method from C++ if my MainWindow is derived from QMainWindow and not from QObject
"We need to slow down the internet exploler" I am dead XDD
Nice tip, that qOverload() bit. I had forgotten about that!
At your service :D
I have a problem, I copied your code completely and ran it. It gave me the message in the console "Type in your search phrase" but when I typed it, the program doesnt want to continue. Any tips?
I have the same here.
Seems like the problem is in 03-signals-and-slots/initial/UserInteractor.cpp:15 where it calls s.readline()
Somehow it blocks and doesn't return. I am on MacBook M2
for the sake of quick progress you can just replace with const auto &phrase = QString("my phrase");
to avoid that readline call. It worked for me.
You can try Projects -> Run -> Run Setting -> Tick Run in the terminal.
This is a quite old image I stole from some guy:
imagizer.imageshack.com/img923/8415/vPJ9Rx.png
QT Applicatin Output window does not accept input. I had to call generated exe file from windows terminal. From the qt Applcation Output you can see the path of generated exe file. But in order to run that exe file, I needed to edit path environment variable by adding path of mingw bin directory because it needs dll files.
Worked for me with Qt Creator 13.0.0. Have unchecked "use internal terminal" under "Edit --> Preferences --> Terminal" and
checked "Run in terminal" under "Project --> Build & Run --> Run.
It's kinda funny when you implement the InternetExplorer's browse function with "Not responding..." text :)
The other episodes are full of easter eggs as well :D
very nice Łukasz
Thanks!
Sir how to call signal location to qml maps
You should have explained it with much simpler example rather than explaining it with connecting a chain of signals and slots.