mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
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:
+11
-5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user