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] Qt 4.8.6 can't deploy on OSX
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt 4.8.6 can't deploy on OSX

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 1.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.
  • M Offline
    M Offline
    mcallegari79
    wrote on last edited by
    #1

    Hello,
    I've been successfully deploying with Qt 4.8.5 several times and now that I switched to Qt 4.8.6 I can't anymore.
    It seems the system paths of where the Qt libraries are installed, are ignored, and instead the "otool -L" command on my binaries shows "/usr/local/Trolltech/Qt-4.8.6/lib/Qt..." which doesn't even exist.
    It seems the only place where it is defined is:
    qconfig.pri:QMAKE_RPATHDIR += "/usr/local/Trolltech/Qt-4.8.6/lib"
    in /usr/local/Qt4.8/mkspecs

    So my nametool instructions fails to detect the right paths (which should be /Library/Frameworks/Qt*.framework) and the resulting bundle is corrupted, or works only if Qt is installed in the system.

    I uninstalled Qt 4.8.5 using the uninstall-qt.py tool and then I've installed Qt 4.8.6.
    Did I miss something ?
    Does anyone have a suggestion about this ?

    Thanks

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcallegari79
      wrote on last edited by
      #2

      I uninstalled 4.8.6 and reinstalled 4.8.5.
      The qconfig.pri doesn't even have a QMAKE_RPATHDIR variable.

      I also double checked the 4.8.6 release notes and this change is not mentioned.
      Maybe it was worth a word since it dramatically changes things when deploying ?

      I also tried to comment the guilty line from qconfig.pri in Qt 4.8.6 but the result is the same.
      It seems that path is hardcoded in the libraries !

      ...this is driving me crazy

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

        Hi,

        Sounds strange indeed, you should bring that topic to the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user orientated)

        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
        • M Offline
          M Offline
          mcallegari79
          wrote on last edited by
          #4

          The release has been re-packaged after my ticket.
          It's now named 4.8.6-1

          http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-opensource-mac-4.8.6-1.dmg

          1 Reply Last reply
          0

          • Login

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