KGlobal::Locale Warning
-
Hello, I'm getting this warning : KGlobalWarning::Locale, I found some solutions online, and am not trying to translate, I know no other language except English, that's all I know, why is it stil giving this warning? Even the Text Editor Example throws this same warning, any ideas?
-
Can you be more detail? As I understood you are using KDE and when you start some Qt app (even from example) you get some warning, am I right? Please describe more. Copy-paste from your console with this warning will be useful also
-
[quote author="Denis Kormalev" date="1310714089"]Can you be more detail? As I understood you are using KDE and when you start some Qt app (even from example) you get some warning, am I right? Please describe more. Copy-paste from your console with this warning will be useful also[/quote]
Okay : KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
When I click Save on the menu item, on the example, it gives that warning, same as the Text Editor I wrote too, only on the SaveAs Link.
-
Maybe some problems in your KDE installation? Looks like it shows when you call file dialog (Qt uses native ones, so it should show KDE one).
-
[quote author="Denis Kormalev" date="1310715496"]Maybe some problems in your KDE installation? Looks like it shows when you call file dialog (Qt uses native ones, so it should show KDE one).[/quote]
I probably shouldn't worry about it, it still saves the files, just thought I'd ask about it, I use Arch Linux, but don't recall having this issue before, =/.
-
I think that you will receive similar message if you for example start kwrite or kate from console, launch file dialog there and look into console output.
-
[quote author="Denis Kormalev" date="1310716259"]I think that you will receive similar message if you for example start kwrite or kate from console, launch file dialog there and look into console output. [/quote]
I'll check it out, maybe it is something to do with my KDE installation. Checked kwrite, didn't say nothing about it, so it's weird..
-
This problem was discussed before "here":http://developer.qt.nokia.com/forums/viewthread/7159 ,although no solution was found. However, I would suggest that you try debugging:
From KGlobal.cpp
@
00173 // If you hit the warning below, here's how to debug it in gdb:
00174 // (gdb) set auto-solib-add on
00175 // (gdb) b qt_message_output
00176 // (gdb) run
00177 // It will stop at the "-nograb" information.
00178 // (gdb) b KLocalePrivate::KLocalePrivate
00179 // (gdb) c
00180 // And now it will stop at the first construction of the KLocale object, type bt or go up to find the
00181 // guilty i18n call.
@