[Kmymoney-devel] Debugging plugins
Chris
DeveloperChris at rebel.com.au
Sat Mar 29 22:19:55 UTC 2014
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 internationalised font
"ms shell dlg 2" which may or may not be a good choice. To get a consistent
look and feel across desktops requires a consistent font.
It may not be ubuntu's fault.
If you could attach a patch that would be wonderful
Chris
On 29/03/2014 9:14 PM, Allan wrote:
> 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