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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to