一、效果图
二、代码
#include "filesplit.h"
#include <QFile>
#include <QFileInfo>
#include <QCoreApplication>
#include <QDebug>
const qint64 BUFF_SIZE_MB = 1024 * 1024;
const qint64 SPLITE_SIZE_MB = 100 * 1024 *1024;
fileSplit::fileSplit()
{
QString srcFilePath = QCoreApplication: