[MacPorts] #37662: qt4-mac QtGui resources
#37662: qt4-mac QtGui resources --------------------------+-------------------------------- Reporter: chris.pike@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: qt4-mac --------------------------+-------------------------------- QtGui resources installed in /opt/local/ /opt/local/lib/libQtGui.dylib The location of QtGui framework resources (qt_menu.nib) cannot be obtained using pkg-config, due to the way that /opt/local/lib/libQtGui.dylib links to /opt/local/Library/Frameworks/QtGui.framework/QtGui. A script I have to create an .app bundle, which uses Qt GUI resources, fails with a Mac Ports install of Qt because qt_menu.nib cannot be found in the usual way. It looks in /opt/local/lib/Resources instead of /opt/local/Library/Frameworks/QtGui.framework/Resources. Can this be fixed somehow? -- Ticket URL: <https://trac.macports.org/ticket/37662> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37662: qt4-mac QtGui resources ---------------------------+------------------------- Reporter: chris.pike@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | ---------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… -- Ticket URL: <https://trac.macports.org/ticket/37662#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37662: qt4-mac QtGui resources ---------------------------+------------------------- Reporter: chris.pike@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | ---------------------------+------------------------- Comment (by michaelld@…): Can you post your script, so I have a better understanding? -- Ticket URL: <https://trac.macports.org/ticket/37662#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37662: qt4-mac QtGui resources ---------------------------+------------------------- Reporter: chris.pike@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | ---------------------------+------------------------- Comment (by chris.pike@…): I am installing the SoundScape Renderer project (https://dev.qu.tu- berlin.de/projects/ssr/files) - version 0.3.4. I followed the procedure outlined here: https://dev.qu.tu- berlin.de/projects/ssr/wiki/SSR_for_MacOSX#Building-the-SSR-on-Mac-OS-X When building an application bundle: {{{ ./configure JACK_LIBS="-L/usr/local/lib -ljack" JACK_CFLAGS=-I/usr/local/include/jack --enable-app-bundle make dmg }}} It fails with error: {{{ cp -r /opt/local/lib/Resources/qt_menu.nib /Users/chrisp/Documents/Code/BBC/SpatialAudio/ssr-0.3.4-bbc/MacOSX-App- Bundle/SoundScapeRenderer-0.3.4/SoundScapeRenderer.app/Contents/Resources/ cp: /opt/local/lib/Resources/qt_menu.nib: No such file or directory }}} This error occurs when the Makefile is copying the QtGui resources across into the .app bundle. The instruction to perform this step is at path/to/ssr-0.3.4/data/MacOSX/Makefile.am:46 {{{ cp -r $(QTLIBDIR)/Resources/qt_menu.nib $(DESTDIR)$(pkgdatadir)/ }}} and QTLIBDIR is obtained from pkg-config (path/to/ssr-0.3.4/configure.ac:479) {{{ QTLIBDIR=`$PKG_CONFIG --variable=libdir QtGui` }}} -- Ticket URL: <https://trac.macports.org/ticket/37662#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37662: qt4-mac QtGui resources ---------------------------+------------------------- Reporter: chris.pike@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | ---------------------------+------------------------- Comment (by michaelld@…): I see; let me look into this a bit. -- Ticket URL: <https://trac.macports.org/ticket/37662#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37662: qt4-mac QtGui resources ---------------------------+------------------------- Reporter: chris.pike@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | ---------------------------+------------------------- Comment (by michaelld@…): I just attached a patch to the qt4-mac Portfile which I think will fix this issue. I'll try to get qt4-mac (re)built over the weekend so I can test the "destroot" phase, which is where this change takes place. You can also test this patch, if you want to. -- Ticket URL: <https://trac.macports.org/ticket/37662#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37662: qt4-mac QtGui resources ---------------------------+------------------------- Reporter: chris.pike@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: qt4-mac | ---------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Done in r102010. -- Ticket URL: <https://trac.macports.org/ticket/37662#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts