copy just enough gstreamer plugins and handle deps for Windows build

- Added custom command to copy libZUpdater.dll for deployment
- Updated win-deploy.cmake to copy specific GStreamer plugins
- Introduced install scripts for Apple drivers and WinFsp
- Improved DiagnoseWidget UI with scroll area and process indicators
- Adjusted WelcomeWidget to include DiagnoseWidget on non-Apple platforms
This commit is contained in:
uncor3
2025-11-02 11:39:17 -08:00
parent d3f4c74fbc
commit 7eaed96a85
11 changed files with 367 additions and 106 deletions
+11 -5
View File
@@ -9,13 +9,17 @@
#include <QPalette>
#include <QUrl>
#ifdef WIN32
#include "platform/windows/diagnose_widget.h"
#endif
WelcomeWidget::WelcomeWidget(QWidget *parent) : QWidget(parent) { setupUI(); }
void WelcomeWidget::setupUI()
{
// Main layout with proper spacing and margins
m_mainLayout = new QVBoxLayout(this);
m_mainLayout->setContentsMargins(5, 5, 5, 5);
m_mainLayout->setContentsMargins(0, 0, 0, 0);
m_mainLayout->setSpacing(0);
// Add top stretch
@@ -85,11 +89,13 @@ void WelcomeWidget::setupUI()
m_mainLayout->addWidget(m_githubLabel);
// Add bottom stretch
m_mainLayout->addStretch(1);
// no additional deps needed on macOS
#ifndef __APPLE__
DiagnoseWidget *diagnoseWidget = new DiagnoseWidget();
m_mainLayout->addWidget(diagnoseWidget);
#endif
// Set minimum size
// setMinimumSize(600, 500);
m_mainLayout->addStretch(1);
}
ZLabel *WelcomeWidget::createStyledLabel(const QString &text, int fontSize,