<div>Some time ago I was able to test kcmlayout module quickly without
all the KCM infrastructure by creating a simple main.cpp file and
linking it to the module files.<br>The source was as simple as this:<br><br>...<br>int main(int argc, char *argv[])
<br>{<br> QApplication app(argc, argv);<br><br> QWidget window;<br><br> KInstance* inst = new KInstance("kcmlayout");<br> new LayoutConfig(inst, &window);<br><br> window.show();<br> return
app.exec();<br>}<br><br><br>Can somebody tell me how that could be done with new KGenericFactory approach?<br> If I just change to LayoutConfig(window, emptyStringList) it asserts in kcmodule.cpp<br><br>Thanks,<br></div>
<span>Andriy</span>