Just a heads up for any Windows users. If your program shows up in "3 Application Output," std::getline() won't work. You need to go to Tools -> Options... -> Build & Run -> General, scroll down, then set "Default for 'Run in terminal':" to "Enabled."
Watching this brings back memories when I was in high school, when I got task from my school to build an exam mobile app, I decided to use Qt, using QML and Javascript for UI and binding with Java for accessing Android APIs, God I miss those times...
You probably dont care but if you're stoned like me during the covid times you can stream all the new movies on InstaFlixxer. Been streaming with my girlfriend for the last couple of weeks xD
Windows users may need to tweak some settings in the Console Project or receive some missing .dll errors. I had to activate the setting "Run in terminal" found in "Run Settings" for the project. You would think that it would already be set for a console application, but it was not in my case. Haha!
@@VoidRealms Windows 10 I can't get the console to appear when running. What is the exact steps in Windows 10 QT 6 to find how to activate the console in the project?
Thank you!!! My Win10 install had the same problem. I was worried that I would have to spend hours digging through the app just to make Hello World work. Phew, hair is still in tact.
Hi, I had the same problem. All you gotta do is to find a projects button ( in the left side) then choose Build and Run--> Run and then check the box Run in terminal.
Hi everyone. I have an issue with this one. I enter the code (i have qt5 tbh), i set run in terminal, and it is asking for input, but when i give it input and press enter, it just goes to the next line and doesnt continue executing the code. I also tried to set terminal settings in options-enviroment-system-terminal. Currently it is /usr/bin/xterm -e, but im not sure if thats the right one for manjaro. Did anyone have this issue, what am i doing wrong? thanks...
Two quick things, first grab the code off GitHub and it might pay possible you miss type something, and recommend asking these kind of questions in the voidrealms Facebook group as TH-cam comments are largely unmonitored due to the volume of them
@@viktorstefanov4848 Hey there! I believe you were trying to type in the Application Output section (I made that same mistake, lol). Go to Projects (found on far left side)/Build & Run/Run, and make sure that the Run In Terminal box is checked. This will open up a terminal for you to both see the output and send input to your program
I have the same problem on debian with qt6. "run in terminal"-box is checked. Any solutions? I don't have facebook so that's off the table. edit: stackoverflow.com/questions/70506485/in-qt6-cin-getline-does-not-read-any-input-for-me Link to the solution that worked for me. There has to be a newline ( or std::endl) at the end of cout
am having problem with the output, it doesn't read the input at print it. 19:52:50: Starting C:\Users\softd\Documents\QTQML\build-gt6-e3-Desktop_Qt_6_0_4_MinGW_64_bit-Debug\gt6-e3.exe ... Please enter your name: Harold when I press Enter nothing happen.
I would like to learn C++ and Qt and looks like your series it's what I need. Your C++ videos are quite old, are they still a good start before this tutorial or there is a different C++ course or book that you would suggest?
hi, can i know is it possible for us to learn straightaway qt widget without learning qt core? for qt core we only learn about json or others that doesnt really support in STL c++
when I compile and start I have this following error on MACOS : "Unable to open "tmplj44px66" because (null) is not allowed to open documents in Terminal." How can I solve it ?
I'm running Qt6 Community edition on my Windows 10 PC. When starting a new project, I'm asked what kit I want to use: MSVC2019 or MinGW. Which one is recommended and why? Great video series, by the way!
@@QtStudios Too kind! - I have been working hard on theses and the Udemy courses, want to re-record everything in Qt6 so they be viable for a long time
Just a heads up for any Windows users. If your program shows up in "3 Application Output," std::getline() won't work. You need to go to Tools -> Options... -> Build & Run -> General, scroll down, then set "Default for 'Run in terminal':" to "Enabled."
Thank YOU!
Thank YOU!
This can happen on Linux as well, so it's a good thing to keep in mind.
thank you sir!!!!
Thanks!
Watching this brings back memories when I was in high school, when I got task from my school to build an exam mobile app, I decided to use Qt, using QML and Javascript for UI and binding with Java for accessing Android APIs, God I miss those times...
Good times!
@@VoidRealms I'm curious, did Qt has include Android API without the need to bind with Java? To be honest, binding with Java is truly painful...
@@franklincollintamboto8637 from what I've read the new version of qt can optionally bind a Java but I haven't played with it yet
18:25 got a chuckle out of Hello "Bryan" as if Qt is expressing passive skepticism over what you've told it.
Love you Brian, keep up the good work man.
You probably dont care but if you're stoned like me during the covid times you can stream all the new movies on InstaFlixxer. Been streaming with my girlfriend for the last couple of weeks xD
@Kareem Kohen Yea, have been using instaflixxer for years myself :D
Windows users may need to tweak some settings in the Console Project or receive some missing .dll errors. I had to activate the setting "Run in terminal" found in "Run Settings" for the project. You would think that it would already be set for a console application, but it was not in my case. Haha!
Interesting, i did not have that on my win10 box.
@@VoidRealms Windows 10 I can't get the console to appear when running. What is the exact steps in Windows 10 QT 6 to find how to activate the console in the project?
Muchas gracias
Thank you!!! My Win10 install had the same problem. I was worried that I would have to spend hours digging through the app just to make Hello World work. Phew, hair is still in tact.
@@jerjerrybear Go to Projects -> Run -> set "Run in terminal"
great video! love the teaching style. just bought the udemy course.
excited to start learning qt!
I developed a music app with qt5 and c++ that works on Android, but the app size is big!
Is there a way to reduce the size of the application?
I think you can sign it in release build and it shrinks it down a lot: forum.qt.io/topic/100304/apk-file-size-too-big/6
You are s fantastic Teacher!
Thanks for the qt6 content. I'm looking forward to the advanced qt6 on udemy.
There was a problem, when creating the project, an error " 'QCoreApplication' file not found" immediately occurred. What to do?
7:01 i can't run for the first time. When build and run this, console not popup. I'm a absolute beginner in qt. Please
Hi, I had the same problem. All you gotta do is to find a projects button ( in the left side) then choose Build and Run--> Run and then check the box Run in terminal.
@@nicknamenomatter.4299 mann thankyou so much
Hi everyone. I have an issue with this one. I enter the code (i have qt5 tbh), i set run in terminal, and it is asking for input, but when i give it input and press enter, it just goes to the next line and doesnt continue executing the code. I also tried to set terminal settings in options-enviroment-system-terminal. Currently it is /usr/bin/xterm -e, but im not sure if thats the right one for manjaro. Did anyone have this issue, what am i doing wrong? thanks...
Two quick things, first grab the code off GitHub and it might pay possible you miss type something, and recommend asking these kind of questions in the voidrealms Facebook group as TH-cam comments are largely unmonitored due to the volume of them
how did you solve this issue?
@@viktorstefanov4848 Hey there! I believe you were trying to type in the Application Output section (I made that same mistake, lol). Go to Projects (found on far left side)/Build & Run/Run, and make sure that the Run In Terminal box is checked. This will open up a terminal for you to both see the output and send input to your program
I have the same problem on debian with qt6. "run in terminal"-box is checked. Any solutions? I don't have facebook so that's off the table.
edit: stackoverflow.com/questions/70506485/in-qt6-cin-getline-does-not-read-any-input-for-me
Link to the solution that worked for me. There has to be a newline (
or std::endl) at the end of cout
am having problem with the output, it doesn't read the input at print it.
19:52:50: Starting C:\Users\softd\Documents\QTQML\build-gt6-e3-Desktop_Qt_6_0_4_MinGW_64_bit-Debug\gt6-e3.exe ...
Please enter your name: Harold
when I press Enter nothing happen.
i had the same problem, resolved with "Run in terminal" into Run option. Apply and restart qt creator
I would like to learn C++ and Qt and looks like your series it's what I need. Your C++ videos are quite old, are they still a good start before this tutorial or there is a different C++ course or book that you would suggest?
Join the voidrealms Facebook group I regularly out coupons in there for my udemy courses. (coupons also in the description of this video)
Hello, have some problems with qInfo, it says I have a reference to non-static member function.
What should I do?
The problem was I didn't use brackets after qInfo, though it is a function:))
can I follow the same steps and code with python instead of c++?
hi, can i know is it possible for us to learn straightaway qt widget without learning qt core? for qt core we only learn about json or others that doesnt really support in STL c++
QT widgets is built around QT core so it would be very challenging to use without learning QT core
when I compile and start I have this following error on MACOS : "Unable to open "tmplj44px66" because (null) is not allowed to open documents in Terminal."
How can I solve it ?
Maybe Qt sucks for macOS I don't know
Can someone who's never done Qt previously begin directly from Qt6?
I will keep an eye open when you do an android app using 6.0. I have yet to get it to work! I am still using the latest 5 version.
I'm running Qt6 Community edition on my Windows 10 PC. When starting a new project, I'm asked what kit I want to use: MSVC2019 or MinGW. Which one is recommended and why?
Great video series, by the way!
MinGW includes a port of GCC, the go-to C/C++/Fortran compiler. Never been a fan of msvc.
thanks a ton for the tutorials
i read that Qt6 won’t have a LTS version, is this a problem or is this a minor inconvenience?
I had not heard this, and I am sure they would have an LTS version (probably into the 6.5 or beyond)
Qt 6.2 will be LTS
@@QtStudios you rock !
@@VoidRealms Thanks for making these vids - they are great!
@@QtStudios Too kind! - I have been working hard on theses and the Udemy courses, want to re-record everything in Qt6 so they be viable for a long time
i think c++ is best way 🙂🙂🙂🙂🙂
certainly for me, cpp way is more comfortable.. idk
Well done, now let us write thread-safe singleton debug module)
Magic Statics, don't use Singleton anymore
@@VoidRealms Yes, I know it.
Honestly Cpp way is way simpler
Yes!!