--nextPart3835092.HzOCn9eqp7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sunday 27 August 2006 12:45, Andriy Rysin wrote: > 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. > The source was as simple as this: > > ... > int main(int argc, char *argv[]) > { > QApplication app(argc, argv); > > QWidget window; > > KInstance* inst = new KInstance("kcmlayout"); > new LayoutConfig(inst, &window); > > window.show(); > return app.exec(); > } > > > Can somebody tell me how that could be done with new KGenericFactory > approach? > If I just change to LayoutConfig(window, emptyStringList) it asserts in > kcmodule.cpp > > Thanks, > Andriy Why not use kcmshell to test it in? --nextPart3835092.HzOCn9eqp7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.20 (GNU/Linux) iD8DBQBE8dGNCkngzK11zHsRAnGRAJ4vZdM0MSXqeKh9s/YmTM/qjulb1wCfTRyZ DTFObsOtjsQqN1HvvXEMywA= =nmm8 -----END PGP SIGNATURE----- --nextPart3835092.HzOCn9eqp7--