In case anyone is following the tutorial with Qt6: QRegExp is depreciated. To spare you a look in the documentation, the interior of the "CangeNumberSign()" function can be re-written as follows: #include // [...] void Calculator::ChangeNumberSign() { QString displayVal = ui->Display->text(); QRegularExpression reg("[-]?[0-9.]*"); QRegularExpressionMatch match = reg.match(displayVal); if(match.hasMatch()) { double dblDisplayVal = displayVal.toDouble(); double dblDisplayValSign = -1 * dblDisplayVal; ui->Display->setText(QString::number(dblDisplayValSign)); } }
@sebastianschimper55563 жыл бұрын
@KiwiX No worries, glad I could be of help :)
@zloy_vorobushek58893 жыл бұрын
Thank you very much, bro!
@ikramjmouhi4036 Жыл бұрын
Thank youuuuu!!
@yuikozhang5650 Жыл бұрын
Many many Thank YOU!!!
@gateausalaire1872 Жыл бұрын
Thank you so much for the help
@zdspider67789 ай бұрын
Thank you! This was incredibly educational. 21:54 That 'if' condition doesn't make any sense. Because ".toDouble()" gives you a 'double'. Don't compare it to an 'int'. Both conditions are identical. 27:09 "Qt::CaseInsensitive" seems unnecessary since there's no uppercase or lowercase there. Those are symbols. 31:11 Don't just blindly divide... Check if you're dividing by zero first! I'm surprised it doesn't crash. Qt must be catching exceptions under the hood.
@samweiss32485 жыл бұрын
Hi Derek. Thanks for the helpful tutorial. For whomever it may help, I found a couple of bugs. First, numbers are tacked onto the end of the current display when number buttons are pressed. This is a problem once the display switches over to scientific notation. The numbers get appended to the exponent instead of the main number. This can easily be fixed by getting rid of newVal in the NumPressed method and replacing dblNewVal with "double dblNewVal = displayVal.toDouble() * 10 + butVal.toDouble();". So basically, you multiply the current display by 10 and add it to the currently entered digit. The second bug is that your regex excludes scientific notation numbers from being negated. Perhaps I am missing something, but it looks like there is no need for a regex at all. All of the input is limited to what you can press on the calculator, so regex seems like overkill. Maybe just get rid of the regex in ChangeNumberSign and replace the condition of the if statement with "QString::compare(displayVal, "") != 0". This way, if the +/- sign is pressed in between operations (when the screen is blank), nothing will happen to the sign. Also the setText call in the same method should use the 'g' flag again to switch to scientific notation after 16 digits.
@lekjov61706 жыл бұрын
Thanks for everything you do and the time you spend on helping us. As someone whose main language is not English I can say that your voice is so unique that it can be understood perfectly without subtitles. Keep it up and wish you the best!
@derekbanas6 жыл бұрын
Thank you very much :) That is great to know that so many people find these helpful
@akira12286 жыл бұрын
At last, QT Tutorial, that's what I've waited for ages. Thank You :)
@derekbanas6 жыл бұрын
I hope you find it useful :)
@KwabenaAmoah-ce3qj6 ай бұрын
Hi can you teach me how he added button 7,0 1,3,4..
@kenfuciusfpv28006 жыл бұрын
Derek, I can sit down and do these things, but my biggest blocker is I never have the environment setup right. Can you go over some "how to setup your environment in one video" lessons, and maybe do it for several environments (pycharm, several C++ free environments, setting up one with maybe other editors like that popular one, sublime text, maybe one for Mac vs Windows users. These environment setups really stop me from doing a lot.) Thanks!
@huzaifaimran94684 жыл бұрын
I too had this problem man Here's the link to a demo video kzbin.info/www/bejne/n5Cyf4WngLGZh9U
@adriengrzesiak5983 жыл бұрын
Really nice packaged tutorial. I'm being enjoying a lot of your other tutorials in C++. Thank you Derek.
@davidthompson38765 жыл бұрын
The speed is just right. Thanks for a really great tutorial.
@derekbanas5 жыл бұрын
Thank you very much :)
@rodrigodasilva84046 жыл бұрын
Some times I think. How can he knows all this things? Would you make a video teaching how to learn better?
@derekbanas6 жыл бұрын
I'm working on it. It is a matter of having the right tools and breaking learning up into bite sized pieces through out the day
@amirhassan65494 жыл бұрын
@@derekbanas Qt has a lot of things in his documentation.
@YoungMesrine3 жыл бұрын
@@amirhassan6549 too much things for real, they should show us the technics they use.
@ikramjmouhi4036 Жыл бұрын
in case someone needs the other functions here's how I did it : void Calculator::Memoire() { QString displayVal = ui->Display->text(); MemoireVal = displayVal.toDouble(); ui->Display->setText(""); } void Calculator::MemoireCall() { ui->Display->setText(QString::number(MemoireVal)); } void Calculator::MemoireClear() { MemoireVal = 0.0; } void Calculator::Clear() { ui->Display->setText(""); }
@chrisschick60546 жыл бұрын
(5 calculations into testing the app...) "THIS CALCULATOR HAS NO DECIMAL!!!" Super fun tutorial, can't wait to Qt it up some more.
@derekbanas6 жыл бұрын
That's funny :) Either way I'm happy you liked it
@vivek38616 жыл бұрын
Best channel on KZbin and great teacher.......
@derekbanas6 жыл бұрын
Thank you for the nice compliment :)
@skd18606 жыл бұрын
Make tutorials on ai.
@derekbanas6 жыл бұрын
I'm working on it
@developerninja6194 жыл бұрын
@@derekbanas can you please tell me is Qt good for mobile (I mean both Android and iOS) development?
@pijusmankus68384 жыл бұрын
I might be add some ClearButton function like: void colculator::on_Clear_clicked() { ui->Display->setText("0.0"); }
@Vitonolable Жыл бұрын
my version is: void Calculator::on_btn_Clear_released() { double calcVal = 0.0; ui->Display->setText(""); }
@cluelesssimmer58564 жыл бұрын
i've just started to learn C++ and QT. immensly helpful video. thank you
@brock2k15 жыл бұрын
Spent hours trying to find out how to do some stuff before I found the answer here. Great video, thank you.
@derekbanas5 жыл бұрын
Thank you :) I'm happy I could help
@dildgemckenzie85976 жыл бұрын
This great Derek. Real use applications and learning.
@derekbanas6 жыл бұрын
Thank you :) Many more are coming
@zdspider67789 ай бұрын
19:07 That's the OLD way of connecting, using the "SIGNAL" and "SLOT" macros. Newer way uses the name of the class function. *And don't use "released".* Use "clicked" instead. Meaning: _&QPushButton::clicked_ Because with "released", you can click and, while holding down, drag away from the button, and it will register as clicked. 😐 You WANT the option to "cancel" a click by dragging away from it.
@zdspider67789 ай бұрын
Such a deceptively simple concept, _a calculator._ But you learn SO MUCH by adding functionality to it. Like period support, backspace support, keyboard input support (hint: the "*" and "/" keys are called "Qt::Key::Key_Asterisk" and "Qt::Key::Key_Slash", not "Qt::Key::Key_division" and "Qt::Key::Key_multiply").
@russellmcnamara61076 жыл бұрын
Derek I have been in jail for about a year and just got out I thought of you and your videos every single day I was in jail you are an inspiration to me everything about your videos is amazing
@derekbanas6 жыл бұрын
Thank you very much :) I wish you all the best for your future
@harikrishnanb.a.6284 жыл бұрын
Sir, your videos give learners a perfect headstart. Expecting more videos...
@derekbanas4 жыл бұрын
Thank you very much :)
@danielmoisemontezima90984 жыл бұрын
I don't fully understand the course yet. But I like the delivery. Thumbs up teacher!
@derekbanas4 жыл бұрын
Thank you very much :)
@qianbang_6 жыл бұрын
wow another Qt tutorial. I really need to learn C++ to enjoy these
@derekbanas6 жыл бұрын
A bunch more are coming. Qt is great
@jessicalaursen17906 жыл бұрын
Amazing! You make it look so simple and fun to do! Great video! I'll start and check this out for myself. Thanks Derek...continue making great videos!
@derekbanas6 жыл бұрын
Thank you for the nice compliment :) Many more are coming
@KwabenaAmoah-ce3qj6 ай бұрын
@@derekbanas Hi can you teach me how he added button 7,0 1,3,4..
@arminized32106 жыл бұрын
thanks for this good tutorial.
@derekbanas6 жыл бұрын
Thank you for watching it :)
@Astran0th4 жыл бұрын
Really, really good Tutorial! Thank you a lot for that, helped me greatly.
@derekbanas4 жыл бұрын
I'm happy I could help :)
@DrCrowie5 жыл бұрын
Great tut as usual! Just one comment it might have been good to put your Math function triggers into a Container object like QList or QMap, it would have demonstrated some of the useful general purpose data types that come with Qt. It also would have meant a few less lines of code ;)
@azizulkarim56196 жыл бұрын
Thanks a lot for other good qt tutorial. Expecting more tutorials on qt.
@derekbanas6 жыл бұрын
I'm happy you liked them :)
@larrybishop51396 жыл бұрын
Derek thankyou for the amazing tutorial. Would you consider doing a C++ tutorial for Unreal Engine 4?
@derekbanas6 жыл бұрын
I'll do anything if I get enough requests.
@visitor_t-w3p8 ай бұрын
fantastic loved it
@Ntecnek2 жыл бұрын
Man, I had a problem here 16:20 It says "no member named Display in Ui::Calculator" Some body may help me? I'm a kinda freaking here kkk
@philipdressler76576 жыл бұрын
Can not seem to figure out why it wont run. here is the compile output with the error. \CalculatorTutorial.pro" -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" ASSERT: "fileName.isEmpty() || isAbsolutePath(fileName)" in file C:/Users/qt/work/qt/qtbase/qmake/library/ioutils.cpp, line 53 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. 18:40:14: The process "C:\Qt\5.11.1\mingw53_32\bin\qmake.exe" exited with code 3. Error while building/deploying project CalculatorTutorial (kit: Desktop Qt 5.11.1 MinGW 32bit) When executing step "qmake" 18:40:14: Elapsed time: 00:07.
@chinmaydas40536 жыл бұрын
Thank you sir,we want lot of videos on different applications made by c++,qt.. it's possible by great like you sir...
@derekbanas6 жыл бұрын
Thank you :) I'm happy I could help
@gloatsticks5 жыл бұрын
I get to 19:15 and I'm wondering where did you get the function release() from? I'm having a rough time setting up my onclick listener with slots.
@gloatsticks5 жыл бұрын
also up to this point, where do you specify the function of numPressed()? I apologize, I have a function written as a class in c++ and I can NOT for the life of my get it to activate when I press on a button.
@safhardy89786 жыл бұрын
From Bangladesh, thanks Derek for another wonderful video, you are amazing!
@derekbanas6 жыл бұрын
You're very kind thank you :)
@josbexerr51666 жыл бұрын
Excelente Mister Dereck..... , a ver si nos deja un ejemplo de Qt usando Golang que es mi lenguaje favorito
@2271masoud6 жыл бұрын
I enjoyed watching this video Thanks Derek
@derekbanas6 жыл бұрын
Thank you :)
@RobertWildling4 жыл бұрын
Nice! Thank you very much! - But shouldn't a calculator have at least a comma button?
@80102253256 жыл бұрын
please don't stop here. Make more videos on Qt :)
@derekbanas6 жыл бұрын
I'm planning at least 2 more
@kyleb82116 жыл бұрын
Please help! In the calculator.cpp at 15:14, my Qt says: allocation of incomplete type 'Ui::Calc'. How do I fix this?
@derekbanas6 жыл бұрын
I have the code here for free www.newthinktank.com/2018/06/qt-tutorial-2-c-calculator/
@achabra75413 жыл бұрын
I had this same problem, for me it was because while creating the project in the beginning I didn't rename Class Name from "MainWindow" to "Calculator". I then tried renaming it after the project was created and got that error.
@ahmadel-bobou2766 жыл бұрын
Hey, Derek! Thanks for creating these videos. Do you mind me asking how you learned Qt?
@derekbanas6 жыл бұрын
I'm happy you liked it :) Mainly from the website
@hjw93473 жыл бұрын
Really good Tutorial, thanks for posting
@derekbanas3 жыл бұрын
Thank you :) I'm happy I could help
@nestorcolt6 жыл бұрын
Hey mate, a question: in Calculator::NumPressed() method, minute 22 -> why do you create a new QPushButton *button to get the sender ? is this not possible just by setting up a parameter in this method by default and sending the widget in the SLOT(NumPressed(widget)) ? . I come from PyQt this is why I'm asking this kind of question. thanks in advance
@kenlaw33766 жыл бұрын
Thanks for the tutorial! Is there a reason you used if else instead of a switch statement?
@derekbanas6 жыл бұрын
I'm happy it helped :) Personal preference was the reason
@sabaudzilauri73074 жыл бұрын
Very talented teacher! thanks.
@derekbanas4 жыл бұрын
Thank you very much :)
@mitchelldonnelly19716 жыл бұрын
Am I the only one horrified by the use of global variables?
@zenomat5 жыл бұрын
Am I the only one horrified by the constant use of the word "aaaaanddd ... " ?
@ephestos21445 жыл бұрын
its not a problem for such small projects if one codes like he does in this video. Even less of a problem when using long meaningful names. For much bigger projects are definitely a minefield. I would not recommend their usage either, because a beginner is very likely to use short generic names where name clashing even in small code becomes a big issue and a big pain.
@jvapr27 Жыл бұрын
Yeah. If he was teaching proper coding styles, I would agree with you. I feel like he isn't though. More like how to use qt.
@KwabenaAmoah-ce3qj6 ай бұрын
Hi can you teach me how he added button 7,0 1,3,4..
@FritsvanDoorn6 жыл бұрын
Hi Derek, some years ago you made a series about refactoring. I think that this example will be a valuable cadidate for another splendid refactoring video. By the way, I found this video more interesting than the World Championship in Russia. :)
@derekbanas6 жыл бұрын
Thank you :) Yes I plan on making a bigger algorithms and refactoring tutorial series for C++. When I made one for Java I cut them a bit short because at the time nobody was watching them. I would have loved to watch the World Cup because I'm a soccer coach, but I've been obsessed with learning Japanese for the last 2 months.
@jessj98775 жыл бұрын
Derek, how could we implement the buttons to activate with the keyboard as an optional input method?
@vishalghuman6 жыл бұрын
Derek please on html5 With meta and division tags more covering
@derekbanas6 жыл бұрын
Here is an HTML5 tutorial kzbin.info/www/bejne/oXXce4FtprZ4iqM and CSS3 kzbin.info/www/bejne/eYbbeZKojLh8Z80
@conradpretorius_remaxjac2 жыл бұрын
Hi Derek, should each widget have its own header file or each widget rather defined as a class in the .cpp?
@kaushikyelne32564 жыл бұрын
watching(#learning) the tutorial during #coronatime #covid19 #quarantine don't know when we'll be out of this... thanks for the tutorial !! :) -from India
@derekbanas4 жыл бұрын
I hope you and your family stay well :)
@Hejizo4 жыл бұрын
Hello< when i compile the program i got : Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use: QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors. QT_SCREEN_SCALE_FACTORS to set per-screen DPI. QT_SCALE_FACTOR to set the application global scale factor. i've used qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", QByteArray("1")); in the main but still the same
@reemashrestha97184 жыл бұрын
why are we redefining the global variables? why is it wrong if we don't do that? could you explain it a bit further?
@MyOnlineSupportchannel4 жыл бұрын
QT or RAD studio ?
@revtube92942 жыл бұрын
I don't know why but my program doesn't accept QRegExp but accepts QRegularExpression and again says Syntax Error. I added #Include and then nextline with reg.exactMatch, it says exactMatch is no member in QRegularExpression.. Can you please help me???
@meerawounders2924 жыл бұрын
Actually I have a doubts the output should show like this (1+1+2*3/) how we get both numbers and operators in a display
@macinm976 жыл бұрын
Could you create tutorial where you explain how to connect qml and c++? Maybe any bigger project? I think that it's good idea. Please consider my mind.
@derekbanas6 жыл бұрын
Yes I plan on covering it
@macinm976 жыл бұрын
When i can expect it? ;)
@derekbanas6 жыл бұрын
Sorry I don't have a definite time frame. ASAP
@bubel405 жыл бұрын
you are the best, thanks for this tutorial
@derekbanas5 жыл бұрын
Thank you very much :)
@firefox-zzz4 жыл бұрын
Some people *don't have the form file calculator.ui nor calculator.cpp nor calculator.h* It's because that class has a different name (I think it's because of Qt edition they changed the way to name classes) To solve this (for me it was mainwindow) just write *MainWindow::* instead of *Calculator::* I hope it's clear why this is the solution
@GobblowGalaxyGamer6 жыл бұрын
Hey Derek! I'm going to be applying to some internships this year and I've heard that personal/side projects are a good way of increasing your chances of getting a job. What are some simple, easy, yet great personal coding projects to build that will look good on my resume? :)
@derekbanas6 жыл бұрын
Yes most definitely. It needs to be a project you are passionate about. I got hired at Apple mainly because I made a VR system with a custom head mounted display and a hacked Nintendo power glove. It doesn't matter what the project is, but it should be big and something you love merged with programming or electronics.
@GobblowGalaxyGamer6 жыл бұрын
Wait you work at Apple? How come you never made a video called "What it's like working at Apple", or "How to get an interview at Apple?". I think a lot of people would love to see that.
@duyduy5595 Жыл бұрын
Can you make incremental search function?
@daanielacosta23956 жыл бұрын
Thank you derek bananas :D
@derekbanas6 жыл бұрын
I'm happy to help :)
@Steven-um9st3 жыл бұрын
But In qt 6 It will be go like that QString display=ui->label->text(); QRegularExpression reg("[-]?[0-9.]*"); QRegularExpressionMatch match=reg.match(display); if(match.hasMatch()){ double dblDisplay=display.toDouble(); double dblDisplayValSign=-1*dblDisplay; ui->label->setText(QString::number(dblDisplayValSign)); }
@sanjaybhat42603 жыл бұрын
Hey thats incomplete tutorial, how will u render the app and give it logo and all. do u need to open IDE everytime and run it
@gsniteesh37946 жыл бұрын
what does namespace ui{ class calculator; } mean ? Is it equal to declaring calculator class inside the namespace
@derekbanas6 жыл бұрын
We use namespaces to avoid conflicts if other code uses a function of the same name.
@80102253256 жыл бұрын
Derek i read somewhere in one of your videos. You use xamarin for mobile app dev , how is it compared to Qt ?. Qt also allows mobile dev and which framework or tech stack you use for web dev ?
@derekbanas6 жыл бұрын
Yes I use Xamarin and I much prefer it over Qt for mobile development
@80102253256 жыл бұрын
Oh okay. I have only used Qt so far for mobile app dev, never tried Xamarin till now maybe i will give it a shot
@amirhassan65494 жыл бұрын
Please upload more and more projects Project building is a great way of learning. Most important thing is how will you deploy this as a software having DLL and exe files where we can easily start our software if you dont mind make a video on deployment of software.
@saugatpaudel87776 жыл бұрын
How do you know so much man? I am amazed. Is there some way you learn or are you just that talented?
@derekbanas6 жыл бұрын
I'm not that smart. I'm sure of that. I'm going to upload a video soon on how I study, but I think I basically do the same as everyone else. Flash cards, studying all day in short bursts when I'm not busy, exercise when I get stressed out by learning, etc.
@derekbanas6 жыл бұрын
Here is a short day in my life. 1. Wake up and study while I drink a smoothie and coffee (Flash cards or book) (1 hr) 2. Shower and then work on regular job stuff (2 hrs) 3. Run 30 minutes 4. Work 1.5 hrs 5. Lunch while studying (Flash cards or book) 30 minutes 6. Work 2 hrs 7. Run 45 minutes 8. Study while drinking water (Flash cards or book) 30 minutes 9. Make dinner while studying 1 hr 10. After dinner I study or work during time remaining for the day I hope that helps
@saugatpaudel87776 жыл бұрын
Derek Banas I am quite sure I'll learn from that video as well..please upload as soon as possible.
@sealbatross3 жыл бұрын
thank you!
@parthmaurya38684 жыл бұрын
Hi at the run time this demo on Linux machine I am getting this warning: QObject::connect: Cannot connect (nullptr)::clicked() to Calculator::NumPressed() and during the pressing button nothing is happening ...
@fafamnzm6 жыл бұрын
Do you have any tutorials on how to setup a website? Like from scratch to the top. One that is practical. Whether with WordPress or without it.
@derekbanas6 жыл бұрын
Do you mean the design? I have tutorials on all of the above. I make a whole site design here kzbin.info/www/bejne/b5erhJWfeK6GhaM Wordpress design here kzbin.info/www/bejne/fZnRo6udoJKdecU I have other tutorials on my channel for PHP, MySQL, JavaScript, JQuery, etc....
@fafamnzm6 жыл бұрын
Derek Banas yeah, I saw them last night. Do you mean the one with designing a webpage and inkspace. I didn't get it how that designed the webpage, as it turned into a simple image. I mean like what is a host and setup a website from getting the domain and a host and how to connect a android app to the website. You teach very well and thank you.
@derekbanas6 жыл бұрын
If you get an account at a place like Go Daddy, or any other they'll have a thing called the control panel in which you upload your code. If you want to use Wordpress you'll click on a link on the site and it will install Wordpress. Do a search for the hosting company and Wordpress and they'll show you everything step by step. I hope that helps
@fafamnzm6 жыл бұрын
Derek Banas ok, tnx. I also thought it would be a good topic to cover as the demand for it is at a high level and many people would enjoy it too. 😊🤗 or as a summary to all the topics related covered. Like build from scratch and update it using php or asp.net. thanks for your great channel ❤
@yolamontalvan95026 жыл бұрын
Can you make a video on How to Learn a Programming Language like you? or How to be like you?
@derekbanas6 жыл бұрын
I mainly break things down into roman numeral lists and then memorize and maintain knowledge with a free program called Anki. Look for my Anki tutorial on youtube
@enescerrahoglu3 жыл бұрын
'QRegExp' was not declared in this scope. I get this error
@guillermo44723 жыл бұрын
What's that font? Looks cool
@gopinathkrm586 жыл бұрын
Very nice tutorial.
@derekbanas6 жыл бұрын
Thank you :)
@dharshikas458 Жыл бұрын
i need hmi program qt creator for converting (km/hr to m/s ) using labels(eg:pushbutton,label,lineedit)
@navoiy174 жыл бұрын
Cool! Elin dert gormesin, gardash! Ko'p yashang!
@pranavlabdhe46575 жыл бұрын
please help me i am getting this error warning: no previous extern declaration for non-static variable.
@muhammetalperdem99015 жыл бұрын
Same here
@vivek38616 жыл бұрын
Sir can you teach it with gtk library too which is also a cross platform gui library and it is free. Because some major applications like VLC media player is also built on it according to my knowledge. Please........................
@derekbanas6 жыл бұрын
I'll see what I can do
@JustinZaf5 жыл бұрын
thanks for replying me back there and man you're like an idol too me,i just want to gain knowledge as much as you have i hope i can meet you someday can you please tell me how to get started into os development like a step by step approach ?
@lulsec6 жыл бұрын
Just one question sir how do you learned so many programming languages 😫😌😅
@draoi996 жыл бұрын
Very good tutorial thank you.
@derekbanas6 жыл бұрын
Thank you :)
@coz_DS5 жыл бұрын
Hello, I realize this was done about a year ago, however I just found it today. I think, for my taste, you forgot the decimal point. I would really like to learn to make a nice "big" calculator for my laptop touch screen. I use Fedora 30 Mate, QT Creator 4.9.1, and know very little to nothing about programming. Your video had me with great hopes until I didn't see the decimal point, unless I missed something. If I did, I apologize. However, I have not found any video or online stuff for building a calculator that fits what I need. But still, Many many thanks for as far as this video took me. If you have any suggestions, I would more than appreciate it.
@derekbanas5 жыл бұрын
Sorry about the decimal. I made a JavaScript calculator with a decimal here and it would be easy to use that code as a guide to add that functionality kzbin.info/www/bejne/aGO0cqCMmNl0g8U
@adharshrnair82846 жыл бұрын
Please try to do a tutorial for creating DLL files in C++ And keep up the good work
@derekbanas6 жыл бұрын
I'll see what I can do :)
@danielwilkowski58993 жыл бұрын
The guy says that the style sheets are "very close to CSS", that's not entirely true since that's exactly CSS.
@phoenix24646 жыл бұрын
Are you going to do some c++ networking ?
@derekbanas6 жыл бұрын
Yes at some point
@filipbehindmountain74275 жыл бұрын
When i type "double calcVal = 0.0;" there appears an error: "no previous extern delcaration for non-static variable 'calcVal' ". I'm doing everything EXACTLY the same like on video. Can't really find any solution in the internet. Can someone help me?
@derekbanas5 жыл бұрын
Put static in front of it and it will go away
@BlueBetaPro6 жыл бұрын
What are the odds. I just googled for a C++ GUI calculator tutorial yesterday and didn't really find much.
@derekbanas6 жыл бұрын
I'm happy I could clear that up :) Qt makes it very easy to make one
@adamw43235 жыл бұрын
member acces into incomplete type 'class Ui::Calculator' I can't figure out what's wrong and why I am getting this error, anybody knows?
@firefox-zzz4 жыл бұрын
Your main ui file is not called Calculator.ui so you have instead mainwindows instead. Thus, you should use MainWindow:: everywhere he wrote Calculator:: I guess it's because we have different editions so the classes' names were different from the tutorial gonna copy this comment outside also
@daristotell6 жыл бұрын
Adobe animate tutorial? Also thank you for all your tutorials. Your hard work is appreciated.
@derekbanas6 жыл бұрын
Thank you for watching :) Sorry I don't own AA
@daristotell6 жыл бұрын
No problem Can you do any adobe cc tutorial or is it out of question?
@derekbanas6 жыл бұрын
Sorry I only have my outdated Adobe tutorials at the moment
@daristotell6 жыл бұрын
Derek Banas Don't worry sir. You don't have to do everything.
@frenchmike4 жыл бұрын
when I created the project, and got into Kit Selection, nothing was highlighted and I am not sure what to add, any help?
@angucbac26554 жыл бұрын
you should install the Qt again, i think the offline install is better.
@hamidurrahman31836 жыл бұрын
Can you please do a tutorial in JavaFx and JDBC? Thanks
@derekbanas6 жыл бұрын
I'll see what I can do
@bachandhakal58634 жыл бұрын
my PC 2 GB ram 1.8ghz cpu 64 bit processor No graphic card Can qt run in my pc No then what are light framework or editor for app development.
@dumisilendlovu37775 жыл бұрын
dd u install all the tools for this qt
@thetruthwillsetyoufree9326 жыл бұрын
Couldnt see the calcutor while you were making it, except for when adding numbers your zoom was fine.....
@derekbanas6 жыл бұрын
Sorry about that
@nitinchauhan_186 жыл бұрын
sir, please tell which text editor use in this series .
@derekbanas6 жыл бұрын
I'm using Qt Creator. I show how to set it up in the first video
@nitinchauhan_186 жыл бұрын
Thank you sir
@russelwebb88536 жыл бұрын
Thanks dude
@derekbanas6 жыл бұрын
I'm happy to be of help :)
@LightningFoxGame5 жыл бұрын
You forgot to clear the display value at the beginning of next calculation when previous calculation is done.
@derekbanas5 жыл бұрын
Sorry about that
@Hidalgo_714 жыл бұрын
I have an error QObject::connect: Cannot connect (nullptr)::released() to MainWindow::numPressed()
@shoukatmulla96203 жыл бұрын
Where we declared signal add
@hakzhub4 жыл бұрын
Hey man I know am 2 years late and all but I am having a assembler message error can you please help