diff --git a/src/widgets/widgets/qlabel.cpp b/src/widgets/widgets/qlabel.cpp index f373ecfab4..152c250f69 100644 --- a/src/widgets/widgets/qlabel.cpp +++ b/src/widgets/widgets/qlabel.cpp @@ -186,6 +186,7 @@ QLabelPrivate::~QLabelPrivate() {fowler}{GUI Design Handbook: Label} */ +#ifndef QT_NO_PICTURE /*! \fn QPicture QLabel::picture(Qt::ReturnByValueConstant) const \obsolete Use the overload without argument instead. @@ -210,6 +211,7 @@ QPicture QLabel::picture() const return *(d->picture); return QPicture(); } +#endif // QT_NO_PICTURE /*!