octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: manual build of qscintilla


From: Martin Helm
Subject: Re: manual build of qscintilla
Date: Fri, 24 Aug 2012 13:20:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0

Am 24.08.2012 13:09, schrieb Ben Abbott:
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

Yes it seems I misinterpreted what the variables are for, they refer to the Qt installation. When I look here
http://doc.qt.nokia.com/4.7-snapshot/qmake-environment-reference.html
it seems one has to provide a qmake.conf file with the install paths you want.
Does the qscintilla already has such a qmake.conf file you can edit?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]