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

            Bug ID: 409222
           Summary: kdev_format_source returns "error: no commands
                    applicable to" for any pattern
           Product: kdevelop
           Version: git master
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: eugene.shalygin+bugzilla....@gmail.com
  Target Milestone: ---

With any pattern, including the simple '*', kdev_format_source rejects input
files if the 'format_sources' file is not located in the same directory as the
target file. This starts to happen with Qt 5.12.4. Probably its wildcard to
regexp conversion became more strict, but it does not know about '**'.

Replacing the QDir::match() call with fnmatch() fixes the issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to