I was trying to modify the source code of this open source project https://github.com/haiwen/seafile-client
As I can see it contains .ui, .qrc etc files which is used in Qt, but there is no .pro files present in his repository. So how to get the .pro file for this repository code. Any idea?
How to get .pro file from the set of qt files
716 Views Asked by Vinay Kumar At
2
There are 2 best solutions below
0
On
You can use qmake to generate the .pro file for this repository.
Just do the following steps:
- Clone the
repo. cdinto therepo- Run the following command
qmake -project -r *
It will repeatedly look into the directory and it's sub-directory files and will generate required .pro file for you.
You can learn more about this at below given link:
https://doc.qt.io/qt-5/qmake-running.html#project-mode-options
That was the Cmake project , you should install CMake in your system and build it like this :
OR use CMakeLists.txt instead of
.pro.