update:构建deb包

This commit is contained in:
2025-08-06 23:17:33 +08:00
parent 411efd79bb
commit 00f296e971
7 changed files with 596 additions and 665 deletions

View File

@@ -1,4 +1,4 @@
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Concurrent Network Svg WebEngineWidgets)
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Concurrent Network Svg WebEngineWidgets Concurrent)
find_package(Dtk6 REQUIRED COMPONENTS Core Gui Widget)
include(src.cmake)

View File

@@ -546,6 +546,7 @@ void MainWindow::on_pushButton_14_clicked()
QString program = "pkexec";
QStringList arguments;
arguments << appPath << "--silent";
QProcess *process = new QProcess(this);
process->start(program, arguments);
#endif