Creating subproject using menu in Qt
-
Hello . I am learning qt for the first time. What I want to do is create subproject. But I don't know how to do this in qt. How can I track a step? So I don't want to build from codes. I just want to create from qt's menus. Is it possible?
-
-
Thank you very much for your sharing. I previously created a database linked project with a login screen. How can I link this to another project, as a subproject? Actually, I want to do this: When I enter the general project, I want the login page to appear first. Then redirect me to the other subproject after successful login. I hope I could explain. thanks...
-
@yy_pc_programmer
Hi
Im not sure you want a sub project as such as that will create the DB app as its own exe.So to embed it into other app, often you would simply add the needed files (*. and *.cpp)
and then simply create an instance of you DB login form.Depending on the effect you want.
You can either popup the login dialog from MainWindow
or from main. -
-
@yy_pc_programmer
Hi
You mean how to undo having the login as sub project ? -
Yeah. i meant it
-
Hi
the docs says
"To remove subprojects, right-click the project name in the Projects view, and select Remove Subproject in the context menu."So is there such menu if you right click the LoginPage.pro ?
-
Yeah. That option is in the menu. But not selected
-
well. It doesn't allow me to choose. And I can't choose.
-
ok. im not sure why.
You can manually remove the files then. and fixup the Project.pro to clean any mention of
LoginPage -
thanks. problem solved
1/12