[vlc-commits] [Git][videolan/vlc][3.0.x] 2 commits: contrib: qt: build with debug info

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat Jul 18 00:54:27 UTC 2026



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
e44fe6b8 by Steve Lhomme at 2026-07-18T00:48:49+02:00
contrib: qt: build with debug info

- - - - -
4176daed by Steve Lhomme at 2026-07-18T00:48:49+02:00
contrib: qt: add -gcodeview for clang compilation with PDB

- - - - -


1 changed file:

- contrib/src/qt/rules.mak


Changes:

=====================================
contrib/src/qt/rules.mak
=====================================
@@ -55,6 +55,10 @@ qt: qt-$(QT_VERSION).tar.xz .sum-qt
 	$(APPLY) $(SRC)/qt/0005-Fix-specific-overflow-in-qtextlayout.patch
 	$(APPLY) $(SRC)/qt/0006-ODBC-SQL-driver-deal-with-different-sizes-of-SQLTCHA.patch
 	$(APPLY) $(SRC)/qt/0007-Fix-crash-when-reading-corrupt-font-data.patch
+ifdef ENABLE_PDB
+	# for -gcodeview when PDB is enabled
+	sed -i.orig -e "s/ -g/ -g -gcodeview/g" "$(UNPACK_DIR)/mkspecs/win32-clang-g++/qmake.conf"
+endif
 	# fix forcing the WINVER/_WIN32_WINNT version without NTDDI_VERSION
 	sed -i.orig -e "s/DEFINES += WINVER/DEFINES += NTDDI_VERSION=0x06000000 WINVER/" "$(UNPACK_DIR)/src/network/kernel/kernel.pri"
 	# TOUCHINPUT is properly defined in mingw since v4
@@ -81,7 +85,7 @@ ifdef HAVE_WIN32
 QT_CONFIG += -no-xcb
 endif
 
-QT_CONFIG += -release
+QT_CONFIG += -release -force-debug-info
 
 .qt: qt
 	cd $< && ./configure $(QT_PLATFORM) $(QT_CONFIG) -prefix $(PREFIX)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/cb9931fedf37b600cb57f0234d26fdf3028af262...4176daed86ca10acd1966ca37704b0df622b09d5

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/cb9931fedf37b600cb57f0234d26fdf3028af262...4176daed86ca10acd1966ca37704b0df622b09d5
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list