[Android-development] QPushButton::setMask() not supported on Android
maitai at virtual-winds.org
maitai at virtual-winds.org
Thu Mar 20 19:34:11 CET 2014
Hello all,
When I try to use something like this on a QPushButton:
myPushButton->setMask(iconPixmap.createMaskFromColor(Qt::transparent,Qt::MaskInColor));
I get in the console:
kernel/qwidget_qpa.cpp:958 (void QWidgetPrivate::setMask_sys(const
QRegion&)): void QWidgetPrivate::setMask_sys(const QRegion&): Not
supported on android.
The same code works as expected on other platforms.
So the questions are: is it planned to support it in a future version?
Is there an alternative way to achieve this?
Thanks
Philippe LELONG
PS: using Qt5.2.1
More information about the Android-development
mailing list