Results 1 to 3 of 3

Thread: Qt Mac dyld Library not loaded

  1. #1
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Question Qt Mac dyld Library not loaded

    Hi all,

    I am trying to use Qt in my Mac system. There seems to be an issue when i execute a simple code.

    While trying to run a QMainWindow application, I get the following errors

    Starting /Users/Brian/Projects/QtProjects/Simple2-build-desktop-Desktop_Qt_4_8_0_for_GCC__Qt_SDK__Debug/Simple2.app/Contents/MacOS/Simple2...
    dyld: Library not loaded: /Users/pulseagent/repos/build2/Desktop/Qt/4.8.0/gcc/lib/QtGui.framework/Versions/4/QtGui
    Referenced from: /Users/Brian/Projects/QtProjects/Simple2-build-desktop-Desktop_Qt_4_8_0_for_GCC__Qt_SDK__Debug/Simple2.app/Contents/MacOS/Simple2
    Reason: image not found
    The program has unexpectedly finished.
    /Users/Brian/Projects/QtProjects/Simple2-build-desktop-Desktop_Qt_4_8_0_for_GCC__Qt_SDK__Debug/Simple2.app/Contents/MacOS/Simple2 exited with code 0

    How do I load this library? Could somebody help me out with this?

    Thanks...

  2. #2
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt Mac dyld Library not loaded

    k...I seem to have solved the problem. I had to copy the entire QtGUI framework folder to ../System/Library/Frameworks/ and it worked...Is there an automated way to do this?

  3. #3
    Join Date
    Apr 2012
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Mac dyld Library not loaded

    I"m having the same problem and was wondering if you'd be able to post exactly which folder you copied and where exactly you placed it. I am normally a Windows developer so getting into the world of Mac has been frustrating.

    Thank You

Similar Threads

  1. Dynamic library on Mac, Library not loaded
    By grayfox in forum Newbie
    Replies: 2
    Last Post: 2nd July 2011, 02:42
  2. Replies: 2
    Last Post: 19th February 2011, 11:26
  3. Replies: 1
    Last Post: 18th December 2010, 11:05
  4. Replies: 1
    Last Post: 24th April 2010, 03:43
  5. Replies: 4
    Last Post: 18th December 2009, 18:55

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.