Qt Crash Course for Beginners - Create C++ GUI Apps

  Рет қаралды 126,698

Sciber

Sciber

Күн бұрын

Пікірлер: 115
@Cpp_Ninja
@Cpp_Ninja Жыл бұрын
PLEASE do more of the Qt videos. Just got into C++ last week and this is awesome. So glad I stumbled into your channel, thanks bromeo
@rishi8413
@rishi8413 7 ай бұрын
broooo, u r fucked up
@spicygaming9528
@spicygaming9528 Жыл бұрын
Bro you are the best finally someone who elaborates on the stuff that he teachers. Keep it up
@wearesciber
@wearesciber Жыл бұрын
Thank you
@ГерманАксаков
@ГерманАксаков Жыл бұрын
Really useful for beginners. I am glad that there are not some trunk in the first video of learning qt. Thank you very much, Sciber. I hope you keep it up
@wearesciber
@wearesciber Жыл бұрын
I'm glad it helped. Thank you for the comment
@franckmekoulou4314
@franckmekoulou4314 Жыл бұрын
Bonjour, depuis le temps que j'attend une serie de tutoriel dessus, c'est tres excitant. Merci
@wearesciber
@wearesciber Жыл бұрын
Glad to hear, hopefully we'll continue this as a complete series. 😸 💚
@wladfan
@wladfan 11 ай бұрын
Thanks for the tutorial! This is the first one that I actually got working...
@humorbender754
@humorbender754 2 ай бұрын
Great video! The example is simple, but complex enough to show how the project is structured and how it generally works. For me the video could have been shorter, because most of the information I found interesting was in the first half of it, but that doesn't change the fact that the explanations were top-notch - clear and informative. Also, on a side note, I have found your voice really calming and therefore nice to listen - that's certainly a great trait to have as an instructor! :D Thanks for the video!
@DavisTibbz
@DavisTibbz Жыл бұрын
Thanks. Great for beginners. I just wished you used "double" instead of int. But thanks. Please show how to add ICON to application next time
@RichardTheHamster
@RichardTheHamster Жыл бұрын
aah, finaly a sinhala dude who teaches c++..
@wearesciber
@wearesciber Жыл бұрын
😅
@splatterman74
@splatterman74 Ай бұрын
Very helpful vid for getting started! Also, Everything app is my new fave search method. Thanks!
@LUTHFIZXC
@LUTHFIZXC Жыл бұрын
Glad I'm found this channel
@PhantasyAI0
@PhantasyAI0 Жыл бұрын
Perfect short tutorial that gets to the point, thank you bro. Do you have any tutorials on deigns for qt? For example to make the UI look good, add gifs images so on. just styling things, would love a video on that!
@wearesciber
@wearesciber Жыл бұрын
Thanks for the kind words. I am working on a styling video, just thinking about what to include and what not.
@adityaanand6094
@adityaanand6094 10 ай бұрын
Wow best video on qt tutorial i found till now
@victorbied1
@victorbied1 Ай бұрын
FANTASTIC!!!
@K-A-L-I-
@K-A-L-I- Жыл бұрын
we need more QT video please!
@Seventro7
@Seventro7 Жыл бұрын
Your back! After a long break 🤠
@wearesciber
@wearesciber Жыл бұрын
Yay! As promised 😆♥️
@HammadRazzaq-v1x
@HammadRazzaq-v1x 8 күн бұрын
nice video really helpful if you are getting started
@kelvinasante-bekoe4865
@kelvinasante-bekoe4865 Жыл бұрын
I think God should make you his superior Angel, How I wish i could subscribe like 3 Trillion times for you. You make things so so so easy. From now on I am your number 1 fan. I just don't know what to say. I will end here and say a big thank you for your hard work and smart tutorials. Please make more if you can.
@wearesciber
@wearesciber Жыл бұрын
Haha this made my day ♥️
@yakubcemil850
@yakubcemil850 Жыл бұрын
Please make more videos about C++ GUI and UI programming
@wearesciber
@wearesciber Жыл бұрын
Will do 😊
@KamranBhutto
@KamranBhutto Жыл бұрын
@@wearesciber yes I like your videos
@enricosaccheggiani3192
@enricosaccheggiani3192 Ай бұрын
Wonderful job . Thanks a lot
@gawrbage
@gawrbage Жыл бұрын
Great tutorial! My only problem is that you compiled a debug version of the application and not the release version of the application. This is probably the reason why it is asking for the libgcc DLL files in order to run.
@wearesciber
@wearesciber Жыл бұрын
Thank you. I'm not sure if that's the case. I am using Qt6 now and it seems there is no error once i run windeployqt6.exe on either the debug or release version of the app. If i run windeployqt.exe on it, i get the error. Perhaps, it was their fault all along. Anyways thanks for mentioning this. I really should have exported it in release mode nevertheless.
@bennguyen1313
@bennguyen1313 7 ай бұрын
I have an existing c++ console-application (VS Studio Community) that uses std:thread, to interface to the serial port (1st thread), can-bus (2nd thread), and a (3rd) logger thread that receives data from the other threads and writes to a file. Now I'd like to make the application into a GUI.. Would adding another std:thread for the Qt-Gui be easier, or should the app be written from scratch using Qt's multitasking (i.e. re-write the serial port and can-bus code to use QThread not std:thread)? Is linking to other libraries easy under Qt Creator or would using Qt in Visual Studio be easier?
@JohnSmith-lc1ml
@JohnSmith-lc1ml 2 ай бұрын
How come you didnt have to connect the buttons using connect(ui.btnAdd, &QPushButton::clicked, this, &MainWindow::on_BtnAdd_clicked). I was following along and none of the buttons were working until i added that line
@shubhamnijhawan9871
@shubhamnijhawan9871 Ай бұрын
Amazing video.
@schrankwand8020
@schrankwand8020 4 ай бұрын
Great Tutorial, Thank you
@NerdyX90
@NerdyX90 Ай бұрын
THANK YOU !!
@DiscordDegeneracy
@DiscordDegeneracy Жыл бұрын
anyone trying to make this themselves and with out the video make sure to make line edit boxes and not plain text edit boxes, or else it will not work.
@samsam7064
@samsam7064 9 ай бұрын
If you add the qt mingw bin to %PATH%, the build .exe can run. No need to copy missing dll.
@pradeepkumarreddykondreddy7048
@pradeepkumarreddykondreddy7048 Жыл бұрын
Qt widgets application vs Qt quick application. When to use which one ?
@wearesciber
@wearesciber Жыл бұрын
Qt offers two main approaches for developing graphical user interfaces (GUIs): Qt Widgets and Qt Quick. Qt Widgets is a traditional, object-oriented approach to building GUIs using widgets, such as buttons, labels, and text boxes. It uses the QPainter system to draw graphics and provides a native look and feel across multiple platforms. This approach is best suited for building desktop applications with complex user interfaces that require fine control over the layout and behavior of individual widgets. Qt Quick, on the other hand, is a declarative language for building fluid and dynamic GUIs with animations and transitions. It uses QML (Qt Modeling Language) and JavaScript to define user interfaces, and leverages hardware acceleration for graphics rendering. This approach is best suited for building modern, mobile and touch-enabled applications, with fluid animations and UI elements that respond to user interactions. When deciding between Qt Widgets and Qt Quick, the choice depends on the type of application being developed and the specific requirements of the project. If the application requires complex user interfaces with a lot of widgets and fine control over the layout and behavior of the individual widgets, then Qt Widgets is the best choice. If the application is focused on a modern, dynamic and fluid UI with animations, then Qt Quick is the better choice. It is worth noting that Qt Widgets and Qt Quick are not mutually exclusive, and they can be used together in the same application. For example, an application may use Qt Widgets for its main window and menus, while using Qt Quick for its dynamic, interactive and visually rich content.
@Will-jk6nw
@Will-jk6nw Жыл бұрын
@@wearesciber bro used ChatGPT
@luminous_Hits
@luminous_Hits Жыл бұрын
​@@Will-jk6nw😂😂😂what a f**k?😅😅
@wearesciber
@wearesciber Жыл бұрын
Modern problems require modern solutions. No but seriously, these types of questions can be answered if they just searched the phrase on Google, when people ask questions like these, I feel like not going the extra mile to answer myself.
@Will-jk6nw
@Will-jk6nw Жыл бұрын
@@wearesciber Nah understandable, I just thought it was funny
@55BLOCKS
@55BLOCKS 3 ай бұрын
First time to hear about Qt I'm flutter dev
@sukivirus
@sukivirus Жыл бұрын
I never understood the license structure for open source QT programming so I stopped using QT longtime ago. The library is commercially only viable for big companies. :(
@peetcoetzee
@peetcoetzee Жыл бұрын
If you split the UI and the business logic you can provide the UI as free open-source to the customer. Your business logic can reside in another (C++ or other) app and the two apps can communicate via IPC or something similar.
@eocapone
@eocapone Жыл бұрын
This video helped me a lot, but, when I do the windeploy procedure, and, I added 4 .dll that were missing, the app still don't run and shows the message "The procedure entry point _Z9qt_asserPKcSO_i could not be located at the dynamic link library". Could you please tell me how to fix that problem?
@rossmaxx
@rossmaxx 10 ай бұрын
I found windeployqt to be buggy.
@yukunfang312
@yukunfang312 10 ай бұрын
Did you run the 'windeployqt.exe' which is mentioned in the video? There are a lot of files to generate.
@PainterWoW
@PainterWoW Жыл бұрын
You should not send customers the debug version of your program. Compile a release
@wearesciber
@wearesciber Жыл бұрын
Right. I forgot. Guess i could say i left that as an exercise for the viewer to figure out 😉😆
@Rahman_dh
@Rahman_dh 3 ай бұрын
I have a problem when creating a new project, it keeps reading it and doesn't show the sources and forms on the projects list. Also main.cpp shows a warning says "this file is not part of project. The code model might have issues parsing this file properly."
@foeyloozer6299
@foeyloozer6299 3 ай бұрын
I know this may not be the most appealing solution, but I had the same problem as you. I ended up just creating a Linux virtual machine and installing qt creator on there. Works perfectly.
@Sandhyajamakhandi
@Sandhyajamakhandi 3 ай бұрын
Can you share the links to crash course for MFC application of vs
@bethwelkaranja
@bethwelkaranja Жыл бұрын
The installer you are using does not match the one in the download link you provided. The one on the download link has some "at least one valid and enabled repository is required for this action to succeed"
@wearesciber
@wearesciber Жыл бұрын
Can you send some screenshots to our telegram group sciber.dev/tg
@rahmakoshin
@rahmakoshin Жыл бұрын
i downloaded the missing dll and i still have an issue that pops and i need help solving it as soon as possible please this error in execution file The procedure entry point _Z11gt_assert_XPKcSO_SO_i could not be located in the dynamic link library can you help me
@wearesciber
@wearesciber Жыл бұрын
Did you ask chatGPT (or bard). This is one of the most useful utilities that people ignore these days. To be honest, that error message doesn't look familiar to me at all. I would google it or ask chatGPT or bard. So I feel like if you did it yourself, you might just be able to debug the issue far more effectively and easily.
@atNguyen-wu2ul
@atNguyen-wu2ul Жыл бұрын
Can you make 1 video about the search function in the file. C++ GUI
@cartoonzer
@cartoonzer 11 ай бұрын
Can you import a desgin from qt design studio intto qt creator?
@DungVu-di7dz
@DungVu-di7dz Жыл бұрын
with Qt, I have difficulty adding libraries from outside
@rickfuzzy
@rickfuzzy 4 ай бұрын
You’re kidding. Are you saying you need to manually copy files and join telegram groups just to be able to export an application. Surely not…
@wearesciber
@wearesciber 4 ай бұрын
I'm sorry, the issue is with Qt itself. It DOES NOT export the app properly. You can find the files needed in the qt directory itself. No need to join the group and download from somewhere you don't trust. You can just look at the file names from my video and find them under the Qt installation directories. I don't know why it doesn't export properly.
@rickfuzzy
@rickfuzzy 4 ай бұрын
@@wearesciber Ok, so i did this experiment on my own and none of these steps were required. i simply executed "windeployqt myapp.exe" in my build folder and everything deployed and launched perfectly. All files were incluided.
@chessmemes-
@chessmemes- Жыл бұрын
please someone help me at 3:00 only the first 2 options are shown (there is no desktop development option) can someone tell me why
@wearesciber
@wearesciber Жыл бұрын
Do you have telegram? Because someone had the same problem and we solved it. I have the instructions in the telegram group. If you could join the group and see the messages, it would be much easier. Anyways, after you select custom installation, click on LTS from the right side and then click filter. Then from the left side you can select Qt and from there you can select the latest Qt version. You can go through the check boxes and uncheck things like android to reduce the installation time.
@stargaming-h3p
@stargaming-h3p 3 ай бұрын
its keeps crashing when i hit install
@usmanghazi29
@usmanghazi29 6 ай бұрын
stunning
@usmanghazi29
@usmanghazi29 6 ай бұрын
plese make more on qt
@PaulNOWAK-wc2ui
@PaulNOWAK-wc2ui Жыл бұрын
Hello ! I'm interested by your tutorial, but I don't find the "Qt 6.4 for desktop development" 'or the updated version) at 3:07 when I try to follow it. Should I install it previously or I don't require it for the tutorial (should I pick custom installation or Qt design studios instead ?) ? Thanks for answering fast, please
@wearesciber
@wearesciber Жыл бұрын
Sorry it seems qt changed the ui a bit. Do custom installation Then from there you can select the qt version If you are facing more problems send screenshots to sciber.dev/tg :)
@PaulNOWAK-wc2ui
@PaulNOWAK-wc2ui Жыл бұрын
@@wearesciber heya, thanks for the answer after I select custom installation, I have a list of components I need to install. Should I only instal Qt 6.5.2 extension ? Or I also need another one ? It's because the installation needs from several hours to 2 days to complete. Sorry, I can't send you screenshots, I have trouble using your link.
@wearesciber
@wearesciber Жыл бұрын
Do you have telegram? Because someone had the same problem and we solved it. I have the instructions in the telegram group. If you could join the group and see the messages, it would be much easier. Anyways, after you select custom installation, click on LTS from the right side and then click filter. Then from the left side you can select Qt and from there you can select the latest Qt version. You can go through the check boxes and uncheck things like android to reduce the installation time.
@PaulNOWAK-wc2ui
@PaulNOWAK-wc2ui Жыл бұрын
@@wearesciber Heya, I did what you told me and I managed to do the installation of the latest Qt version. but when searching for the app, I can't find "Qt creator", but instead I have Qt 6.2.4 which opens on a terminal. also, it installed me Qt linguist and Qt designer. do I need Qt creator for this tutorial ?
@wearesciber
@wearesciber Жыл бұрын
Sorry, i will install this on a vm and tell you later. This is just confusing because it seems qt completely changed the installation process. I will let you know
@dreaddy_bear
@dreaddy_bear 7 ай бұрын
"first thing we need to do is change the theme to dark mode" based
@PhantasyAI0
@PhantasyAI0 Жыл бұрын
Hey scriber, im wondering bro can you make a video about using qt with rust?
@JonasFackelmeyer
@JonasFackelmeyer Жыл бұрын
When I want to create a new project, in the kits section it says "No matching kits found"
@wearesciber
@wearesciber Жыл бұрын
Are you on Windows
@JonasFackelmeyer
@JonasFackelmeyer Жыл бұрын
@@wearesciber yes
@wearesciber
@wearesciber Жыл бұрын
Did you install the mingw stuff while installing qt
@JonasFackelmeyer
@JonasFackelmeyer Жыл бұрын
@@wearesciber I uninstalled it and then reinstalled with MinGW - now it's working, thanks :)
@wearesciber
@wearesciber Жыл бұрын
Nice, glad to hear. I also once had the issue and that's what I did. So I guess the solution is to make sure that we install mingw while installing qt.
@Thegoal2.P
@Thegoal2.P 2 ай бұрын
16:27 why are you in incognito?
@benny-shen
@benny-shen 8 ай бұрын
Helpful
@thorstenfricke3257
@thorstenfricke3257 Ай бұрын
a question! is qt still used by companies? or is it replaced by boot to nodered / web?
@gokusaiyan1128
@gokusaiyan1128 6 ай бұрын
do videos with QML , widgets are really not that great anymore
@rajithlahiru5580
@rajithlahiru5580 4 ай бұрын
Kurunegala kollek 😁
@wegogym34
@wegogym34 Жыл бұрын
I can't find the telegram group
@wearesciber
@wearesciber Жыл бұрын
t.me/wearesciber/1
@vampshawty
@vampshawty Жыл бұрын
hey bro great video but its still giving the same error even after downloading the files
@wearesciber
@wearesciber Жыл бұрын
Which error? :)
@vampshawty
@vampshawty Жыл бұрын
@@wearesciber this application was unable to start correctly 0xc00007b
@wearesciber
@wearesciber Жыл бұрын
When does that error come up. After installing qt or while installing qt
@vampshawty
@vampshawty Жыл бұрын
@@wearesciber after copying the missing dll files
@wearesciber
@wearesciber Жыл бұрын
@@vampshawty did you google this
@segsfault
@segsfault Жыл бұрын
qt and gtk are nice, but imgui is banger than them.
@wearesciber
@wearesciber Жыл бұрын
Sure, imgui also offers more control over whats happening thanks to immediate mode, but also, Qt makes it really easy to design and develop applications with Qt Design Studio. So, need to choose what's best for our specific application.
@segsfault
@segsfault Жыл бұрын
@@wearesciber tbh at this point idc if it's qt, gtk, winforms or imgui, i just don't want a app in electron. like even after having such nice frameworks they use electron just because their webdev team can handle it ig.
@wearesciber
@wearesciber Жыл бұрын
@@segsfault this is so true. Just make an app in C# with Avalonia. Everything is just an electron app nowadays.
@segsfault
@segsfault Жыл бұрын
@@wearesciber true
@grenade0522
@grenade0522 Жыл бұрын
The download speed is atrocious dude I have gigabit ethernet and it's downloading at 100 KB/s 💀💀💀💀
@wearesciber
@wearesciber Жыл бұрын
😂
@chamodihasuni2345
@chamodihasuni2345 Жыл бұрын
😍
@wpideas
@wpideas 3 ай бұрын
Great Tutorial
@lakmithanadun1853
@lakmithanadun1853 5 ай бұрын
Recognize that accent... Are you Sri Lankan?
@wearesciber
@wearesciber 5 ай бұрын
Yes I am
@GaryJackson-r7z
@GaryJackson-r7z Ай бұрын
Harris Eric Miller Frank Rodriguez Susan
BEST WAY to make Desktop Applications in C++
26:00
The Cherno
Рет қаралды 929 М.
To-Do App in Qt C++ - Qt Widgets Crash Course
30:53
Sciber
Рет қаралды 18 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 29 МЛН
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 87 МЛН
you will never ask about pointers again after watching this video
8:03
Linux Crash Course for Beginners with Labs
2:21:28
freeCodeCamp.org
Рет қаралды 110 М.
React Crash Course | Learn React Quickly | In 80 Minutes
1:17:07
WolfDenCode
Рет қаралды 3,6 М.
How to get started with Qt Creator  | C++ GUI  | Libraries | Qt Designer | Cross platform
14:57
BEST GUI TOOLKITS for C++ | Sciber
16:04
Sciber
Рет қаралды 114 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 629 М.
These coding projects give you an unfair advantage
8:13
Jason Goodison
Рет қаралды 1,1 МЛН
Cross Platform Graphical User Interfaces in C++
44:49
javidx9
Рет қаралды 871 М.
This is Why Programming Is Hard For you
10:48
The Coding Sloth
Рет қаралды 924 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 29 МЛН