[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: [Kde-bindings] [Bug 302672] New: qtruby exception when accessing QStyleOption::state (ArgumentError)
From: Florian Staudacher <florian_staudacher () yahoo ! de>
Date: 2012-06-28 0:22:05
Message-ID: bug-302672-22004 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=302672
Bug ID: 302672
Severity: major
Version: unspecified
Priority: NOR
Assignee: kde-bindings@kde.org
Summary: qtruby exception when accessing QStyleOption::state
(ArgumentError)
Classification: Unclassified
OS: Linux
Reporter: florian_staudacher@yahoo.de
Hardware: Other
Status: UNCONFIRMED
Component: general
Product: bindings
I am using
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux], compiled with RVM,
and I have compiled qtruby from git (without phonon),
on Fedora 16.
When I try to run the pixelator example I get the following error:
`method_missing': Cannot handle 'QFlags<QStyle::StateFlag>&' as return-type of
QStyleOption::state (ArgumentError)
As far as googling for that error message goes, it seems this is generated by
smoke...
This is bad, because a packaged example doesn't work(!),
and it completely breaks the rendering of custom item delegates with a little
complexity.
Reproducible: Always
Steps to Reproduce:
1. use ruby 1.9.3 and qtruby from git
2. prepare to run the pixelator example (rcc the resources, etc.)
3. run the pixelator example
Actual Results:
ruby exited with the above mentioned error
Expected Results:
show the pixelator example
A very stripped down script, which, for me, reproduces the error every time,
would be:
require 'Qt4'
test = Qt::StyleOption.new
puts test.state
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic