Hello,<br><br>as I already discussed a bit with Thomas and Alvaro, I'm working on an Akonadi resource to display schedules as todos. The most difficult part was to use existing loading methods (in kmymoneyview) without loading the KMM GUI.<br>
<br>The solution I chose is to create a small class dedicated on data loading. I extracted the main method KMyMoneyView::readFile and related methods (checkAccountName, loadDefaultCurrency, loadDefaultCurrencies, loadAncientCurrency, loadAncientCurrencies and ungetString). Then I replaced every "messagebox" and "return false" statements by exceptions. This made the trick for the compilation.<br clear="all">
<br>The next problem was linkage : KGncReader depends on various dialogs, depending themselves on other part of the application, and so on. Finally I ended up including every KMM libs, and declaring a main pointer to the application in my resource (KMyMoney2App* kmymoney2). It's working but it's really ugly ;)<br>
<br>And voila, I hope my experience could help.<br><br>Regards,<br><br>Michaël Lhomme<br>