Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] QTIFW installer crashes on Mac OSX

[SOLVED] QTIFW installer crashes on Mac OSX

Scheduled Pinned Locked Moved Installation and Deployment
macdeployqtqtifwmac os xyosemite
4 Posts 2 Posters 1.8k Views
  • 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.
  • E Offline
    E Offline
    echobravo
    wrote on 15 Jul 2015, 20:41 last edited by echobravo
    #1

    Mac OS (10.10.3) Yoxemite for dev and testing
    Qt 5.4.2 / QTIFW 2.0.1 (latest downloads for both)

    Building an offline installer, which is based off the examples/tutorial.

    Initially installer would not build complained of not finding lib installer.1.dylib
    got that fixed, but the deployed installer crashes on my test Mac and complains for the same lib:
    Dyld Error Message:
    Library not loaded: libinstaller.1.dylib
    Referenced from: /Users/USER/Desktop/Installer.app/Contents/MacOS/Installer
    Reason: image not found

    After the installer built I really expected it to just work since there has been minimal customization done so far.

    Thanks in advance!

    While getting the installer to build I employed:

    • otool to look at which libs were needed
    • install_name_tool -change to update versions of libs used
    • and made symbolic links to libs that were in a dir that was not expected...

    Could this be another bug on Mac for the QTIFW?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Jul 2015, 14:26 last edited by
      #2

      Hi,

      What about using macdeployqt on your Installer.app, it should copy frameworks/libs/fix links for you.

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

      E 1 Reply Last reply 16 Jul 2015, 20:31
      1
      • S SGaist
        16 Jul 2015, 14:26

        Hi,

        What about using macdeployqt on your Installer.app, it should copy frameworks/libs/fix links for you.

        E Offline
        E Offline
        echobravo
        wrote on 16 Jul 2015, 20:31 last edited by echobravo
        #3

        @SGaist seems "recursively" odd, but I'll try it
        @SGaist u the man, that fixed it! TYVM
        I had intuitively expected that making an installer would result in a binary that was ready for deployment...

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 19 Jul 2015, 22:00 last edited by
          #4

          I agree with you. However, I haven't yet tested QtIF enough to determine if this could be considered a bug...

          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
          0

          3/4

          16 Jul 2015, 20:31

          • Login

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