[Kmymoney-devel] Debugging plugins
Allan
agander93 at gmail.com
Sat Mar 29 10:44:58 UTC 2014
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 distros, by applying some settings in the
plugin code, instead of relying on the UI file settings. Obviously,
Ubuntu over-rides the UI settings, presumably to make things look nice,
even if the result is a broken plugin. It may well be that the same
happens on Windows, so my fix may help you.
I've got slightly side-tracked by some other minor tidyness issues I
noticed, but I could send you a patch for you to try, if you wish. It's
only concerns the layout, not the icon thing your screen shot showed.
Allan
> 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
> build directory and when installed it loads the plugin from the libs
> directory but because there is no symbol file msvc cant step into it.
>
> It seems mildly insane to have to install and copy the symbols into the
> libs folder everytime I make a code change!!!
>
> I have tried telling QT to use the build folder but it seems to ignore it
>
> 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
>
> Both methods succesfully prepend the build folder to the plugin path but
> it makes no difference. The plugins (none of them) are loaded.
>
> All the plugins are in the same folder as the application. The app runs,
> it just has no loaded plugins.
>
> I also added the application path to the PATH env. No luck whatsoever.
>
> Without copying the plugins to the lib folder each time how can I debug it?
>
> Chris
> _______________________________________________
More information about the KMyMoney-devel
mailing list