Files
jellyfin-desktop/check_qt_modules.bat
T
iZack 52d5067676 Working 2.0.0 build for Windows
It is really late so I'm calling it here. I wanted to put this out for relevant people to get eyes on, in order to aid in getting the Windows build of v2.0.0 out. Apologies in advance for not following any contrib guidelines or there being messes.  I'm leaving in the build scripts I used for now. The build scripts still contain a few hardcoded visual studio related values for now.  At the moment when I run the app on a different machine to the dev VM I'm using the qt web view doesn't seem to be rendering.

summary of where this is at:
the whole thing builds
works on my Windows 11 virtual machine

short summary of what I did:

A couple of qt6 updates specific to windows were addressed.

Some build system issues were addressed

did some minor refactoring to sieve out binary build dependencies from generated build files since its a lot easier when you can just delete the build folder to run a clean build
2025-12-19 01:43:38 -08:00

108 lines
2.4 KiB
Batchfile

@echo off
echo Checking Qt installation for required modules...
echo.
set QTROOT=C:/Qt/6.10.1/msvc2022_64
echo Qt Root: %QTROOT%
echo.
echo Required Qt Modules:
echo ====================
echo.
set MISSING=0
echo Checking Qt6Core...
if exist "%QTROOT%\lib\cmake\Qt6Core" (
echo [OK] Qt6Core
) else (
echo [MISSING] Qt6Core
set MISSING=1
)
echo Checking Qt6WebEngineCore...
if exist "%QTROOT%\lib\cmake\Qt6WebEngineCore" (
echo [OK] Qt6WebEngineCore
) else (
echo [MISSING] Qt6WebEngineCore - REQUIRED FOR JELLYFIN DESKTOP
set MISSING=1
)
echo Checking Qt6WebEngineQuick...
if exist "%QTROOT%\lib\cmake\Qt6WebEngineQuick" (
echo [OK] Qt6WebEngineQuick
) else (
echo [MISSING] Qt6WebEngineQuick - REQUIRED FOR JELLYFIN DESKTOP
set MISSING=1
)
echo Checking Qt6WebChannel...
if exist "%QTROOT%\lib\cmake\Qt6WebChannel" (
echo [OK] Qt6WebChannel
) else (
echo [MISSING] Qt6WebChannel - REQUIRED FOR JELLYFIN DESKTOP
set MISSING=1
)
echo Checking Qt6Quick...
if exist "%QTROOT%\lib\cmake\Qt6Quick" (
echo [OK] Qt6Quick
) else (
echo [MISSING] Qt6Quick
set MISSING=1
)
echo Checking Qt6Qml...
if exist "%QTROOT%\lib\cmake\Qt6Qml" (
echo [OK] Qt6Qml
) else (
echo [MISSING] Qt6Qml
set MISSING=1
)
echo Checking Qt6Network...
if exist "%QTROOT%\lib\cmake\Qt6Network" (
echo [OK] Qt6Network
) else (
echo [MISSING] Qt6Network
set MISSING=1
)
echo Checking Qt6Widgets...
if exist "%QTROOT%\lib\cmake\Qt6Widgets" (
echo [OK] Qt6Widgets
) else (
echo [MISSING] Qt6Widgets
set MISSING=1
)
echo.
echo.
if %MISSING%==1 (
echo ========================================
echo WARNING: Some required Qt modules are missing!
echo ========================================
echo.
echo Please install the missing modules using Qt Maintenance Tool:
echo 1. Run Qt Maintenance Tool
echo 2. Select "Add or remove components"
echo 3. Navigate to Qt ^> Qt 6.10.1 ^> MSVC 2022 64-bit
echo 4. Make sure these are checked:
echo - Qt WebEngine
echo - Qt WebChannel
echo - Qt Quick
echo 5. Click Update/Install
echo.
echo After installing, rebuild Jellyfin Desktop with build_windows.bat
echo.
) else (
echo ========================================
echo All required Qt modules are installed!
echo ========================================
)
echo.
pause