Results 1 to 2 of 2

Thread: QtGui.framework issue while running a small application - GC capability did not match

  1. #1
    Join Date
    Jan 2011
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X

    Default QtGui.framework issue while running a small application - GC capability did not match

    Hi,

    I really need help with a small application, which was written with the help of the itk/vtk libraries. i just installed the qt framework, because i would like to extend the app with some sliders and gui functionality from qt, but i just cannot run the application. Although there is no "qt-code" in my work?
    While trying to run, i just get the following notice:
    objc[33421]: '/Library/Frameworks/QtGui.framework/Versions/4/QtGui' was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC
    objc[33421]: *** GC capability of application and some libraries did not match
    Illegal instruction

    I'm really new to qt and i'm just starting to intensify my skills in c++, so please don't be too hard on judging my newbie-problems... But i'm really interested in to get better!
    Last edited by larsemann; 15th January 2011 at 14:15.

  2. #2
    Join Date
    Jan 2011
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QtGui.framework issue while running a small application - GC capability did not m

    Hi, finally I helped myself with collecting some experience in the vtk compile flags.
    After i set VTK_REQUIRED_OBJECTXX_FLAGS to '-fobjc-gc' everything works fine.

    Anyway, thanks for reading.

Similar Threads

  1. OS X: linker not finding QtGui in framework...
    By rickbsgu in forum Qt Programming
    Replies: 4
    Last Post: 28th September 2010, 17:36
  2. qt-4.7 pkgconfig QtGui.pc incorrectly includes Carbon framework, when built w/cocoa
    By elvisjohndowson in forum Installation and Deployment
    Replies: 1
    Last Post: 20th July 2010, 19:39
  3. Small useful QT application
    By Raydan in forum Newbie
    Replies: 2
    Last Post: 28th November 2009, 12:23
  4. Replies: 0
    Last Post: 2nd April 2008, 07:48
  5. i have a problem in a very small application?
    By coder1985 in forum Qt Programming
    Replies: 3
    Last Post: 22nd November 2007, 17:09

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.