[MacPorts] #36280: qt4-creator-mac cannot find QMLViewer
MacPorts
noreply at macports.org
Sat Sep 22 05:35:20 PDT 2012
#36280: qt4-creator-mac cannot find QMLViewer
------------------------+--------------------------------
Reporter: macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: qt4-creator-mac
------------------------+--------------------------------
Although qt4-creator-mac automatically detects the QMake binary and Qt
libraries of the installed version of qt4-mac, it fails to find the
QmlViewer application. This is because it only searches for it in the
directory containing the QMake binary (/opt/local/bin), but the
application is actually installed in ${qt_apps_dir}
(/Applications/MacPorts/Qt4) instead.
To reproduce this issue, open the "Preferences", go to the "Build & Run"
section and select the "Qt Versions" tab. If QmlViewer is not found, a
warning icon appears next to the selected Qt version and the description
says "No qmlviewer installed."
The solution is to enhance the application-finding mechanism of qt4
-creator-mac to explicitly search in ${qt_apps_dir} as well. I'm going to
add a patch shortly which does this.
--
Ticket URL: <https://trac.macports.org/ticket/36280>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list