Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
6.1, 6.2
-
None
-
cba55a2f08b5
Description
{{
/home/craig/Projects/qt5/qtdeclarative/examples/quickcontrols2/texteditor/documenthandler.cpp: In member function ‘void DocumentHandler::setFontFamily(const QString&)’:
/home/craig/Projects/qt5/qtdeclarative/examples/quickcontrols2/texteditor/documenthandler.cpp:147:32: warning: ‘void QTextCharFormat::setFontFamily(const QString&)’ is deprecated: Use setFontFamilies instead [-Wdeprecated-declarations]
147 | format.setFontFamily(family);
}}
As the example basically mirrors the API, this might require a slightly larger refactoring to use the recommended setFontFamilies.
Attachments
Issue Links
- relates to
-
QTBUG-81022 Text editor example contradicts QQuickTextDocument's documentation
- Closed
For Gerrit Dashboard: QTBUG-96092 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
371619,2 | WIP: Replace deprecated API | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |