Re: [Kmymoney-devel] Debugging plugins

2014-03-30 Thread Chris
I have been able to set it up so I can debug the plugin but it is far from a satisfactory solution and there is an oddity. Firstly I did a full install from an nmake version of the build system (for some reason the msvc2010 build doesn't install properly. I haven't determined why) Then I c

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Allan
On 29/03/14 23:35, Chris wrote: Hmm Perhaps dejavu sans needs to be included in the install package as its not an installed font in mswin7, by including it in the install some of these inconstancies may be ironed out. It now appears that my choice of DejaVu Sans doesn't get into the build any

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Allan
On 29/03/14 23:04, Chris wrote: Hi Allan If you look at the source of the ui file there is no font specified. So you are picking up the font *QT* chooses as the default. Yes, neither the UI file, nor the built ui.h file give a font name. As it shows in QtDesigner, it appears that it gets

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Chris
Hmm Perhaps dejavu sans needs to be included in the install package as its not an installed font in mswin7, by including it in the install some of these inconstancies may be ironed out. if installing a font is a bit over the top QT includes... int QFontDatabase::addApplicationFont ( const QSt

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Chris
Hi Allan If you look at the source of the ui file there is no font specified. So you are picking up the font *QT* chooses as the default. Original csvimport ui file.. modified using qtdesigner file... Arial Like you I have found fonts are not the only problems. Now

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Chris
Hi Yes I worked out that kmymoney wasn't using QT's plugin mechanism but instead KDE's I was just trying to workout the desktop files and where they are kept when I got this email. So thanks for that. Can I say this appears crazy. KDE appears to be trying to make itself as complex as wind

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Allan
On 29/03/14 22:19, Chris wrote: Hi Allen With the font issues I found that the font was not specified in the ui file so defaults where applied. Those defaults caused problems. So it may be the defaults on your machine are more suited to your desktop environment than the default on other desktops

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Chris
Hi Allen With the font issues I found that the font was not specified in the ui file so defaults where applied. Those defaults caused problems. So it may be the defaults on your machine are more suited to your desktop environment than the default on other desktops. On windows, QT uses an inter

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Allan
On 29/03/14 01:21, Chris wrote: Hi Guys I am trying to debug the csv import plugin layout problem. It appears the default font may be a large part of the problem but not all of it. Hi Cristian Coming in here from a different angle. Here, I've sorted out the layout problem with Ubuntu-type

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Thomas Baumgart
Hi Chris, @Cristian: please read very last sentence of this mail. TIA. On Saturday 29 March 2014 11:51:31 Chris wrote: > Hi Guys > > I am trying to debug the csv import plugin layout problem. It appears the > default font may be a large part of the problem but not all of it. > > What I can't

Re: [Kmymoney-devel] Debugging plugins

2014-03-29 Thread Christian Dávid
Am Samstag, 29. März 2014, 11:51:31 schrieb Chris: > I have added the path to the bin folder to QT_PLUGIN_PATH I have also tried > adding the application path by calling > QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()); > inside the KApplication Constructor […] > Without c

[Kmymoney-devel] Debugging plugins

2014-03-28 Thread Chris
Hi Guys I am trying to debug the csv import plugin layout problem. It appears the default font may be a large part of the problem but not all of it. What I can't work out is to how to actually debug the plugin inside of msvc2010. KMyMoney does not load the plugin at all when run from the buil