Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Merging two Qt projects.
Rututraj last edited by
I have created QWidgets application with mainwindow and one second window where it shows some info in QTableWidgets.
Is it possible to merge this application to another project and if possible, how can I do it?
What do you mean by merge ?
Do you want to create a new project in place of these two ?
Rututraj last edited by Rututraj
existing project is having two windows ie mainwindow and a second window.
I want to know if I can use this project in other project, like if including myptoject.pro file or something like that
Not your project .pro file.
You should write a .pri file that you will include and in there have the SOURCES and HEADERS statements.
However, if you plan to reuse these widgets in several projects, you might want to consider putting them in a library.