[MacPorts] #39221: Cannot deploy Qt applications with MacPorts port qt4-mac

MacPorts noreply at macports.org
Mon May 27 05:30:38 PDT 2013


#39221: Cannot deploy Qt applications with MacPorts port qt4-mac
--------------------------------+-------------------------
  Reporter:  clemens.brunner@…  |      Owner:  michaelld@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.1.3
Resolution:                     |   Keywords:
      Port:  qt4-mac            |
--------------------------------+-------------------------

Comment (by clemens.brunner@…):

 OK. Here are the steps to reproduce this problem:

 1. `sudo port install qt4-mac qt4-creator-mac`
 2. Download
 [http://sourceforge.net/projects/sigviewer/files/0.5.2/sigviewer-0.5.2-src.tar.gz/download
 SigViewer source] and
 [http://sourceforge.net/projects/sigviewer/files/0.5.2/external-0.5.2-macx.zip/download
 external dependencies]
 3. Extract the source and the external dependencies; copy the "external"
 folder into the source folder (overwriting any folders if they exist)
 4. Open `sigviewer.pro` with Qt Creator (make sure that the Qt SDK is
 correctly recognized, otherwise set it manually)
 5. Select the release build (uncheck the debug build), and build inside
 the source folder (`/path/to/sigviewer-0.5.2-src`)
 6. Build the project
 7. In a terminal inside `/path/to/sigviewer-0.5.2-src`, enter:
 `macdeployqt bin/release/sigviewer.app -dmg`
 8. Notice the error I described above
 9. Deploy on Mac OS X 10.6 and notice the immediate crash after starting
 the app
 10. Repeat the steps above, but uninstall the MacPorts versions of all Qt
 packages; install official binaries instead -everything will work fine

-- 
Ticket URL: <https://trac.macports.org/ticket/39221#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list