Results 1 to 3 of 3

Thread: Problems running on a Mac

  1. #1
    Join Date
    Oct 2006
    Posts
    279
    Thanks
    6
    Thanked 40 Times in 39 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Problems running on a Mac

    Hi guys,
    I've got a project running under windows and now I've tried compiling it for the mac, but I'm afraid I lack the experience.

    I have Mac OS X 10.4.9 Intel Core 2 Duo and I have installed
    qt-mac-opensource-4.2.3.dmg
    qt-mac-opensource-4.2.3-debug-libs.dmg
    and XCode 2.4.1 with i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1

    I can compile and run the Qt Examples just fine, but after I compiled my own code and try to run it I get:
    Qt Code:
    1. dyld: Library not loaded: /var/tmp//ccqpih9m.out
    2. Referenced from: /Users/user/path/to/app/Appname/app/Contents/MacOS/Appname
    3. Reason: image not found
    4. Trace/BPT trap
    To copy to clipboard, switch view to plain text mode 
    It doesn't matter if I build with XCode or with
    Qt Code:
    1. qmake -spec macx-g++
    2. make
    To copy to clipboard, switch view to plain text mode 
    I would appreciate any pointers. Could it be a PowerPC/intel problem, or should I try to rebuild Qt from source?

  2. #2
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems running on a Mac

    Quote Originally Posted by spud View Post
    Hi guys,
    qt-mac-opensource-4.2.3-debug-libs.dmg
    ate any pointers. Could it be a PowerPC/intel problem, or should I try to rebuild Qt from source?
    I have bad experience on qt-mac-opensource-4.2.3-debug-libs.dmg bundle DMG..

    Many libs not found...

    Install from source is better and clean ...



    http://www.qtforum.de/forum/viewtopic.php?t=4123
    http://wiki.qtcentre.org/index.php?t...t4_on_Mac_OS_X

    any lib source extra http://www.macports.org/ installer && build make a good job...

  3. The following user says thank you to patrik08 for this useful post:

    spud (20th May 2007)

  4. #3
    Join Date
    Oct 2006
    Posts
    279
    Thanks
    6
    Thanked 40 Times in 39 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems running on a Mac

    Danke!
    Excellent pointers. It will probably take me a while to try it out, but now i have a starting point.

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.