[Development] QToolButton::checkStateSet missing in Linux source build of Qt5.15.13-gpl?
Thiago Macieira
thiago.macieira at intel.com
Tue May 7 19:11:44 CEST 2024
On Tuesday 7 May 2024 08:40:01 GMT-7 Dennis Luehring via Development wrote:
> using that build im getting a linker error that
> QToolButton::checkStateSet is not defined
>
>
>
>
> mold: error: undefined symbol: QToolButton::checkStateSet()
>
> >>> referenced by mocs_compilation.cpp
> >>>
> >>> ../bin/libgui.a(mocs_compilation.cpp.o)
QToolButton::checkStateSet() was added for Qt 6.2 by commit
c9830c2fb902f26dc8b2df61dfadc2d7a7d2b30e. That is not a Pick-to: 5.15 and
indeed it is not there in
https://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/widgets/qtoolbutton.h?
h=v5.15.13-lts-lgpl
Therefore, your issue is that you've compiled something against the Qt 6
headers.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Principal Engineer - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20240507/061a6619/attachment-0001.bin>
More information about the Development
mailing list