Browse Source

修改文档

master
tianzhendong 2 years ago
parent
commit
4063b597a2
  1. 2
      .gitignore
  2. 2
      CMakeLists.txt
  3. 0
      Docs/screenshoot/demo.gif
  4. 0
      Docs/screenshoot/img1.png
  5. 38
      README.md
  6. 2
      src/mainwindow.cpp

2
.gitignore

@ -2,3 +2,5 @@
/cmake-build-debug/ /cmake-build-debug/
/.idea/ /.idea/
/windeploy/ /windeploy/
build

2
CMakeLists.txt

@ -11,7 +11,7 @@ set(CMAKE_AUTOUIC ON)
# qrc # qrc
#set(QRC_SOURCE_FILES img.qrc) #set(QRC_SOURCE_FILES img.qrc)
# #
set(CMAKE_PREFIX_PATH "C:/Qt/Qt5.14.2/5.14.2/mingw73_64") set(CMAKE_PREFIX_PATH "/home/tian/Qt5.12.9/5.12.9/gcc_64")
# qt # qt
find_package(Qt5 COMPONENTS find_package(Qt5 COMPONENTS
Core Core

0
screenshoot/demo.gif → Docs/screenshoot/demo.gif

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

0
screenshoot/img1.png → Docs/screenshoot/img1.png

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

38
README.md

@ -1,8 +1,8 @@
# 重复文件检测工具 # 重复文件检测工具
## demo ## demo
![](screenshoot/img1.png) ![](Docs/screenshoot/img1.png)
![](screenshoot/demo.gif) ![](Docs/screenshoot/demo.gif)
## 环境 ## 环境
- Clion 2022.1.2 - Clion 2022.1.2
@ -12,12 +12,39 @@
- 单个文件计算md5 - 单个文件计算md5
- 文件夹内重复文件检测 - 文件夹内重复文件检测
## 下载 ## 使用
### windows ### windows release下载
[windowsRelease-v1.0.2](https://github.com/tianzhendong/duplicateFilesCheck/releases/download/v1.0.2/duplicateFilesCheckv1.0.2.zip) [windowsRelease-v1.0.2](https://github.com/tianzhendong/duplicateFilesCheck/releases/download/v1.0.2/duplicateFilesCheckv1.0.2.zip)
[windowsRelease-v1.0.3](https://github.com/tianzhendong/duplicateFilesCheck/releases/download/v1.0.3/windowsRelease-v1.0.3.zip) [windowsRelease-v1.0.3](https://github.com/tianzhendong/duplicateFilesCheck/releases/download/v1.0.3/windowsRelease-v1.0.3.zip)
### Linux编译
下载源码
```bash
git clone git@github.com:tianzhendong/duplicateFilesCheck.git
cd duplicateFilesCheck
```
修改qt路径
```bash
vim CMakeLists.txt
```
将qt路径修改为对应的目录
```CMakeLists
# 设置
set(CMAKE_PREFIX_PATH "/home/tian/Qt5.12.9/5.12.9/gcc_64")
```
编译&运行
```bash
mkdir build
cd build
cmake ..
make
./DuplicateFilesCheck
```
## 更新记录 ## 更新记录
### 20220619 v1.0.2 ### 20220619 v1.0.2
- [x] 增加打开文件目录功能 - [x] 增加打开文件目录功能
@ -25,3 +52,6 @@
### 20220620 v1.0.3 ### 20220620 v1.0.3
- [x] 修改UI - [x] 修改UI
### 20220714
- [x] 修改文档

2
src/mainwindow.cpp

@ -5,7 +5,7 @@
// You may need to build the project (run Qt uic code generator) to get "ui_MainWindow.h" resolved // You may need to build the project (run Qt uic code generator) to get "ui_MainWindow.h" resolved
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_MainWindow.h" #include "ui_mainwindow.h"
#include <QProcess> #include <QProcess>
MainWindow::MainWindow(QWidget *parent) : MainWindow::MainWindow(QWidget *parent) :

Loading…
Cancel
Save