On Tuesday 7 May 2024 12:20:26 GMT-7 Dennis Lühring wrote: > then something is strange > > 1. according to https://doc.qt.io/qt-5/qtoolbutton.html: QToolButton is > derived from QAbstractButton which contains checkStateSet
[Re-adding the list, but I think dev is the wrong list] QAbstractButton is irrelevant here. Your error message was QToolButton::checkStateSet() *specifically* wasn't defined. It's not expected to because it wasn't added until 6.3. The only explanation I can come up with is that the headers don't match the library. > 2. my standard > SUSE-Tumbleweed Qt5 Package widgets lib contains the Method > /usr/lib64/libQt5Widgets.so.5.15.13 Indeed, so does it in mine: $ nm -DC /usr/lib64/libQt5Widgets.so.5.15.13 | grep QToolButton::checkState 000000000038eb40 T QToolButton::checkStateSet() That's a non-standard patch. It doesn't exist in the official 5.15.13 version. Someone backported an extra patch onto that release (it's https:// invent.kde.org/qt/qt/qtbase/-/commit/f74d263ff7de636e00094040a795b0763af41772). I don't know why they did that, but that's not important. The diagnosis is the same: your headers don't match the library you have. You have to match. -- Thiago Macieira - thiago.macieira (AT) intel.com Principal Engineer - Intel DCAI Cloud Engineering
smime.p7s
Description: S/MIME cryptographic signature
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development