[Kde-bindings] [Bug 100123] New: require 'Korundum' conflicts with require 'Qt'

Caleb Tennis caleb at gentoo.org
Wed Feb 23 21:06:51 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=100123         
           Summary: require 'Korundum' conflicts with require 'Qt'
           Product: bindings
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings mail kde org
        ReportedBy: caleb gentoo org


Version:            (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3 
OS:                Linux

I can successfully use either require 'Korundum' or require 'Qt' in a program. However, if you use them in this order:

require 'Korundum'
require 'Qt'

You get the following error:

NameError: uninitialized constant KDE::CmdLineArgs
        from /usr/lib/ruby/site_ruby/1.8/KDE/korundum.rb:326:in `const_missing'
        from /usr/lib/ruby/site_ruby/1.8/KDE/korundum.rb:326


An obvious workaround is to not have both, but the error message isn't intuitive as to what the problem is.



More information about the Kde-bindings mailing list