[MacRuby] #669: Unable to find QTKit constant within a MacRuby app
#669: Unable to find QTKit constant within a MacRuby app ----------------------------------------+----------------------------------- Reporter: martinlagardette@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: qtkit ----------------------------------------+----------------------------------- MacRuby seems unable to find a constant included in the QTKit framework when called from within a MacRuby app. On the command line, everything is fine: {{{ $> macruby -e "framework 'QTKit'; p QTIncludeCommonTypes" 0 $> macruby -e "framework 'Cocoa'; framework 'QTKit'; p QTIncludeCommonTypes" 0 }}} Attached is a simple MacRuby app. Freshly created, I just linked the QTKit framework, added `framework "QTKit"` and tried to print `QTIncludeCommonTypes`. -- Ticket URL: <http://www.macruby.org/trac/ticket/669> MacRuby <http://macruby.org/>
#669: Unable to find QTKit constant within a MacRuby app ----------------------------------------+----------------------------------- Reporter: martinlagardette@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: qtkit ----------------------------------------+----------------------------------- Comment(by martinlagardette@…): Not linking against QTKit solved the problem. That means there is a problem with how BridgeSupport files are loaded. Linking against the Frameworks make Obj-C load the framework before MacRuby does, hence omitting the BridgeSupport files we need. This should change, and as a note: "it's in objc.m and bridgesupport.cpp" -- Ticket URL: <http://www.macruby.org/trac/ticket/669#comment:1> MacRuby <http://macruby.org/>
#669: Unable to find QTKit constant within a MacRuby app ----------------------------------------+----------------------------------- Reporter: martinlagardette@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: qtkit | ----------------------------------------+----------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: This has been fixed in r4016. -- Ticket URL: <http://www.macruby.org/trac/ticket/669#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby