Results 1 to 1 of 1

Thread: Cocoa vs Carbon | "not of required architecture" error

  1. #1
    Join Date
    Apr 2011
    Posts
    12
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Angry Cocoa vs Carbon | "not of required architecture" error

    I have an application with multiple projects. Project B uses classes in project A. Project A compiles fine, however when I try to build project B I get a bunch of "not of required architecture" errors when referring to classes in project A.

    Qt Code:
    1. in /path/projectA.a, file is not of required architecture
    To copy to clipboard, switch view to plain text mode 


    I'm building everything as release GCC (x86 32 bit) on an Intel Core Duo Mac Mini.

    I'm new to both QT and Mac development, so bear with me. Could this problem be because I'm using the Carbon version of QT and need to be using Cocoa (or visa versa)?

    Also, how to I figure out which version (Carbon or Cocoa) of QT I'm running?


    Thanks



    Edit: I ran lipo on the file in question, and apparently there is no architecture info. I'm not sure what this means.

    Qt Code:
    1. $lipo -info projectA.a
    2. lipo: archive with no architecture specification: projectA.a (can't determine architecture for it)
    To copy to clipboard, switch view to plain text mode 
    Last edited by orfner; 16th June 2011 at 23:19.

Similar Threads

  1. Replies: 32
    Last Post: 25th August 2012, 23:10
  2. error: #error "Not supported ARM architecture"
    By knobby67 in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 21st February 2010, 09:31
  3. Replies: 2
    Last Post: 7th September 2009, 21:13
  4. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 11:45
  5. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 15:58

Tags for this Thread

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.