[PyKDE] Passing -spec to qmake
Albert Chin
pykde at lists.thewrittenword.com
Tue Nov 4 18:44:00 GMT 2003
On Tue, Nov 04, 2003 at 04:18:52PM +0000, gvermeul at grenoble.cnrs.fr wrote:
> > How about a way to pass the -spec [arg] command-line flag to build.py
> > in sip/pyqt? We build Qt with the vendor C++ compiler to /opt/libqt32
> > and then with GCC to /opt/libqt32/[include,lib]/gcc32. Without -spec,
> > we cannot build sip/PyQT against /opt/libqt32/[include,lib]/gcc32
> > (requires the [platform]-g++ specs file).
> >
> Did you try to specify the Qt base dir (the -q flag) and adjust your
> path variable such that the platform specific qmake is found first?
>
> I mean the qmake's in in:
> /opt/libqt32/bin
> and
> opt/libqt32/bin/gcc32
Our solution is a qmake shell script that invokes qmake with -spec for
the correct spec file.
> However, I would never organize things this way, better
> /opt/libqt32-vendor/[include,lib,bin..]
> /opt/libqt32-gcc/[include,lib,bin...]
Here we differ. We use:
/opt/libqt32/bin # Vendor-compiled binaries
/opt/libqt32/lib # Vendor-compiled libraries
/opt/libqt32/bin/gcc32 # GCC 3.2.x-compiled binaries
/opt/libqt32/lib/gcc32 # GCC 3.2.x-compiled libraries
We prefer this because *all* of Qt 3.2.x is in /opt/libqt32.
--
albert chin (china at thewrittenword.com)
More information about the PyQt
mailing list