> Ok, sorry, it have to be > QApplication.initialize(new String[0]) > > QApplication.setApplicationName(Thread.currentThread().toString()) > ... > mediaObject.play() > QApplication.exec() > > Do anyone know what class files and libraries I can remove from the qtjambi- > xxxxx.jar to slim it down from 24 MBytes to something like 1MByte?
Take a look inside qtjambi-linux32-gcc-4.5.2_01.jar, you'll see at once what can be removed. But there is a possible problem with NativeLibraryManager if you will do it: 1. NativeLibraryManager unpacks all libraries from jar into temp folder with name based on jambi build date and version. 2. If you'll launch second jambi application which will have more libraries than first one - jambi will skip unpacking. 3. As soon as second application will need required libraries - it will fail and show you cruel stacktraces. I fixed it in my local builds, making NativeLibraryManager check for existance of all files and skipping already existing files. I can send you diff or recompiled classes, but it's home solution until Eskil will approve this approach and will submit those changes into git. _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
