[oe] [RFH] qt4-tools-sdk not providing right values

Eric Bénard eric at eukrea.com
Tue Feb 15 09:58:46 UTC 2011


Hi Otavio,

On 15/02/2011 01:15, Otavio Salvador wrote:
> CMake (that is being used more and more for qt applications) depends
> on qmake -query values to "detect" qt and headers. Do someone know how
> we can address it so a fully working Qt SDK that works with qmake can
> be done?
>
ok, the path actually reported are wrong ex with angstrom :
QT_INSTALL_PREFIX:/usr/local/angstrom/arm/

Can you try this :
create a qt.conf in /usr/local/angstrom/arm/bin
with the following content :
[Paths]
Prefix = /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr

cd /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr
ln -s share/qtopia/mkspecs/

then qmake -query reports correct paths :
QT_INSTALL_PREFIX:/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr
QT_INSTALL_HEADERS:/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include
QT_INSTALL_LIBS:/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib

Can you try if that also works with CMake ?

Eric




More information about the Openembedded-devel mailing list