[vlc-commits] [Git][videolan/vlc][3.0.x] Qt: fix build with GCC 16
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Mon Jul 13 11:50:37 UTC 2026
Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC
Commits:
7fa20016 by François Cartegnie at 2026-07-13T13:30:41+02:00
Qt: fix build with GCC 16
Headers have been cleaned as remove_pointer_t was erroneously
carried from c++14 into c++11
- - - - -
3 changed files:
- modules/gui/qt/components/extended_panels.cpp
- modules/gui/qt/components/sout/sout_widgets.cpp
- modules/gui/qt/qt.hpp
Changes:
=====================================
modules/gui/qt/components/extended_panels.cpp
=====================================
@@ -141,7 +141,7 @@ static inline void setup_vfilter( intf_thread_t *p_intf, const char* psz_name, Q
#define SETUP_VFILTER( widget ) \
setup_vfilter( p_intf, #widget, ui.widget##Enable ); \
- connect( ui.widget##Enable, &std::remove_pointer_t<decltype(ui.widget##Enable)>::clicked, this, &ExtVideo::updateFilters );
+ connect( ui.widget##Enable, &std::remove_pointer<decltype(ui.widget##Enable)>::type::clicked, this, &ExtVideo::updateFilters );
#define SETUP_VFILTER_OPTION( widget, signal ) \
initComboBoxItems( ui.widget ); \
=====================================
modules/gui/qt/components/sout/sout_widgets.cpp
=====================================
@@ -101,8 +101,8 @@ void SoutInputBox::setMRL( const QString& mrl )
}
}
-#define CT( x ) connect( x, &QLineEdit::textChanged, this, &std::remove_pointer_t<decltype(this)>::mrlUpdated );
-#define CS( x ) connect( x, QOverload<int>::of(&QSpinBox::valueChanged), this, &std::remove_pointer_t<decltype(this)>::mrlUpdated );
+#define CT( x ) connect( x, &QLineEdit::textChanged, this, &std::remove_pointer<decltype(this)>::type::mrlUpdated );
+#define CS( x ) connect( x, QOverload<int>::of(&QSpinBox::valueChanged), this, &std::remove_pointer<decltype(this)>::type::mrlUpdated );
VirtualDestBox::VirtualDestBox( QWidget *_parent ) : QWidget( _parent )
{
=====================================
modules/gui/qt/qt.hpp
=====================================
@@ -138,7 +138,7 @@ template<typename... Args> struct QOverload {
};
#endif
-#define BUTTONACT( b, a ) connect( b, &QPushButton::clicked, this, QOverload<>::of(&std::remove_pointer_t<decltype(this)>::a) )
+#define BUTTONACT( b, a ) connect( b, &QPushButton::clicked, this, QOverload<>::of(&std::remove_pointer<decltype(this)>::type::a) )
#define BUTTON_SET( button, text, tooltip ) \
button->setText( text ); \
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7fa200169ee1665498b581dd099f7c609910df72
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7fa200169ee1665498b581dd099f7c609910df72
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