Output is:

>>>>>>>>>>>>>>>>>.
[csnell...@csnellman-desktop ~]$ which qmake
/usr/local/Trolltech/Qt-4.7.1/bin/qmake
[csnell...@csnellman-desktop ~]$ qmake -query
-unix is deprecated.
QT_INSTALL_PREFIX:/usr/lib/madde/linux-i686/targets/meego-core-ia32-1.1/bin
QT_INSTALL_DATA:/usr/lib/madde/linux-i686/sysroots/meego-core-ia32-madde-sysroot-1.1-fs/usr/share/qt4
QT_INSTALL_DOCS:/usr/lib/madde/linux-i686/targets/meego-core-ia32-1.1/bin/doc
QT_INSTALL_HEADERS:/usr/lib/madde/linux-i686/sysroots/meego-core-ia32-madde-sysroot-1.1-fs/usr/include/qt4
QT_INSTALL_LIBS:/usr/lib/madde/linux-i686/sysroots/meego-core-ia32-madde-sysroot-1.1-fs/usr/lib
QT_INSTALL_BINS:/usr/lib/madde/linux-i686/targets/meego-core-ia32-1.1/bin
QT_INSTALL_PLUGINS:/usr/lib/madde/linux-i686/sysroots/meego-core-ia32-madde-sysroot-1.1-fs/usr/lib/qt4/plugins
QT_INSTALL_IMPORTS:/usr/lib/madde/linux-i686/targets/meego-core-ia32-1.1/bin/imports
QT_INSTALL_TRANSLATIONS:/usr/lib/madde/linux-i686/sysroots/meego-core-ia32-madde-sysroot-1.1-fs/usr/share/qt4/translations
QT_INSTALL_CONFIGURATION:/usr/lib/madde/linux-i686/targets/meego-core-ia32-1.1/bin
QT_INSTALL_EXAMPLES:/usr/share/qt4/examples
QT_INSTALL_DEMOS:/usr/lib/madde/linux-i686/targets/meego-core-ia32-1.1/bin
QMAKE_MKSPECS:/usr/lib/madde/linux-i686/sysroots/meego-core-ia32-madde-sysroot-1.1-fs/usr/share/qt4/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.7.0
[csnell...@csnellman-desktop ~]$ /usr/local/Trolltech/Qt-4.7.1/bin/qmake -query
QT_INSTALL_PREFIX:/usr/local/Trolltech/Qt-4.7.1
QT_INSTALL_DATA:/usr/local/Trolltech/Qt-4.7.1
QT_INSTALL_DOCS:/usr/local/Trolltech/Qt-4.7.1/doc
QT_INSTALL_HEADERS:/usr/local/Trolltech/Qt-4.7.1/include
QT_INSTALL_LIBS:/usr/local/Trolltech/Qt-4.7.1/lib
QT_INSTALL_BINS:/usr/local/Trolltech/Qt-4.7.1/bin
QT_INSTALL_PLUGINS:/usr/local/Trolltech/Qt-4.7.1/plugins
QT_INSTALL_IMPORTS:/usr/local/Trolltech/Qt-4.7.1/imports
QT_INSTALL_TRANSLATIONS:/usr/local/Trolltech/Qt-4.7.1/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/local/Trolltech/Qt-4.7.1/examples
QT_INSTALL_DEMOS:/usr/local/Trolltech/Qt-4.7.1/demos
QMAKE_MKSPECS:/usr/local/Trolltech/Qt-4.7.1/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.7.1
[csnell...@csnellman-desktop ~]$

<<<<<<<<<<<<<<<<

I realized that the qmake is actually using the other qmake, even
though 'which qmake' claims to use the one at
/usr/local/Trolltech/Qt-4.7.1/bin... I wonder what causes this?
I have 'export PATH=/usr/local/Trolltech/Qt-4.7.1/bin:$PATH' in my
.bashrc, however something seems to be overriding that.
Anyhow, I'll try to compile using absolute path...

Thanks for getting me on track!

Carl

On Mon, Nov 22, 2010 at 12:07 AM, Rohan McGovern
<[email protected]> wrote:
> Carl Snellman said:
>> Hey Mark,
>> thanks for the tip. I rebooted the netbook, but unfortunately, it is
>> not that simple. The PATH setting is correct, pointing to correct
>> qmake (/usr/local/Trolltech/Qt-4.7.1/bin/qmake) but that qmake is set
>> to use wrong libs...
>> (/usr/lib/madde/linux-i686/sysroots/meego-core-ia32-madde-sysroot-1.1-fs/usr/lib
>> instead of /usr/local/Trolltech/Qt-4.7.1/lib/)
>>
>> I really cant figure out where qmake is pulling this lib path from.
>> I cannot compile my app at all since I have compiled a dependency (1.2
>> qt-mobility) to that path /usr/local/Trolltech/Qt-4.7.1/lib/...
>>
>> Any ideas anyone?
>>
>
> What's the output of `qmake -query' ?
> --
> Rohan McGovern
> QA Engineer
> Qt Development Frameworks, Nokia
>
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to