Summary: | qtruby exception when accessing QStyleOption::state (ArgumentError) | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | Florian Staudacher <florian_staudacher> |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | arno |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Florian Staudacher
2012-06-28 00:22:05 UTC
This error is related to smoke and should have been fixed in recent revisions. Please get smokegen from git and rebuild smokeqt (preferably also from git) and tell us if it works :) The fix should be included in the 4.9 release if smokegen. Thank you for the quick response! I now got smokegen, smokeqt and qtruby from current git master and built them. Unfortunately, that doesn't solve the issue. I am still getting the same error. I've just tried this myself, works flawlessly: $ irb irb(main):001:0> require 'Qt4' => true irb(main):002:0> test = Qt::StyleOption.new => #<Qt::StyleOption:0x00000001a71808> irb(main):003:0> test.state => 0 irb(main):004:0> Are you sure that you're using the new smokegen version to build smokeqt? Does qtruby use the new version of smokeqt? You're right, sorry. It must have used the version from the package manager instead of the one I built, so I removed the pagages and rebuilt everything. Now it's working fine. Thank you for your help! |