[Kde-perl] Converting Qt4 QString to ordinary Perl string

Adam Bar adamrbar at gmail.com
Sat Jun 13 00:37:53 CEST 2009


Hello everyone,

My question is maybe stupid, but I am looking for few hours for the
solution - how to get string value from variable blessed QString?
my $str = 'string';
my $obj = QString($str);
# how to get 'string' from $obj ?

Methods like latin1(), ascii() are not defined in my perl binding.

I am using Perl Qt 4.004, Perl 5.8.8.

Thanks in advance!
Adam


More information about the Kde-perl mailing list