2026-01 backports to 3.2 (PR #26065)

38 views
Skip to first unread message

VZ

unread,
Jan 2, 2026, 11:47:03 AM (9 days ago) Jan 2
to wx-...@googlegroups.com, Subscribed

As usual, please comment to point out more commits to add to this PR.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26065

Commit Summary

  • 0d2c29b Don't use first image for wxListCtrl items without any image

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065@github.com>

Richard

unread,
Jan 2, 2026, 11:54:58 AM (9 days ago) Jan 2
to wx-...@googlegroups.com, Subscribed
nobugshere left a comment (wxWidgets/wxWidgets#26065)

Would it be possible to add this one, please? #25767


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3705774399@github.com>

VZ

unread,
Jan 2, 2026, 11:58:49 AM (9 days ago) Jan 2
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26065)

Would it be possible to add this one, please? #25767

Unfortunately these changes don't apply to 3.2 cleanly, someone would need to resolve the conflicts (which shouldn't be that difficult, from a quick look at them) and check that everything works as expected in 3.2 and I can't do the latter because I don't have macOS 26.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3705783213@github.com>

Gustavo Alvarez

unread,
Jan 5, 2026, 1:56:25 PM (6 days ago) Jan 5
to wx-...@googlegroups.com, Subscribed
sl1pkn07 left a comment (wxWidgets/wxWidgets#26065)

Hi

i'm not sure when is out, but seems branch 3.3 have fixes for build with Qt6 wich is not backported to 3.2.9

is possible backpot it?
greetings


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3711696926@github.com>

VZ

unread,
Jan 5, 2026, 2:58:51 PM (6 days ago) Jan 5
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26065)

Sorry, not sure what do you mean exactly (which commit or at least which issue?).


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3711895500@github.com>

Gustavo Alvarez

unread,
Jan 5, 2026, 3:34:07 PM (6 days ago) Jan 5
to wx-...@googlegroups.com, Subscribed
sl1pkn07 left a comment (wxWidgets/wxWidgets#26065)

3.2.9 fails build with Qt6 due

[ 47%] Building CXX object libs/core/CMakeFiles/wxcore.dir/__/__/__/__/src/common/gaugecmn.cpp.o
En el fichero incluido desde /usr/include/qt6/QtCore/qtypeinfo.h:9,
                 desde /usr/include/qt6/QtCore/qglobal.h:45,
                 desde /usr/include/qt6/QtCore/qcompare.h:12,
                 desde /usr/include/qt6/QtGui/qfont.h:7,
                 desde /usr/include/qt6/QtGui/QFont:1,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/fontutil.h:29,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/fontmap.h:23,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/src/common/appcmn.cpp:45:
/usr/include/qt6/QtCore/qcontainerfwd.h:39:28: error: conflicting declaration of template ‘template<class T> using QVector = QList<T>’
   39 | template<typename T> using QVector = QList<T>;
      |                            ^~~~~~~
En el fichero incluido desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/region.h:226,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/window.h:25,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wx.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wxprec.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/build-qt5/libs/core/CMakeFiles/wxcore.dir/cmake_pch.hxx:5,
                 desde <línea-de-órdenes>:
/tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/qt/region.h:14:25: nota: previous declaration ‘template<class T> class QVector’
   14 | template<class T> class QVector;
      |                         ^~~~~~~
[ 50%] Building CXX object libs/core/CMakeFiles/wxcore.dir/__/__/__/__/src/common/imagpnm.cpp.o
En el fichero incluido desde /usr/include/qt6/QtCore/qtypeinfo.h:9,
                 desde /usr/include/qt6/QtCore/qglobal.h:45,
                 desde /usr/include/qt6/QtCore/qcompare.h:12,
                 desde /usr/include/qt6/QtGui/qfont.h:7,
                 desde /usr/include/qt6/QtGui/QFont:1,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/fontutil.h:29,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/src/common/fontcmn.cpp:38:
/usr/include/qt6/QtCore/qcontainerfwd.h:39:28: error: conflicting declaration of template ‘template<class T> using QVector = QList<T>’
   39 | template<typename T> using QVector = QList<T>;
      |                            ^~~~~~~
En el fichero incluido desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/region.h:226,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/window.h:25,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wx.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wxprec.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/build-qt5/libs/core/CMakeFiles/wxcore.dir/cmake_pch.hxx:5,
                 desde <línea-de-órdenes>:
/tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/qt/region.h:14:25: nota: previous declaration ‘template<class T> class QVector’
   14 | template<class T> class QVector;
      |                         ^~~~~~~
[ 50%] Building CXX object libs/core/CMakeFiles/wxcore.dir/__/__/__/__/src/common/layout.cpp.o
En el fichero incluido desde /usr/include/qt6/QtCore/qtypeinfo.h:9,
                 desde /usr/include/qt6/QtCore/qglobal.h:45,
                 desde /usr/include/qt6/QtCore/qcompare.h:12,
                 desde /usr/include/qt6/QtGui/qfont.h:7,
                 desde /usr/include/qt6/QtGui/QFont:1,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/fontutil.h:29,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/fontmap.h:23,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/src/common/fontmap.cpp:25:
/usr/include/qt6/QtCore/qcontainerfwd.h:39:28: error: conflicting declaration of template ‘template<class T> using QVector = QList<T>’
   39 | template<typename T> using QVector = QList<T>;
      |                            ^~~~~~~
En el fichero incluido desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/region.h:226,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/window.h:25,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wx.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wxprec.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/build-qt5/libs/core/CMakeFiles/wxcore.dir/cmake_pch.hxx:5,
                 desde <línea-de-órdenes>:
/tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/qt/region.h:14:25: nota: previous declaration ‘template<class T> class QVector’
   14 | template<class T> class QVector;
      |                         ^~~~~~~
En el fichero incluido desde /usr/include/qt6/QtCore/qtypeinfo.h:9,
                 desde /usr/include/qt6/QtCore/qglobal.h:45,
                 desde /usr/include/qt6/QtCore/qcompare.h:12,
                 desde /usr/include/qt6/QtGui/qfont.h:7,
                 desde /usr/include/qt6/QtGui/QFont:1,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/fontutil.h:29,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/src/common/fontutilcmn.cpp:23:
/usr/include/qt6/QtCore/qcontainerfwd.h:39:28: error: conflicting declaration of template ‘template<class T> using QVector = QList<T>’
   39 | template<typename T> using QVector = QList<T>;
      |                            ^~~~~~~
En el fichero incluido desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/region.h:226,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/window.h:25,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wx.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wxprec.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/build-qt5/libs/core/CMakeFiles/wxcore.dir/cmake_pch.hxx:5,
                 desde <línea-de-órdenes>:
/tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/qt/region.h:14:25: nota: previous declaration ‘template<class T> class QVector’
   14 | template<class T> class QVector;
      |                         ^~~~~~~
[ 51%] Building CXX object libs/core/CMakeFiles/wxcore.dir/__/__/__/__/src/common/matrix.cpp.o
En el fichero incluido desde /usr/include/qt6/QtCore/qtypeinfo.h:9,
                 desde /usr/include/qt6/QtCore/qglobal.h:45,
                 desde /usr/include/qt6/QtGui/qtguiglobal.h:7,
                 desde /usr/include/qt6/QtGui/qpainter.h:7,
                 desde /usr/include/qt6/QtGui/QPainter:1,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/src/generic/graphicc.cpp:99:
/usr/include/qt6/QtCore/qcontainerfwd.h:39:28: error: conflicting declaration of template ‘template<class T> using QVector = QList<T>’
   39 | template<typename T> using QVector = QList<T>;
      |                            ^~~~~~~
En el fichero incluido desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/region.h:226,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/window.h:25,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wx.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/wxprec.h:38,
                 desde /tmp/makepkg/wxwidgets-light/src/build-qt5/libs/core/CMakeFiles/wxcore.dir/cmake_pch.hxx:5,
                 desde <línea-de-órdenes>:
/tmp/makepkg/wxwidgets-light/src/wxwidgets/include/wx/qt/region.h:14:25: nota: previous declaration ‘template<class T> class QVector’
   14 | template<class T> class QVector;
      |                         ^~~~~~~

then, searching in the tree, found this commits

e647cd0

but can't be apply with cherrypick due conflicts in src/qt/region.cpp

greetings


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3711993829@github.com>

VZ

unread,
Jan 5, 2026, 4:11:46 PM (6 days ago) Jan 5
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26065)

I think it would be enough to just replace QVector with wxVector and keep the rest of the code unchanged in 3.2, but I didn't test it. If this works for you, please make a PR for 3.2 with this change and I'll merge it.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3712100932@github.com>

Gustavo Alvarez

unread,
Jan 5, 2026, 6:52:03 PM (6 days ago) Jan 5
to wx-...@googlegroups.com, Subscribed
sl1pkn07 left a comment (wxWidgets/wxWidgets#26065)

sorry. but, the repo is a bit messy. i cant apply directly by cherrypinking because need a ton of them, inclusive commits commited several years ago before release 3.2.9, not included in it, but included in newer 3.3.x

so i opted to disable completely search Qt6 by

diff --git a/build/cmake/toolkit.cmake b/build/cmake/toolkit.cmake
index 0910b66d68..365f055572 100644
--- a/build/cmake/toolkit.cmake
+++ b/build/cmake/toolkit.cmake
@@ -129,7 +129,7 @@ if(UNIX AND NOT WIN32 AND (WXX11 OR WXMOTIF OR WXGTK2 OR (WXGTK AND wxHAVE_GDK_X
 endif()
 
 if(WXQT)
-    find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core)
+    find_package(QT NAMES Qt5 REQUIRED COMPONENTS Core)
 
     if(QT_VERSION_MAJOR EQUAL 5)
         set(QT_COMPONENTS Core Widgets Gui OpenGL OpenGL Test)

greetings


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3712503723@github.com>

moi15moi

unread,
Jan 10, 2026, 11:11:39 AM (yesterday) Jan 10
to wx-...@googlegroups.com, Subscribed
moi15moi left a comment (wxWidgets/wxWidgets#26065)

As said here, could you add it?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3733123802@github.com>

VZ

unread,
Jan 10, 2026, 1:26:23 PM (yesterday) Jan 10
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26065)

sorry. but, the repo is a bit messy. i cant apply directly by cherrypinking because need a ton of them, inclusive commits commited several years ago before release 3.2.9, not included in it, but included in newer 3.3.x

This seems doubtful. More likely is that they had been included in 3.3 but then were changed there.

so i opted to disable completely search Qt6 by

@AliKet is the de facto wxQt maintainer, so I'll let him decide whether this should be done or not. If Qt6 build is really that difficult to fix, it probably is...


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3733344136@github.com>

Maarten

unread,
Jan 10, 2026, 5:15:06 PM (23 hours ago) Jan 10
to wx-...@googlegroups.com, Subscribed
MaartenBent left a comment (wxWidgets/wxWidgets#26065)

Before 3.2.9 CMake only looked for Qt5. When I backported many CMake changes in #25998, it also included finding Qt6. Maybe this should be reverted until (and if) Qt6 changes can be backported.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3733617056@github.com>

VZ

unread,
Jan 10, 2026, 5:30:43 PM (22 hours ago) Jan 10
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26065)

Before 3.2.9 CMake only looked for Qt5. When I backported many CMake changes in #25998, it also included finding Qt6. Maybe this should be reverted until (and if) Qt6 changes can be backported.

I see, thanks. If nobody backports Qt6 fixes to 3.2, I'll revert this, i.e. apply the change proposed by Gustavo above.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26065/c3733630714@github.com>

Reply all
Reply to author
Forward
0 new messages