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?
Asked
Active
Viewed 492 times
1

Vinay Kumar
- 674
- 2
- 9
- 21
2 Answers
1
That was the Cmake project , you should install CMake in your system and build it like this :
cmake .
make
make install
OR use CMakeLists.txt instead of .pro
.

Parisa.H.R
- 3,303
- 3
- 19
- 38
-
can I open ```CMakeLists.txt``` inside ```qt``` like a ```.pro``` file? – Vinay Kumar Jul 12 '21 at 18:11
-
2yes , drag and drop it inside qt creator. – Parisa.H.R Jul 12 '21 at 18:12
0
You can use qmake
to generate the .pro
file for this repository.
Just do the following steps:
- Clone the
repo
. cd
into 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

Vinay Kumar
- 674
- 2
- 9
- 21