Hi all, I have three types of projects my app can handle, so I have three respective parts that are loaded depending on the project type. They have some common functionality and settings, so these I separated in the base class KProject derived from KReadWritePart plus some other stuff, put it all in a library, and built three parts on top of it. Today I tried to convert the settings for these guys to KConfig XT.
So in the base library I created the project settings with <kcfgfile arg="true" /> and no singleton, ClassName=KInProjectConfigBase. Then I created settings for the parts using <include> pointing to the generated header and ClassName=KInVisualConfig Inherits=KInProjectConfig Singleton=true Here KInProjectConfig is my wrapper around the KInProjectConfigBase that takes QString (config file for respective part) and converts it to KSharedConfig::Ptr to pass to KInProjectConfigBase constructor. The problem is that library builds w/o issues, but the part compiles fine and then fails to link claiming that references to KInProjectConfigBase constructor and destructor are undefined. The generated code for them is there, but somehow they do not become part of the library... What do I miss? I tried without a wrapper, just passing KSharedConfig::Ptr directly, same issue. Thanks a lot. -- Regards, Anatoli. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<