Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. CRASH : Image not found | qt frameworks
Forum Updated to NodeBB v4.3 + New Features

CRASH : Image not found | qt frameworks

Scheduled Pinned Locked Moved Unsolved India
2 Posts 2 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • pabitrapadhyP Offline
    pabitrapadhyP Offline
    pabitrapadhy
    wrote on last edited by pabitrapadhy
    #1

    Hello Devs,

    Couple of weeks ago, I was looking to run a project and I ran it successfully, below is the link to the thread.
    https://forum.qt.io/topic/69662/how-to-run-this-project/3

    The generated app runs fine in my system.
    However, when I install the generated app in some other mac, I am getting the following error posted below, I have searched a little and found that it's not able to copy the frameworks or something, but couldn't found a correct solution to this problem.

    If anyone is aware of the issue, please guide me to solve this issue.

    Process:               FontBuilder [1531]
    Path:                  /Applications/FontBuilder.app/Contents/MacOS/FontBuilder
    Identifier:            com.yourcompany.FontBuilder
    Version:               ???
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           FontBuilder [1531]
    User ID:               503
    
    Date/Time:             2016-08-09 16:09:48.422 +0530
    OS Version:            Mac OS X 10.11.6 (15G31)
    Report Version:        11
    Anonymous UUID:        3EFC93EF-913C-0BEE-2FDB-AA8C210ADDEF
    
    Sleep/Wake UUID:       A18B78BD-6C05-4511-9136-14EBCF3C8726
    
    Time Awake Since Boot: 7900 seconds
    Time Since Wake:       5800 seconds
    
    System Integrity Protection: enabled
    
    Crashed Thread:        0
    
    Exception Type:        EXC_BREAKPOINT (SIGTRAP)
    Exception Codes:       0x0000000000000002, 0x0000000000000000
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Application Specific Information:
    dyld: launch, loading dependent libraries
    
    Dyld Error Message:
     Library not loaded: @rpath/QtWidgets.framework/Versions/5/QtWidgets
     Referenced from: /Applications/FontBuilder.app/Contents/MacOS/FontBuilder
     Reason: image not found
    
    Binary Images:
       0x7fff645f1000 -     0x7fff64628a47  dyld (360.22) <DC81CC9D-651A-3A45-8809-928282052BD3> /usr/lib/dyld
       0x7fff8693e000 -     0x7fff8694fff7  libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
    
    Model: MacBookAir7,2, BootROM MBA71.0166.B12, 2 processors, Intel Core i5, 1.6 GHz, 4 GB, SMC 2.27f2
    Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4B3445384533303445452D45474345000000
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4B3445384533303445452D45474345000000
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
    Bluetooth: Version 4.4.6f1 17910, 3 services, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en0
    Serial ATA Device: APPLE SSD SM0256G, 251 GB
    USB Device: USB 3.0 Bus
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus: MacBook Air, Apple Inc., 27.2
    

    Thanks in advance :)

    UPDATE:

    looking at some other link pertaining similar issue -
    https://forum.qt.io/topic/50664/solved-dyld-error-message-in-deployment-on-mac/3

    I ran otool -L command to my app and got the following output -

    Pabitras-MacBook-Air:Desktop pabitra$ otool -L FontBuilder.app/Contents/MacOS/FontBuilder
    FontBuilder.app/Contents/MacOS/FontBuilder:
    	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
    	@rpath/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.7.0, current version 5.7.0)
    	@rpath/QtGui.framework/Versions/5/QtGui (compatibility version 5.7.0, current version 5.7.0)
    	@rpath/QtCore.framework/Versions/5/QtCore (compatibility version 5.7.0, current version 5.7.0)
    	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
    	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
    	@rpath/QtXml.framework/Versions/5/QtXml (compatibility version 5.7.0, current version 5.7.0)
    	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
    	/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
    	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
    	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.1.1)
    
    

    WORKED

    After generating the app.
    I had to run this command -

    macdeployqt  FontBuilder.app -dmg
    

    Thanks for your help guys. :)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved