On dimanche 4 décembre 2016 23:42:44 CET šumski wrote:
> On nedjelja, 4. prosinca 2016. 00:37:52 CET David Faure wrote:
> > Dear packagers,
> > 
> > KDE Frameworks 5.29.0 has been uploaded to the usual place.
> > 
> > New framework: prison
> > 
> > Public release next Saturday.
> > 
> > Thanks for the packaging work!
> 
> kconfig (r129382) breaks compilation of kdevplatform:
> http://paste.opensuse.org/82016854

Indeed (but it's not the change from RR 129382, it's commit cd4e650 from
https://phabricator.kde.org/D3386

Seems to come from Inherits=BaseClass while BaseClass doesn't use arg="true".

Here's a testcase for the kconfig unittests. Martin, can you take a look?

-- 
David Faure, [email protected], http://www.davidfaure.fr
Working on KDE Frameworks 5
diff --git c/autotests/kconfig_compiler/CMakeLists.txt i/autotests/kconfig_compiler/CMakeLists.txt
index 590c770..485e305 100644
--- c/autotests/kconfig_compiler/CMakeLists.txt
+++ i/autotests/kconfig_compiler/CMakeLists.txt
@@ -113,6 +113,7 @@ set(test8_SRCS test8main.cpp )
 gen_kcfg_test_source(test8a test8_SRCS)
 gen_kcfg_test_source(test8b test8_SRCS)
 gen_kcfg_test_source(test8c test8_SRCS)
+gen_kcfg_test_source(test8d test8_SRCS)
 
 ecm_add_test(TEST_NAME test8 ${test8_SRCS})
 target_link_libraries(test8 KF5::ConfigGui)
diff --git c/autotests/kconfig_compiler/test8d.kcfg i/autotests/kconfig_compiler/test8d.kcfg
new file mode 100644
index 0000000..24038a6
--- /dev/null
+++ i/autotests/kconfig_compiler/test8d.kcfg
@@ -0,0 +1,17 @@
+<?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 arg="true"/>
+
+  <group name="Group">
+    <entry name="Font" type="Font">
+      <default code="true">QFont()</default>
+    </entry>
+
+    <entry name="TitleFont" type="Font">
+      <default code="true">QFont()</default>
+    </entry>
+  </group>
+</kcfg>
diff --git c/autotests/kconfig_compiler/test8d.kcfgc i/autotests/kconfig_compiler/test8d.kcfgc
new file mode 100644
index 0000000..2c3bcfb
--- /dev/null
+++ i/autotests/kconfig_compiler/test8d.kcfgc
@@ -0,0 +1,6 @@
+File=test8d.kcfg
+ClassName=Test8d
+Mutators=true
+Singleton=true
+Inherits=Test8b
+IncludeFiles=test8b.h

Reply via email to