if you encounter a problem saying "File not found: mainwindow.obj" after adding the second window, the try the solution as follows Right click on project > Clean Right click on project > Run qmake Right click on project > Build Run - worked first time Actually, in the previous lecture I have already met with this problem when adding the second window, the solution of which seems to be tricky, but anyway hope it works well for you.
@jonas89he6 жыл бұрын
Thx Bro!
@backend-Engineer5555 жыл бұрын
Thank you. This really helpful
@piggybank3805 жыл бұрын
Thanks a lot!
@zoe46225 жыл бұрын
Thanks this helped me!
@milkshakesnail80084 жыл бұрын
I know people have already said this, but thanks a lot!
@francescaromelli48847 жыл бұрын
Hello! Congratulations to the course. It's really clear. I would like to include a custom message in the second window of the type "Hi user Mario" or "Hi user Ann". Can you help me please?
@user-ql7pw7ld1n4 ай бұрын
Fantastic..love this a lot..very helpful and to the point
@Justajawnie3 жыл бұрын
great course, got me up to speed very quickly.
@malbarenque5 жыл бұрын
property "echoMode=noEcho" in lineEdit_password for not see password typing ;). Thanks!
@muzaibranjha62598 жыл бұрын
how to make log out button
@itachiuchiwa7774 жыл бұрын
good. please add some videos about theming and look and feel controls.
@bhupendersingh55573 жыл бұрын
It says no member named "lineEdit" in UI::MainWindow. Please help
@martindvorecky61893 жыл бұрын
You must build *.ui after add any widget and before write method. Always.
@nikolakostadinov98303 жыл бұрын
@@martindvorecky6189 I knew the comment section will help, Thanks!!
@user-ww2lc1yo9c9 ай бұрын
Does hide() mean that the window process is running in the background?
@valizeth40736 жыл бұрын
If u want to open a second window just add QWidget* window = nullptr; // In the mainwindow.h tab and write window = new QWidget; window->setWindowTitle("your window's title"); window->resize(your size in int); window->show(); //in the login function and write delete window; // in the class's destructor
@user-ww2lc1yo9c9 ай бұрын
Why do we keep using the -> operator so much instead of using . operator? The . operator is used for things that mean member of, but we are just using the -> operator everywhere!
@xanthos7337 жыл бұрын
Worked fine thanks for the tutorial
@coding_vlsi_vietnam5 жыл бұрын
THANKS FOR SHARING !!!!
@jonequest42627 жыл бұрын
Hey, nice tutorials! Very easy to follow. I'm using QT on Ubuntu. I noticed, for example, that for the Group Box it does not show the borders like it shows on Windows. Do you know if this behavior is due to the operating system?
@hugodebus77957 ай бұрын
le sang de la veine
@NithyaselvanR8 жыл бұрын
hi i am new to Qt, can you give an heads up on how to do this the other way around ? populate the value from a variable to the text box? TIA
@jonequest42627 жыл бұрын
You mean something like this? QString uname = "johns"; ui->uname->setText(uname);
@francescaromelli48847 жыл бұрын
I have got same problem. How do you resolve it?
@user-ww2lc1yo9c9 ай бұрын
Is it possible to access Win32 functions from Qt application?
@priyanshunegi64042 жыл бұрын
my cursor is not moving automatically to line edit . what should i do . Please suggest me
@zhonghanliu64333 жыл бұрын
May I ask why it is SecDialog *secDialog not Ui::SecDialog *secDialog?
@tomaszbieniek37746 жыл бұрын
You should deallocate memory which you allocate by using a "new" operator otherwise it leads to memory leak.
@shashankmg5 жыл бұрын
I am getting 2 error as follows In file included from ../Login/main.cpp:1:0: Declaration of 'SecDialog* MainWindow::SecDialog'[-fpermissive] And one more of similar error.
@aryanmn15695 жыл бұрын
Its best vid tut
@ibtihelhacheni83656 жыл бұрын
how to make the username length ? is it username.size() like c++ ? pleaaase i want a response
@zakariachahboun7 жыл бұрын
thank you very much ♥ ..... plz get a POP filter to your mic XD
@davidlewisjr.89324 жыл бұрын
How could we pass a variable, say a Qstring, to that new window? For example: login the first window, then on the second window display "{username} is logged in" ?
@oblivionronin3 жыл бұрын
If that second window is a class. Option 1 : make it a constructor argument (coudl be optional argument) that you pass it to when constructing. Option 2 : simply call a setText() function on that second window before calling show(). Option 3 : create a username member variable in that class and set it before doing show()
@amitjaiswalelect7 жыл бұрын
Excellent tutorial series.. I am getting an error "expected type-specifier before 'SecDialog'" for line "SecDialog = new SecDialog(this);".. What is going wrong?
@valizeth40736 жыл бұрын
Dont add a window that way, do it like this instead: QWidget* window = nullptr; // In the mainwindow.h tab and write window = new QWidget; window->setWindowTitle("your window's title"); window->resize(your size in int); window->show(); //in the login function and write delete window; // in the class's destructor
@oussamasethoum27554 жыл бұрын
how ca i just change the UI of the main window ?
@LetTheWritersWrite7 жыл бұрын
Wow, love the tutorials but the first 7 minutes did not need to be that long.
@just_exist_ezz Жыл бұрын
still after this much year this is still relevent.Any one knows how can I make password hidden?
@hamzaabbasi64186 жыл бұрын
and what if i want password to be in form of bullets
@KDnature4 жыл бұрын
How to close sub window If close (); like this both window closed What comments we use
@andreeaionita61027 жыл бұрын
how can the password be hided? :D
@just_exist_ezz Жыл бұрын
did you find this tutorial?anywhere
@ammarberkovic44604 жыл бұрын
for some reason. I can't access objects from .ui file. Any solutions?