At 14:06, why I can't have the terminal popped up after running it? I'm using Qt Console Application as project template. It does show "Type in your search phrase:" in Application Output tab though.
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..
Basically inside the QTimer class, there are two "start" functions(overloaded functions). One is void start(), and the other is void start(int msec). So when connecting, it doesn't know which one to use. When wrting qOverload it selects the first one. If it were to select the second one, it would be qOverload
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.
This is gold! Thanks for great series. ❤
Golden thanks!
At 14:06, why I can't have the terminal popped up after running it?
I'm using Qt Console Application as project template.
It does show "Type in your search phrase:" in Application Output tab though.
alright I've found it.
Go to "Projects" > "Build&Run" > "Run", check "Run in terminal", and it will work.
Great job ! Thanks
Nice tip, that qOverload() bit. I had forgotten about that!
At your service :D
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..
Basically inside the QTimer class, there are two "start" functions(overloaded functions). One is
void start(), and the other is void start(int msec). So when connecting, it doesn't know which one to use. When wrting qOverload it selects the first one. If it were to select the second one, it would be qOverload
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.
thanks for information!
"We need to slow down the internet exploler" I am dead XDD
hi, how can I invoke the connect method from C++ if my MainWindow is derived from QMainWindow and not from QObject
very nice Łukasz
Thanks!
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
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.