Qt Tutorial : C++ Notepad App

  Рет қаралды 442,545

Derek Banas

Derek Banas

6 жыл бұрын

Code & Icons Here : bit.ly/qttut
Subscribe to Me: bit.ly/2FWQZTx
Best Qt5 Book : amzn.to/2Mg4LC9
I thought it would be fun to make a real app in this Qt Tutorial, so I made a working Notepad app. We'll install Qt for Windows and MacOS. Then we'll cover Qt Basics, Dialogs, Widgets, Drag and Drop Interfaces, Creating / Opening / Saving Files, Menus, Toolbars, Icons, Printing, and much more.
Qt is an amazing framework for creating cross platform C++ GUI applications.
MY UDEMY COURSES ARE 87.5% OFF TIL February 13th ($9.99) One is FREE
➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science bit.ly/Master_Python_46
➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month bit.ly/C_Course_46
➡️ FREE 15 hour Golang Course!!! : bit.ly/go-tutorial7 (100 Available)
Like the channel? Consider becoming a Patreon! Check it out here:
►► / derekbanas
Watch More Learn in One Videos
►► Java - • Java Tutorial
►► C++ - • C++ Programming
►► Python - • Python Programming
►► MySQL - • MySQL Tutorial
►► PHP - • PHP Programming
►► Kotlin - • Kotlin Tutorial
►► C# - • C# Tutorial
►► JavaScript - • JavaScript Tutorial

Пікірлер: 499
@derekbanas
@derekbanas 5 жыл бұрын
Learn in One Videos for Every Programming Language Subscribe to Bookmark them: bit.ly/2FWQZTx C++ : kzbin.info/www/bejne/iKbFXn2pn7Kbjbs Python : kzbin.info/www/bejne/hGXQdq18ec-kqqM Java : kzbin.info/www/bejne/pF7bcqSZd6iqqZY PHP : kzbin.info/www/bejne/bYWpYWOef65qbrs MySQL : kzbin.info/www/bejne/r4HYZ6SMasesq5Y JavaScript : kzbin.info/www/bejne/nJvYapyfbb6mfdU C# : kzbin.info/www/bejne/oprWmqqLj6-Lp7M HTML5 : kzbin.info/www/bejne/oXXce4FtprZ4iqM CSS3 : kzbin.info/www/bejne/eYbbeZKojLh8Z80 JQuery : kzbin.info/www/bejne/eIi7mJp4YrlkoLM TypeScript : kzbin.info/www/bejne/Y4G1kIunjJ59gLc ECMAScript : kzbin.info/www/bejne/gJLOoJxmfJ2feMk Swift : kzbin.info/www/bejne/mnzEoJ2Fj5KUsJo R : kzbin.info/www/bejne/qWSpoK2Mm8lqp5Y Haskell : kzbin.info/www/bejne/ZmPCeWaCn9aAqJo Handlebars : kzbin.info/www/bejne/annYcqGDa8dlmpo Bootstrap : kzbin.info/www/bejne/naKydqKLh5qFfsk Rust : kzbin.info/www/bejne/i2Kod5p5g7F3eJo Matlab : kzbin.info/www/bejne/hIS2hZ6hgLeUmKs Arduino : kzbin.info/www/bejne/h4DCe5-wZtajetk Crystal : kzbin.info/www/bejne/eqmpgWCNn9anqcU Emacs : kzbin.info/www/bejne/f5LKk6lvbJl6orM Clojure : kzbin.info/www/bejne/mZqqqnuhedqDd6c Shell : kzbin.info/www/bejne/nqjVn6CHqtKnhtk Perl : kzbin.info/www/bejne/jXbKmXyOqJ15bMU Perl6 : kzbin.info/www/bejne/omHdgaqenLyHna8 Elixir : kzbin.info/www/bejne/pnOxgJSsh9SBgpI D : kzbin.info/www/bejne/qKi9d4ekm56Verc Fortran : kzbin.info/www/bejne/lZCVhpp8g76anJo LaTeX : kzbin.info/www/bejne/jJnQnH-ohM9_qdk F# : kzbin.info/www/bejne/mWjIf3eAg5xobrc Kotlin : kzbin.info/www/bejne/fpDSeJxuqtp3pqM Erlang : kzbin.info/www/bejne/f3bLqJZoppatfZY Groovy : kzbin.info/www/bejne/eGqbm5Zuncmob8k Scala : kzbin.info/www/bejne/equppWOPoL-ibq8 Lua : kzbin.info/www/bejne/n37ElKuQhrKDjtU Ruby : kzbin.info/www/bejne/epvManSCeMyZpq8 Go : kzbin.info/www/bejne/eXechGeHj9qJaZI Objective C : kzbin.info/www/bejne/a5bWgqSQfq9rack Prolog : kzbin.info/www/bejne/iarOqYqme9yAfdU LISP : kzbin.info/www/bejne/r562ometfdekr7c Express : kzbin.info/www/bejne/rnWmfJaEd6umq6s Jade : kzbin.info/www/bejne/omakiZaOdrVnqJo Sass : kzbin.info/www/bejne/rauWnHiigcd4fqc
@christiantutoriels1075
@christiantutoriels1075 8 ай бұрын
😅
@techeurekaexplore
@techeurekaexplore 6 ай бұрын
kzbin.info/www/bejne/g57SpIt7ZrB-nrM
@user-ww2lc1yo9c
@user-ww2lc1yo9c 3 ай бұрын
I did not fully understand the description about the qobject given at around 12:30. Where can I find more details of this thing called qobject?
@user-ww2lc1yo9c
@user-ww2lc1yo9c 3 ай бұрын
About the constructor, what does "explicit" mean? Also, why isn't the pointer set to NULL but to 0 instead?
@user-ww2lc1yo9c
@user-ww2lc1yo9c 3 ай бұрын
Why not just use ui->textEdit->setText(""); ???
@narnbrez
@narnbrez 4 жыл бұрын
As of mid-Apr 2020 the toolbar is no longer included automatically. To get it, right click on your MainWindow object in the Object Tree [whatever you want to call it, the top right] and select add toolbar. Thanks for the vid Derek.
@VonKuro
@VonKuro 2 жыл бұрын
Thank you
@tuziy2789
@tuziy2789 Жыл бұрын
Thanks!
@2271masoud
@2271masoud 6 жыл бұрын
I'm speechless. I don't know what to say. a fully functional notepad app in 30 minutes?! that's amazing Derek. you killed it. some people compare you with other youtubers but in my opinion you are incomparable. you are AWESOME. keep up the good job
@derekbanas
@derekbanas 6 жыл бұрын
I'm very happy you liked it :) I do my best to cover a lot in one video
@fredericroland8204
@fredericroland8204 4 жыл бұрын
Thank you for this tutorial. I stopped C++ 18 years ago when I started C# at work and I feel the need to go back to my roots and you refresh my old C++ knowledge + teach me Qt at the same time.
@derekbanas
@derekbanas 4 жыл бұрын
Happy I could help :)
@ImpulseGundam
@ImpulseGundam 3 жыл бұрын
I learned more in this video than my entire Fall semester.
@dancobb2199
@dancobb2199 3 жыл бұрын
You, Derek Banas, are everywhere :-) I've been through most of your C++ tuts for my job, and I also need to dive into Qt (pronounce "cute" ;-) ) and of course, I found you here. You're the best! You're a hero.
@contrazzed3651
@contrazzed3651 5 жыл бұрын
Uninstalling VSCode now... Just wrote the only text editor I'll ever need.
@derekbanas
@derekbanas 5 жыл бұрын
That's funny :)
@contrazzed3651
@contrazzed3651 5 жыл бұрын
So I was watching this to prepare for a coding project to submit for a job interview. Just thought it was worth mentioning that I got the job, thanks in part to this series. I'll be going on a company trip to the Qt world summit in Boston next month!
@Zack-xz1ph
@Zack-xz1ph 5 жыл бұрын
Contrazzed nice
@InstantMoneyAllStar
@InstantMoneyAllStar 5 жыл бұрын
@@contrazzed3651 awesome!!!
@aidensmith6277
@aidensmith6277 5 жыл бұрын
@@contrazzed3651 gj, 🅱
@HephaistosForge
@HephaistosForge 4 жыл бұрын
You are my hero, Sir. I had some issues with some missing Kits, but that was fairly easy resolved as the installer only installed QT STudio and not QT itself. I run the QTMaintainance Application and Added QT under Components. Cheers Mate.
@carlyc4357
@carlyc4357 4 жыл бұрын
I just downloaded Qt based on a recommendation from a friend, as soon as I saw your name pop up in a tutorial search I knew I'd learn something! Thanks, Derek!
@derekbanas
@derekbanas 4 жыл бұрын
Thank you for the nice compliment :)
@oussamasingle7815
@oussamasingle7815 6 жыл бұрын
Finally 😍 derek starts Qt series 😍😍 thanks man
@derekbanas
@derekbanas 6 жыл бұрын
Sorry it took so long. I was sick for over a week, but I'm healthy again :D
@oussamasingle7815
@oussamasingle7815 6 жыл бұрын
Derek Banas god bless you derek ❤
@derekbanas
@derekbanas 6 жыл бұрын
May God bless you as well :)
@chukwuka-steveorefo1812
@chukwuka-steveorefo1812 6 жыл бұрын
OMG freaking awesome been waiting for this Qt tutorial!! Thanks Derek!!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I hope you like it
@shantnukumar1642
@shantnukumar1642 5 жыл бұрын
I had never enjoyed making project a day before submission. Today was not the case! Thank you very much.
@johnsknows3135
@johnsknows3135 Жыл бұрын
This was brilliant sir! Not sure how I would learn Qt without you! Thanks a bunch!
@ASTom3125
@ASTom3125 Жыл бұрын
yeap!he's amazing!
@techeurekaexplore
@techeurekaexplore 6 ай бұрын
kzbin.info/www/bejne/g57SpIt7ZrB-nrM
@soda9023
@soda9023 4 жыл бұрын
Alright time to recreate the entirety of the Borland C++ IDE
@thehumanchannel9004
@thehumanchannel9004 4 жыл бұрын
Wow, it's been ages since I used any Borland product. You're taking me to the age before Facebook
@DeclanOKaneMD
@DeclanOKaneMD 3 жыл бұрын
Delphi 7 forever
@FPChris
@FPChris 3 жыл бұрын
Yep. Watching this I was almost feeling at home after YEARS of missing it.
@FPChris
@FPChris 3 жыл бұрын
27:00 what if user cancels the file open dialog?
@aleXelaMec
@aleXelaMec Жыл бұрын
Big thanks. Good and clear tutor. Just what I needed.
@FritsvanDoorn
@FritsvanDoorn 6 жыл бұрын
This is a true Derek Banas instructional video! In 2015 I did a project with Qt and C++ but then I did not had the Qt IDE available to use. It was an automatic control loop to verify the functioning of pressure transducers. My collegues all went on a Qt course, but on assigning parts of the project they discovered that they were one man short so they asked me. But I had not followed the Qt course. I read a book and just started using it and I finished the project with full satisfaction. I recently discovered that I used a lot the Facade Design Pattern to simplify the Qt calls. Guess where I learned to bring Design Patterns to practice. Thanks for the extra fun you bring in programming to the world.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you for the nice message :) I still find it hard to believe that people are actually finding my tutorials useful. Hearing the stories definitely motivates me to make more.
@sethtaylor7519
@sethtaylor7519 6 жыл бұрын
They are VERY valuable, to many people, in many areas of skill. Keep up the great work!
@salmonsalmon4668
@salmonsalmon4668 Жыл бұрын
Thank you for this tutorial!
@aorusaki
@aorusaki 4 жыл бұрын
Great and useful video! came here after looking for something similar to XCode or Android Studio but for C++ and cross platform gui development!
@k.alipardhan6957
@k.alipardhan6957 6 жыл бұрын
OMG this playlist is exactly want i tried to look for 6 months ago, i had no idea Qt existed. All the frameworks looked old and windows XP-ish. I knew there had to be something like swing and javaFX, for C++
@erikpavlusik6214
@erikpavlusik6214 5 жыл бұрын
Thank you for all you do for us Derek. Great Job
@derekbanas
@derekbanas 5 жыл бұрын
Thank you for watching my videos :)
@fortifiedconcept4260
@fortifiedconcept4260 6 жыл бұрын
You are the best derek! I am learning everyday from your videos. And I hope I will still learning from your great tutorials... Thank you very very much.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you very much :) I'm very happy that you are enjoying the videos
@mattiaguazzaloca3363
@mattiaguazzaloca3363 6 жыл бұрын
Awesome Tut Derek! I can't wait for seeing new episodes!!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) Many more are coming
@russelwebb8853
@russelwebb8853 6 жыл бұрын
A repository of knowledge, you are. Just a 20 year old checking in here; I strive to someday share this quality with you. I love this passion you have of teaching complete strangers all that you know.
@derekbanas
@derekbanas 6 жыл бұрын
It is my pleasure to help and I use it as an excuse for spending numerous hours learning just about everything. I'm currently teaching myself Japanese, Machine Learning and Piano for tutorials that I'll probably start uploading a year from now :)
@russelwebb8853
@russelwebb8853 6 жыл бұрын
Derek Banas For your tutorials on piano, I suggest not teaching chords themselves. Teach some general patterns shared in chords with key placements and such. I just uploaded a video of myself playing a Steinway and Sons grand piano for 16 minutes. Maybe try approaching music from a more psychological/emotional level, and the power of music to convey feelings.
@rustemusic
@rustemusic 5 жыл бұрын
Many thanks for your efforts, Derek! Seems like I've repeated the procedure a few times but for some reason those bitmap images don't show up on the buttons.
@SapphFire
@SapphFire 5 жыл бұрын
Thanks a lot! I won't be watching this yet since I'm still learning C++ but if you want to, a Qt Quick QML tutorial would be great!
@romkagm7756
@romkagm7756 3 жыл бұрын
im in university and we haven't learned anything about c++, but already make a notepad app - very nice
@Hevletica
@Hevletica Жыл бұрын
Perfect kickstarting project for Qt in C++!
@skaruts
@skaruts 6 жыл бұрын
*_"Learn bit shifting sorcery in one video!"_* I personally would love to see that. :)
@linuxguy1199
@linuxguy1199 6 жыл бұрын
skaruts Yes please, earlier today I finished up a C++ library for the ST7735 and I had to a shitton of bitshiftery since it has a 5 bits red, 6 bits green, and 5 bits blue scheme for setting the pixels you can see the source code at github.com/abc123me/fbgl
@neonz2712
@neonz2712 3 жыл бұрын
I once made a calculator without using any arithmetic operators, only bit-shifting. There's really no practical purpose behind it.
@eleganteatinginjapan659
@eleganteatinginjapan659 6 жыл бұрын
Exactly what I was looking for
@derekbanas
@derekbanas 6 жыл бұрын
I'm happy I could help :)
@jessib6966
@jessib6966 5 жыл бұрын
I like the fast pace, thx a bunch the other tutorials make me sleep :-)
@derekbanas
@derekbanas 5 жыл бұрын
I'm happy you liked it :)
@koki10190
@koki10190 2 жыл бұрын
This is so easy and sick!
@ronandaly5428
@ronandaly5428 6 жыл бұрын
Thank you for your hard work...... If it was not for youtube tutorials like yours I would have never had the confidence to learn programming
@derekbanas
@derekbanas 6 жыл бұрын
It is my pleasure to be of help :) It is great to know that my videos have helped so many people
@josbexerr5166
@josbexerr5166 5 жыл бұрын
Gracias Mister Derek.....impresionado
@benhub
@benhub 5 жыл бұрын
Hello, i want to save special carracters and they are saved by a '?' and when i open them, i get 3 carracters. I think it's about encoding but i can't find a way to change that. thanks for any help.
@fab0527
@fab0527 4 жыл бұрын
Hey Derek, new to Qt. Trying to understand what the purpose of main.cpp is in qt, as opposed to CLI applications. Is the main window basically a replacement for main() ?
@LinaAliceAnderson
@LinaAliceAnderson 4 жыл бұрын
To make the app more complete it would be nice to handle the cases when a user presses cancel/X instead of specifying the file path/name in Open or Save as. The return value in these cases is an empty string, so: if (fileName.isEmpty()) return; To add a custom icon one can add the following to the main file: w.setWindowIcon(QIcon(":/imgs/your-icon-name.icon-extension")); The .exe file will be represented by the icon in Explorer if one adds in .pro file: RC_ICONS = your-icon-name.icon-extension
@theriddler2129
@theriddler2129 2 жыл бұрын
This tutorial is awesome! Thank you!
@derekbanas
@derekbanas 2 жыл бұрын
Thank you :) I'm happy you enjoyed it
@jessesgamereviewstipsandst5517
@jessesgamereviewstipsandst5517 5 жыл бұрын
Excellent Tutorial, Thanks a for taking your time to create this tutorial.
@derekbanas
@derekbanas 5 жыл бұрын
Thank you :) I'm happy you liked it
@rodrigoccamargos
@rodrigoccamargos 6 жыл бұрын
Very good tutorial. Thank you very much!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :)
@philipchama2858
@philipchama2858 6 жыл бұрын
Thank you so much, Sir. Enjoyed the lesson. I was wondering, how many videos do you plan to make in the Qt series? much appreciated as always.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I'm not sure at this point. It depends on demand, and so far people seem to like it
@markkohut153
@markkohut153 3 жыл бұрын
TY very much for this useful tutorial
@derekbanas
@derekbanas 3 жыл бұрын
I'm happy that you found it useful
@misraaditya9213
@misraaditya9213 2 жыл бұрын
New here. The current installer for Qt configures things a bit differently. Notably, there's an additional configuration for the build system and the Clang kit is not available in the default installation. For someone who's played around with the older version too, what other settings have changed from the tutorials?
@noctua7771
@noctua7771 6 жыл бұрын
Derek this is insanely awesome!
@derekbanas
@derekbanas 6 жыл бұрын
I'm glad you liked it :)
@exodus8814
@exodus8814 6 жыл бұрын
OMG DEREKKKKKK!! THANK YOU VERY VERY MUCH :))))) I APPRECIATE THAT A LOT!!!
@derekbanas
@derekbanas 6 жыл бұрын
I hope you find it useful. It was fun to make a real app in about 30 minutes
@exodus8814
@exodus8814 6 жыл бұрын
Derek Banas Of course I will!!!! Your tutorials are superb Derek :) Hands down the best hands-on, fully explained C++ Course ever created on KZbin. It would take other KZbinrs about 3-4 videos to create a single hello world program using C++ or any other language. You're awesome Derek :))) I'm very grateful for these tutorials. I hope I can repay you throughout my life. You'll still going to see my comments on every video you create:)
@derekbanas
@derekbanas 6 жыл бұрын
I greatly appreciate you taking the time to always write a message!!! It is wonderful to know that people are following my videos :)
@exodus8814
@exodus8814 6 жыл бұрын
Derek Banas You're very welcome Derek, it's the least I can do :)
@jongdonglu
@jongdonglu 3 жыл бұрын
Hi i dont know if you had this at the time of the video or not, but i have the clear(); function available for ui->textEdit-> and i just tried it and it seems to do the same as setText(QString()); i am wondering is there a difference or a benefit of one over the other? thanks!
@xMrJanuaryx
@xMrJanuaryx 5 жыл бұрын
Derek Banas I realize it might be a bit out of your normal scope but I would super interested in an in-depth look into Yocto. After, of course, you finish up with the Qt series.
@manuelnovella39
@manuelnovella39 6 жыл бұрын
What an amazing man you are, sir!
@derekbanas
@derekbanas 6 жыл бұрын
You're very kind :)
@c.enkhnaash8370
@c.enkhnaash8370 5 жыл бұрын
Please! Tell me what to do to change the font color in the dialog! Or the background, it's all white! I cant see what is written...
@akagaming9431
@akagaming9431 6 жыл бұрын
Your experience and skill-sets are unparalleled(I'd go as far as to say you're even more experienced, if not as good as Bucky Roberts from thenewboston). I wish and aim to be as good as you in the future. I wanna learn more from you! Thanks for the video!
@derekbanas
@derekbanas 6 жыл бұрын
Thanks for the nice compliment :) I promise anything I can do anyone else can do. It just takes time
@zulumopuku5370
@zulumopuku5370 6 жыл бұрын
Bucky Roberts from thenewboston ? are u kidding me? Derek is a genius
@navidafzal1305
@navidafzal1305 6 жыл бұрын
Top troll comment, 10/10
@hakimbettayeb6434
@hakimbettayeb6434 3 жыл бұрын
Hi, I do have a question though hoping to reach you out Suppose i want to add QKeyEvent for CTRL+S as a shortcut in the saveAs Function, How can one do the implementation? Thank you!
@AnalogDude_
@AnalogDude_ 4 жыл бұрын
i guess printSupport changed, #include #include
@AnalogDude_
@AnalogDude_ 4 жыл бұрын
QString currentFile = "";, wont get accepted in QT5.7 and should be QString currentFile; QString filename = QFileDialog::getOpenFileName((this,"open the file")); should be: QString filename = QFileDialog::getOpenFileName(this,"open the file");,
@spctcl_
@spctcl_ 4 жыл бұрын
@@AnalogDude_ also you are the goat as well
@AnalogDude_
@AnalogDude_ 4 жыл бұрын
@@spctcl_ what's the problem?
@spctcl_
@spctcl_ 4 жыл бұрын
@@AnalogDude_ I was saying that you are the GOAT aka the greatest of all time for illuminating the problems with the syntax and updated QT. No problem anymore, thanks to you 😁
@AnalogDude_
@AnalogDude_ 4 жыл бұрын
@@spctcl_ Thnx, well it didn't compile and i had to find out why and i learned something new ... GOAT ... hahaha
@Chalisque
@Chalisque 3 жыл бұрын
If I am not mistaken, the file.close() lines are redundant since when the file object goes out of scope, its destructor will close the file. (RAII and all that.)
@antoinefortin1386
@antoinefortin1386 6 жыл бұрын
Been waiting for this one for so long!
@derekbanas
@derekbanas 6 жыл бұрын
I hope you like it :)
@antoinefortin1386
@antoinefortin1386 6 жыл бұрын
Yes I did! And just thank you, to make this kind of content, one of the few KZbinrs that really talk to the devs, and make some 300 pages of documentation in a very digestable lesson. Big love !
@derekbanas
@derekbanas 6 жыл бұрын
I'm very happy that you liked it :)
@subhajitghosh8
@subhajitghosh8 3 жыл бұрын
Just perfect!
@multigladiator384
@multigladiator384 5 жыл бұрын
Well I Have made a "data model" for my program. And also I implemented methods to care for the needs of the users interactions via the gui(a controller that uses the datamodel). Now I want to learn about to build a simple gui( i know it from scenebuilder and javafx a little bit) in QT and make use of my controller and datamodel.. I need to know how to accept arguments from the user input via the gui/view. Moreover I need to know how to refresh and show updated data to the gui .. Could you please point me to a video of you than would help me learn it?
@ishanvimukthi2474
@ishanvimukthi2474 5 жыл бұрын
Thanks for your educations video! This is bast work !
@derekbanas
@derekbanas 5 жыл бұрын
Thank you very much :)
@siriacopereira3153
@siriacopereira3153 6 жыл бұрын
Pretty freaking cool! You`re the man!!!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I'm glad you liked it
@siriacopereira3153
@siriacopereira3153 6 жыл бұрын
Can I conect my cellphone to install the app into it?
@sabrinalevina_
@sabrinalevina_ 4 жыл бұрын
Thank you so much!!!!
@sayyidalisajjadrizavi7418
@sayyidalisajjadrizavi7418 4 жыл бұрын
Hi Derek Banas! Nice tutorial! Could you please guide me if I can use Selenium Chrome Webdriver with Qt C++ GUI application? I want to make a software I built in C# .NET Windows, which I want to build for Linux.
@AW_77
@AW_77 6 жыл бұрын
I've been interested in finding more about Qt. I first came across it when installing KDE 1.1 in 1999. So I gather that since then it's spread from Linux to anything that can be coded in C++.
@derekbanas
@derekbanas 6 жыл бұрын
Yes it is an awesome cross platform framework
@eddyecko94
@eddyecko94 6 жыл бұрын
Hi Derek, I can't continue because my "Kits" field is empty unlike yours, I am a novice at QT thus I'll need some guidance to select the kit. Thanking you.
@meisam7144
@meisam7144 5 жыл бұрын
Apparently you also have to install MinGW compiler. go to Qt>MaintenanceTool.exe and add MinGW to be installed.
@mryup6100
@mryup6100 4 жыл бұрын
To add more detail to Meisam's comment check out the following link to a QT forum about this issue: forum.qt.io/topic/84198/no-valid-kits-found/4
@mryup6100
@mryup6100 4 жыл бұрын
Also, if you get "incompatible with C++98" warnings check out this forum: forum.qt.io/topic/109856/incompatible-with-c-98-warnings-since-qt-creater-update
@benjaminsmus8553
@benjaminsmus8553 Жыл бұрын
To follow the tutorial verbatim, use qmake as your build tool. It makes your file structure look that same as the tutorial, and everything works. When I was using cmake, some things weren't working.
@multigladiator384
@multigladiator384 5 жыл бұрын
This is from a few months ago. super nice. thanks derek
@derekbanas
@derekbanas 5 жыл бұрын
Thank you :)
@humeilmakhija9812
@humeilmakhija9812 6 жыл бұрын
I Appreciate your HARD work brother......your tutorials are AWESOME as always. Can u make videos related to DATA Science??
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I'm working towards covering more advanced topics, but I'm trying to think of an interesting way to cover the math required such as linear algebra, statistics and calculus. I'll get there
@charleshuff7486
@charleshuff7486 2 жыл бұрын
do you answer specific Qt 6 questions? how / where do I ask them if possible?
@ProgrammingGuru
@ProgrammingGuru 6 жыл бұрын
Great video Derek 👍 I was just wondering that can we make this notepad a stand alone app for windows which works without Qt platform, as a real notepad does in Windows, which run on its own (like an app installed from its setup)? And how can we achieve that? Thanks for making these videos. 😀
@derekbanas
@derekbanas 6 жыл бұрын
I'm happy you liked it :) Yes it will compile to a stand alone program
@BobCornell_nbd
@BobCornell_nbd Жыл бұрын
This is really helpful in re-acquainting myself with Qt. However, for newbies like me, it's incredibly confusing when objects or variables are given names that could be confused with objects built in to Qt e.g. "text", "fileName" or "textFile". In C++ and other languages I work with I use prefixes such as "str" for Strings (strMyString), "bool" for Boolean (boolCycleIndex), "int" for integers (intCyclesToGo) or "flt" for floating point variables (fltDistanceToTheMoon). I look forward to following more of your tutorials.
@elkhoukhi
@elkhoukhi 6 жыл бұрын
Derek I love you man!
@derekbanas
@derekbanas 6 жыл бұрын
I love all of you guys too :)
@tkppowdyel911
@tkppowdyel911 5 жыл бұрын
I want to build an iOS and Android app to use as a remote controller for Arduino’s Project. For example, to navigate robot car, manipulate the RGB LED as I move my finger. With a little bit of knowledge of C++, how do I approach this?
@MijeshDeuja
@MijeshDeuja 6 жыл бұрын
Really nice continuation of the C++ series.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) more are coming
@fiziblank2609
@fiziblank2609 5 жыл бұрын
Must xcode be installed before QT can be installed??
@texasaggie2378
@texasaggie2378 6 жыл бұрын
You should do cmake next, one of my friends on stack overflow said it is very useful to learn. I can't find good documentation nor videos on the topic can you do one please!
@yiandev4368
@yiandev4368 5 жыл бұрын
cmake is garbage avoid at all costs
@y.z.6517
@y.z.6517 5 жыл бұрын
@@yiandev4368 Except that a lot of great projects use that "garbage". You'd better know it, if only to read other people's projects and resolve bugs.
@ShivamJha00
@ShivamJha00 5 жыл бұрын
@@y.z.6517 true lol
@mortyjr2334
@mortyjr2334 5 жыл бұрын
@@y.z.6517 cmake is absolute trash lol.
6 жыл бұрын
I must say, Qt isn't as bad as i had rembered it. Great introductionary video :D
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) Yes it has improved a lot
@devhabit2041
@devhabit2041 6 жыл бұрын
Great job,Thanks
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :)
@Lumary
@Lumary 6 жыл бұрын
You helped me and some other students of my Semester to finish the first year of our Software Engineering studies successfully. Cant thank you enough, you are awesome! :)
@derekbanas
@derekbanas 6 жыл бұрын
Thank you very much :) I'm happy I could be of help
@mrr4912
@mrr4912 4 жыл бұрын
Sorry, but is third year topic
@arbymohamed6136
@arbymohamed6136 2 жыл бұрын
Is it possible to add a compiler to this note pad to make some sort of ide
@adharshrnair8284
@adharshrnair8284 6 жыл бұрын
Keep up the good work
@derekbanas
@derekbanas 6 жыл бұрын
I'll do my best :)
@zuneli1933
@zuneli1933 3 жыл бұрын
nice Qt tutorial
@russelwebb8853
@russelwebb8853 6 жыл бұрын
I love how on the day I was thinking about how I should learn Qt, you post a video. Good man. Can you use OpenGL or Vulkan with Qt? (Ubuntu 18.04)
@derekbanas
@derekbanas 6 жыл бұрын
That's cool. I'll make the next video ASAP. This info should help doc.qt.io/qt-5/qtgui-index.html
@armad5308
@armad5308 5 жыл бұрын
Hello, could you show how to work with Twain in qt
@sennyziomal
@sennyziomal 6 жыл бұрын
thanks man
@derekbanas
@derekbanas 6 жыл бұрын
I'm happy to be of help :)
@Adam-cn5ib
@Adam-cn5ib 6 жыл бұрын
What do you think of SFML? Is there a usecase for that? For games I personally think it's not very good as we have UE4 but is there anything else I could work using that?
@derekbanas
@derekbanas 6 жыл бұрын
I prefer other frameworks for game development
@chainonsmanquants1630
@chainonsmanquants1630 3 жыл бұрын
Thanks
@NazidreckInDieTonne
@NazidreckInDieTonne 5 жыл бұрын
One Question - should I first learn C++ before learning qt or is it possible to start with Qt (before have learned c++)?
@derekbanas
@derekbanas 5 жыл бұрын
Start with C++
@ShkouP
@ShkouP 5 жыл бұрын
Great Tuto Thx
@derekbanas
@derekbanas 5 жыл бұрын
Thank you :)
@luongnguyen895
@luongnguyen895 6 жыл бұрын
it's really helpful. hope u will make more video about qt C++ app
@luongnguyen895
@luongnguyen895 6 жыл бұрын
but the screen is litle bit small...can u scale it next time
@derekbanas
@derekbanas 6 жыл бұрын
More are coming. I'll try to make it bigger next time
@lgamer5133
@lgamer5133 4 жыл бұрын
I love the cutie framework
@bluehornet6752
@bluehornet6752 3 жыл бұрын
LOL... "cutie" In literally about 20 seconds of watching pretty much ANY video on the official Qt video, it would be apparent as to how to pronounce the name.
@lgamer5133
@lgamer5133 3 жыл бұрын
@@bluehornet6752 it just pronouns as cutie but you write Qt
@davidconnelly
@davidconnelly 3 жыл бұрын
That's really great and you'd have to admit, the end product is better than Vim.
@derekbanas
@derekbanas 3 жыл бұрын
That's funny :) I'm happy you enjoyed it
@anitafeng148
@anitafeng148 3 жыл бұрын
When I create a new project it looks a little different. After selecting Template and choosing a Location, It asks me to define Build System and there is a dropdown menu (qmake, cmake, and Qbs). Which one should I choose for this tutorial?
@zeniiop623
@zeniiop623 2 жыл бұрын
qmake
@joshikau
@joshikau 4 жыл бұрын
how can i get the app to run outside the qt creator? it said missing dll files so i copied them in but it still wont work
@kateryna1611
@kateryna1611 3 жыл бұрын
If anyone is having problems with including QPrinter and QPrintDialog, it worked for me when I typed #include #include I don't know if it works correctly, but the error messages disappeared :)
@xavierreigneau41
@xavierreigneau41 2 жыл бұрын
I didn't need to import any libraries by doing this (33:26): QPrinter printer; printer.setPrinterName("Printer Name"); QPrintDialog pDialog(&printer, this);
@muhammadwaqarsiddiqui6731
@muhammadwaqarsiddiqui6731 2 жыл бұрын
DO you have videos on gtk+ ??
@aimarm6906
@aimarm6906 6 жыл бұрын
thanx for it pls more C++ videos
@derekbanas
@derekbanas 6 жыл бұрын
Many more are coming :)
@PurushNahiMahaPurush
@PurushNahiMahaPurush 4 жыл бұрын
This looks so much better than wpf! Whenever I am using wpf, it takes an insane amount of time to do seemingly simple things that WinForms did with a couple of clicks. The learning curve for wpf is just insane. Its powerful if you know what you are doing, but for beginners and amateurs, it just sucks
@derekbanas
@derekbanas 4 жыл бұрын
I'm happy I could help :)
@raviliyanaarachchi2872
@raviliyanaarachchi2872 5 жыл бұрын
Nice & thanks
@derekbanas
@derekbanas 5 жыл бұрын
Happy to help :)
@Ageekything
@Ageekything 5 жыл бұрын
Awesome ... thanx
@derekbanas
@derekbanas 5 жыл бұрын
Thank you :)
@xiaonaihe8929
@xiaonaihe8929 Жыл бұрын
Got best tut on gui..though 2022 new features a little time extra will take to understand
@muhammedyasinhanyasar539
@muhammedyasinhanyasar539 3 жыл бұрын
Dude how can you zoom in when you are on the windows 10 without Magnifier tool?
@gonza424
@gonza424 5 жыл бұрын
When it makes me select a kit, i dont have any, what should i do?
@exodus8814
@exodus8814 6 жыл бұрын
Hey Derek :) I have a question, do you think it's a worth it to watch handmade hero (all the 458 videos, those are uploaded daily and marked by Day and the number of the day) ? (he has a KZbin channel)
@derekbanas
@derekbanas 6 жыл бұрын
If it motivates you better then anything else then sure. That is a major time investment WOW!!! I can't believe anyone has taken on a project that big! It all depends on you. I for example spend hours on Japanese every day knowing that it will probably be a year before I can read at the level I want to get to and it will take years for me to be anywhere near fluent.
@exodus8814
@exodus8814 6 жыл бұрын
Derek Banas I know right!! That is a huge risk. I actually wish that you could do something similar but I can definitely say that very very few would watch it(I would:) ). It's really cool to see how a game engine is developed and how assembly and other low level stuff works.
@juremamic3021
@juremamic3021 2 жыл бұрын
Is it same for Qt 6?
Qt Tutorial 2 : C++ Calculator
38:23
Derek Banas
Рет қаралды 166 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 107 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 3,5 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 43 МЛН
Каха ограбил банк
01:00
К-Media
Рет қаралды 11 МЛН
Cross Platform Graphical User Interfaces in C++
44:49
javidx9
Рет қаралды 860 М.
BEST WAY to make Desktop Applications in C++
26:00
The Cherno
Рет қаралды 889 М.
Let's Recreate the Tesla UI in Qt and QML PART 1!
51:16
MontyTheSoftwareEngineer
Рет қаралды 63 М.
BEST GUI TOOLKITS for C++ | Sciber
16:04
Sciber
Рет қаралды 101 М.
Писать UI для Android на QT
1:43:29
Android Broadcast. Все об Андроид разработке
Рет қаралды 17 М.
C++ Tutorial : C++ Full Course
2:22:52
Derek Banas
Рет қаралды 321 М.
Networking in C++
32:50
The Cherno
Рет қаралды 233 М.
Clean Code - Uncle Bob / Lesson 1
1:48:42
UnityCoin
Рет қаралды 1,9 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 3,5 МЛН