From 00b6180d50103d93c186274e0aba85cea57f03a1 Mon Sep 17 00:00:00 2001 From: KevinDuan Date: Mon, 25 Dec 2023 11:21:05 +0800 Subject: [PATCH] fix first create deb copy deb package fail --- kylin-theme-builder.pro.user | 180 ++++++++++++++++++++++++++ src/build/buildWidget.cpp | 3 +- src/build/buildcheckwidget.cpp | 30 ++++- src/fileProcess/configfilemanager.cpp | 9 +- 4 files changed, 218 insertions(+), 4 deletions(-) create mode 100644 kylin-theme-builder.pro.user diff --git a/kylin-theme-builder.pro.user b/kylin-theme-builder.pro.user new file mode 100644 index 0000000..06b8890 --- /dev/null +++ b/kylin-theme-builder.pro.user @@ -0,0 +1,180 @@ + + + + + + EnvironmentId + {555ed999-f640-41a4-be48-5c1db8664450} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + false + true + false + 0 + true + true + 0 + 8 + true + false + 1 + true + true + true + *.md, *.MD, Makefile + false + true + + + + ProjectExplorer.Project.PluginSettings + + + true + false + true + true + true + true + + + 0 + true + + true + true + Builtin.DefaultTidyAndClazy + 6 + + + + true + + + + + ProjectExplorer.Project.Target.0 + + Desktop + 桌面 + 桌面 + {095bf34e-29d2-428e-94ff-958e02991e74} + 0 + 0 + 0 + + 0 + /home/openKylin/kwz/build-kylin-theme-builder-unknown-Debug + /home/openKylin/kwz/build-kylin-theme-builder-unknown-Debug + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + + 1 + + + 0 + Deploy + Deploy + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + Qt4ProjectManager.Qt4RunConfiguration:/home/openKylin/kwz/kylin-theme-builder/kylin-theme-builder.pro + /home/openKylin/kwz/kylin-theme-builder/kylin-theme-builder.pro + false + true + true + false + true + /home/openKylin/kwz/build-kylin-theme-builder-unknown-Debug + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/src/build/buildWidget.cpp b/src/build/buildWidget.cpp index 2a90209..b2d76ec 100644 --- a/src/build/buildWidget.cpp +++ b/src/build/buildWidget.cpp @@ -29,7 +29,8 @@ buildWidget::buildWidget(QWidget *parent) //拷贝deb包至用户目录中 QString sourceDirPath = QDir::homePath()+"/.cache/theme-build/"+FileProcess::g_date; QDir sourceDir = sourceDirPath; - QDir homePath =FileProcess::g_debPath; + QDir homePath = FileProcess::g_debPath; + qDebug()<<"qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"<