Add files to QT project
Solved
General and Desktop
-
I have tried to reproduce the following example: https://doc.qt.io/qt-5/qtwidgets-mainwindows-sdi-example.html
And I create a simple QT project, and I have tried to add files from here: https://code.qt.io/cgit/qt/qtbase.git/tree/examples/widgets/mainwindows/sdi?h=5.15
But I realize that I cannot, like I would do in Visual Studio C++ project. Is there possible to add sdi.pro and sdi.qrc to my project ?
-
You have created a CMake project. Adding .pro to it makes no sense (unless you want to support 2 different build systems).
QRC - yes it is possible to add Qt resources to CMake-based projects, see https://doc.qt.io/qt-5/qtcore-cmake-qt5-add-resources.html
-
Thank you, I got it.