[clazy] [Bug 406799] New: Clazy reports "QString::fromUtf8() being passed a literal" from ui generated file

Laurent Montel bugzilla_noreply at kde.org
Tue Apr 23 07:17:52 BST 2019


https://bugs.kde.org/show_bug.cgi?id=406799

            Bug ID: 406799
           Summary: Clazy reports "QString::fromUtf8() being passed a
                    literal" from ui generated file
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: montel at kde.org
                CC: smartins at kde.org
  Target Milestone: ---

It will good if we can exclude clazy warning about ui_*.h
for example:
akregator/build-clang/configuration/ui_settings_archive.h:57:35: warning:
QString::fromUtf8() being passed a literal [-Wclazy-qstring-allocations]
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));

it's not necessary as it's autogenerated and we can't fix it (or we need to fix
qt code :) )

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list