Results 1 to 3 of 3

Thread: Creating universal binary

  1. #1
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Creating universal binary

    I tried searching for tutorials on how to create universal binary, but could not find anything solid.

    Can someone please point me to the right direction ?

    Thanks a lot.

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Creating universal binary

    Try looking at this wiki page - http://wiki.qtcentre.org/index.php?t...pps_with_CMake - I know that Matt (the author of the Mac section) creates universial binaries using cmake.

  3. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Creating universal binary

    If you are using qmake, look at the "qmake Platform Notes" page in Assistant. Also see the page "Deploying an Application on Qt/Mac. In a nutshell, you need the line "CONFIG += x86 ppc" in your project file. If building on a PPC platform, there is some other stuff you need to do.

    p.s. Your Qt also needs to be built as a universal binary.

    p.p.s. This is for Qt 4. Qt 3 doesn't directly support universal binaries. You can do it, but it's a lot of work. If this is your situation, I would build just the PPC version, then hope that it works on x86 with Rosetta.
    Last edited by Brandybuck; 20th November 2006 at 19:57.

Similar Threads

  1. Problem in creating thread in GUI application
    By jyoti kumar in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2006, 12:05
  2. How to convert binary data to hexadecimal data
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 8th March 2006, 16:17
  3. xml with binary question
    By TheKedge in forum Qt Programming
    Replies: 7
    Last Post: 12th January 2006, 23:21

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.