[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: manual build of qscintilla
From: |
Ben Abbott |
Subject: |
Re: manual build of qscintilla |
Date: |
Fri, 24 Aug 2012 07:09:06 -0400 |
On Aug 24, 2012, at 3:45 AM, Martin Helm wrote:
> Am 24.08.2012 03:40, schrieb Ben Abbott:
>> On Aug 23, 2012, at 9:33 PM, Ben Abbott wrote:
>>
>>> The MacPorts version is qscintilla is a bit dated, so I decided to build a
>>> more recent version from source. I'd like to try to install it in a
>>> location independent of MacPorts.
>>>
>>> I tried ...
>>>
>>> qmake-qt4 PREFIX=/opt/fubar qscintilla.pro
>>> make
>>>
>>> ... but the resulting Makefile appears to prepared to install qscintilla in
>>> the location used by MacPorts (/opt/local).
>>>
>>> How may I tell qmake-qt4 to use a different install prefix for qscintilla?
>>>
>>> Ben
>> In the event, I'm not understanding the Makefile's internals, maybe a better
>> question is how to I determine where qscintilla will be installed?
>>
>> Ben
> qmake-qt4 -query
> should spit out all variables which you can set with
>
Below is what "qmake-qt4 -query" returns.
QT_INSTALL_PREFIX:/opt/local
QT_INSTALL_DATA:/opt/local/share/qt4
QT_INSTALL_DOCS:/opt/local/share/doc/qt4
QT_INSTALL_HEADERS:/opt/local/include
QT_INSTALL_LIBS:/opt/local/lib
QT_INSTALL_FRAMEWORKS:/opt/local/Library/Frameworks
QT_INSTALL_BINS:/opt/local/bin
QT_INSTALL_PLUGINS:/opt/local/share/qt4/plugins
QT_INSTALL_IMPORTS:/opt/local/share/qt4/imports
QT_INSTALL_TRANSLATIONS:/opt/local/share/qt4/translations
QT_INSTALL_CONFIGURATION:/opt/local/etc/qt4
QT_INSTALL_EXAMPLES:/opt/local/share/qt4/examples
QT_INSTALL_DEMOS:/opt/local/share/qt4/demos
QMAKE_MKSPECS:/opt/local/share/qt4/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.2
My impression is that QT_INSTALL_PREFIX refers to where QT has been installed.
Am I wrong about that?
$ qmake-qt4 -set QT_INSTALL_PREFIX /opt/fubar
$ qmake-qt4 -query
QT_INSTALL_PREFIX:/opt/fubar
QT_INSTALL_PREFIX:/opt/local
QT_INSTALL_DATA:/opt/local/share/qt4
QT_INSTALL_DOCS:/opt/local/share/doc/qt4
QT_INSTALL_HEADERS:/opt/local/include
QT_INSTALL_LIBS:/opt/local/lib
QT_INSTALL_FRAMEWORKS:/opt/local/Library/Frameworks
QT_INSTALL_BINS:/opt/local/bin
QT_INSTALL_PLUGINS:/opt/local/share/qt4/plugins
QT_INSTALL_IMPORTS:/opt/local/share/qt4/imports
QT_INSTALL_TRANSLATIONS:/opt/local/share/qt4/translations
QT_INSTALL_CONFIGURATION:/opt/local/etc/qt4
QT_INSTALL_EXAMPLES:/opt/local/share/qt4/examples
QT_INSTALL_DEMOS:/opt/local/share/qt4/demos
QMAKE_MKSPECS:/opt/local/share/qt4/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.2
How do I back out "/opt/fubar'?
Ben