In my project i have 2 ui files (mainwindow.ui,myform.ui),2 source files(main.cpp,mainwindow.cpp) and 1 header file(mainwindow.h).mainwindow and myform are simple windows.mainwindow having a button. i need to show the myform window when clicking the button in mywindow.HOW?
In my project i have 2 ui files (mainwindow.ui,myform.ui),2 source files(main.cpp,mainwindow.cpp) and 1 header
Share
you cannot load UI forms in QT.you can make a widget class an load that class instead of loading ui files