Remove Qt6 plugins path handling from build script
Eliminates logic for locating and including Qt6 plugins in the build-linux workflow. This simplifies the build process and removes conditional inclusion of Qt6 plugin files.
This commit is contained in:
@@ -82,14 +82,6 @@ jobs:
|
|||||||
|
|
||||||
version = os.environ.get("VERSION", "0.0.0")
|
version = os.environ.get("VERSION", "0.0.0")
|
||||||
|
|
||||||
# Find Qt6 plugins path
|
|
||||||
qt_plugins_path = None
|
|
||||||
try:
|
|
||||||
from PySide6 import QtCore
|
|
||||||
qt_plugins_path = Path(QtCore.__file__).parent / "Qt" / "plugins"
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
|
|
||||||
# Prepare include_files list
|
# Prepare include_files list
|
||||||
include_files_list = [
|
include_files_list = [
|
||||||
("src", "src"),
|
("src", "src"),
|
||||||
@@ -101,10 +93,6 @@ jobs:
|
|||||||
("assets/branding/icons/icon.png", "share/pixmaps/ytsage.png"),
|
("assets/branding/icons/icon.png", "share/pixmaps/ytsage.png"),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Include Qt6 plugins if found (required for QPA)
|
|
||||||
if qt_plugins_path and qt_plugins_path.exists():
|
|
||||||
include_files_list.append((str(qt_plugins_path), "lib/PySide6/Qt/plugins"))
|
|
||||||
|
|
||||||
build_exe_options = dict(
|
build_exe_options = dict(
|
||||||
optimize=2,
|
optimize=2,
|
||||||
packages=[
|
packages=[
|
||||||
|
|||||||
Reference in New Issue
Block a user