Why is it that whenever I try using a KDE widget I get a segfault in KInstance::config()?
It seems to work though if I change in the main.cpp Qapplication to KApplication.
Do you need to use KApplication?
I am pretty sure I've used KDE widgets before, with a QTDesigner generated main.cpp.
It just stopped working...
For example here's a small program that's just a dialog with a URL label.
Any help with this is appreciated,
Latem
The march of progress:
C:
printf("%10.2f", x);
C++:
cout << setw(10) << setprecision(2) << showpoint << x;
Java:
java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
formatter.setMinimumFractionDigits(2);
formatter.setMaximumFractionDigits(2);
String s = formatter.format(x);
for (int i = s.length(); i < 10; i++) System.out.print(' ');
System.out.print(s);