mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-07 20:09:55 +03:00
Make the project able to install
This commit is contained in:
22
README.md
22
README.md
@@ -2,3 +2,25 @@
|
||||
CrystalDiskInfo alternative for Linux
|
||||

|
||||
The icon is a modified version of the KDE Partition Manager logo which is available under GPL-3.0+
|
||||
|
||||
## Compiling and Installing
|
||||
First you will need to clone the repository and cd inside
|
||||
```sh
|
||||
https://github.com/edisionnano/QDiskInfo.git && cd QDiskInfo
|
||||
```
|
||||
Then you must create a build directory and cd inside
|
||||
```sh
|
||||
mkdir build && cd build
|
||||
```
|
||||
After that use CMake to setup the project, Qt version can also be set to 5 (for example for Ubuntu)
|
||||
```sh
|
||||
cmake .. -DCMAKE_BUILD_TYPE:STRING=MinSizeRel -DQT_VERSION_MAJOR=6
|
||||
```
|
||||
And finally compile the project with all the threads
|
||||
```sh
|
||||
make -j$(nproc)
|
||||
```
|
||||
This will create a `QDiskInfo` binary on the build directory but you can also install it using
|
||||
```sh
|
||||
sudo make install
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user