[vlc-commits] [Git][videolan/vlc][master] qt: workaround for `undefined reference to `qt_version_tag'` error

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun May 19 16:57:20 UTC 2024



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
a717ae5d by Fatih Uzunoglu at 2024-05-19T16:38:53+00:00
qt: workaround for `undefined reference to `qt_version_tag'` error

KF6WindowSystem requires Qt6Gui, but not Qt6Core.
And Qt6Gui does not require Qt6Core.

The symbol `qt_version_tag` is available in Qt6Core.

- - - - -


1 changed file:

- modules/gui/qt/Makefile.am


Changes:

=====================================
modules/gui/qt/Makefile.am
=====================================
@@ -623,7 +623,7 @@ if HAVE_KF6WINDOWSYSTEM
 libqt_plugin_la_CPPFLAGS += -DQT_HAS_KWINDOWSYSTEM_PLUGIN
 
 libqt_kwindowsystem_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(KF6WINDOWSYSTEM_CFLAGS)
-libqt_kwindowsystem_plugin_la_LIBADD =  $(KF6WINDOWSYSTEM_LIBS)
+libqt_kwindowsystem_plugin_la_LIBADD =  $(KF6WINDOWSYSTEM_LIBS) $(QT_LIBS)
 libqt_kwindowsystem_plugin_la_SOURCES = \
 	maininterface/kwindowsystem_module.cpp
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a717ae5d428eee88576c2dd77d60e7f97fbd9341

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a717ae5d428eee88576c2dd77d60e7f97fbd9341
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list