https://bugs.kde.org/show_bug.cgi?id=436712
Bug ID: 436712
Summary: kconfig_compiler generates invalid code
Product: frameworks-kconfig
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Consider this .kcfg file:
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name="foo" />
<group name="General">
<entry name="Bar" type="Enum">
<choices>
<choice name="Bla" value="bla" />
</choices>
</entry>
</group>
</kcfg>
and this .kcfgc:
File=foo.kcfg
ClassName=FooSettings
Mutators=true
GenerateProperties=true
The build fails with
foosettings.cpp:23:12: error: no member named 'setValueForChoice' in
'KConfigCompilerSignallingItem'
itemBar->setValueForChoice(QStringLiteral( "Bla" ), QStringLiteral( "bla" ));
--
You are receiving this mail because:
You are watching all bug changes.