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

            Bug ID: 476110
           Summary: Missing includes and stuff with QString
    Classification: Frameworks and Libraries
           Product: frameworks-syntax-highlighting
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: framework
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: igor.mironc...@gmail.com
  Target Milestone: ---

SUMMARY

Not sure how do you build this project, but my experience shows that you missed
some minor but annoying stuff. Look.

In ansihighlighter.cpp you missed including QStringBuilder, that leads to build
errors with % operator.

In highlightingdata.cpp you have a line of code:

initRuleData(rule.data.anyChar, c.toLower() + c.toUpper());

that leads to build error qith unknown QChar + QChar operator. Fix is quite
simple:

initRuleData(rule.data.anyChar, QString(c.toLower()) + c.toUpper());

Maybe you use some PCH? Maybe something else, but I use syntax-highlighting im
my own project, and I was forced to make these small changes to build.

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

Reply via email to