Yes, but generating UI classes is not usually time-critical thing when doing an operation as small as parsing a file--especially since it can be cached. Frameworks like hibernate still use xml files instead of hardcoding that data into the app. I mean, the ui files don't change behavior really in any way, do they? Just set some default properties in general?
If I have time, maybe I can mock up a quick factory using janino to build some classes and post my results. On Wed, Nov 3, 2010 at 11:34 AM, Samu Voutilainen <[email protected]> wrote: > On Wednesday 03 November 2010 20:24:25 Josh Stratton wrote: >> I may be beating a dead horse, but is there any way to load ui files >> directly into qtjambi without using juic? I know pyqt can do it. Has >> no one written a parser for it or is it something much more complex? >> I've always had unresolved errors using juic, and it's a big hassle >> compared to just using designer and reloading your python app. >> >> Josh >> _______________________________________________ >> Qt-jambi-interest mailing list >> [email protected] >> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest >> > > The compiler exists for speed. Unlike with python, which is interpreted > language, Java code is ”compiled” anyways, so it is only small task to ask > juic task to that phase. > > Myself, I prefer writing the UIs by hand. > > -- > Terveisin, > Samu Voutilainen > http://smar.fi > > _______________________________________________ > Qt-jambi-interest mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest > _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
