You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the Vulkan 3D preview optional and improve Linux portable packaging.
- Add meson option 'vulkan_preview' (auto/enable/disable). Detect Qt private RHI headers (qrhi.h, qshader.h) and set PAKFU_WITH_VULKAN_PREVIEW accordingly. Fail configuration if the feature is explicitly required but headers are missing. Conditionally add Vulkan source files and moc headers when enabled.
- Emit PAKFU_WITH_VULKAN_PREVIEW in generated pakfu_config.h and guard preview renderer includes on that macro.
- Provide lightweight QWidget stubs for bsp/model Vulkan widgets when Vulkan preview is disabled so the app can build & run with OpenGL-only preview.
- Revamp scripts/package_linux.sh to produce a portable tarball from the deployed AppDir produced by linuxdeployqt, verify libQt6Core is bundled and the pakfu binary resolves Qt from the AppDir, require AppRun presence, and create a top-level pakfu launcher that runs AppRun. Fail packaging on missing Qt Core or unresolved dependencies.
- Update README, docs/DEPENDENCIES.md, docs/RELEASES.md and CHANGELOG to document the portable Linux archive contents and the optional Vulkan preview behavior.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ All notable changes to PakFu are documented here.
10
10
- Fix stale folder listings when navigating newly added folders in a new PAK tab by using canonical archive paths for navigation/listing.
11
11
- Revise all open/save file and folder dialogs to use platform-native navigation by default, with persistent recent locations, filters, and sidebar bookmarks across sessions.
12
12
- Fix potential GUI hangs when opening file dialogs on systems with slow/unreachable volumes by removing synchronous volume probing from dialog state restore.
13
+
- Bundle the deployed Linux runtime into portable tarballs and fail packaging if Qt Core is missing from the deployed AppDir.
14
+
- Allow distro builds without Qt private RHI headers by auto-disabling the Vulkan preview renderer and keeping the OpenGL renderer available.
if fs.exists(join_paths(path, 'rhi', 'qshader.h'))
49
+
if fs.exists(join_paths(path, 'rhi', 'qrhi.h')) and fs.exists(join_paths(path, 'rhi', 'qshader.h'))
50
+
qt_rhi_headers_found =true
54
51
qt_rhi_includes +=include_directories(path)
55
52
break
56
53
endif
57
54
endforeach
58
55
56
+
if vulkan_preview_opt.enabled() andnot qt_rhi_headers_found
57
+
error('Vulkan preview requires Qt private RHI headers (rhi/qrhi.h and rhi/qshader.h). Install the Qt private development headers or configure with -Dvulkan_preview=disabled.')
0 commit comments