Carl, Please verify that you do not have the path to the qmake binary cached. You may check this by logging out and back in in by applying the methods described in this article. http://blog.byohosting.com/2008/01/17/how-to-clear-shell-command-path-cache/ Please check which "qmake -v" responds after this. BR Mark
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ext Carl Snellman Sent: Monday, November 22, 2010 2:04 PM To: Vincent Yau Cc: [email protected] Subject: Re: [MeeGo-dev] Compiling Qt 4.7.1 on Meego? Hey, So I managed to compile Qt libs from source after installing the deps. The whole command chain was as follows (Vincent, thanks for the tip!): sudo zypper install -t pattern development-libs development-tools x-software-development ./configure -meego gmake gmake docs sudo gmake install The libs got installed to default location, /usr/local/Trolltech/Qt-4.7.1/ Then, I set the path to point to new qmake: export PATH=/usr/local/Trolltech/Qt-4.7.1/bin:$PATH The problem now I have is that qmake still seems to use the 'old' libs: [csnell...@csnellman-desktop Oxygen-build-desktop]$ which qmake /usr/local/Trolltech/Qt-4.7.1/bin/qmake [csnell...@csnellman-desktop Oxygen-build-desktop]$ qmake -v -unix is deprecated. QMake version 2.01a Using Qt version 4.7.0 in /usr/lib/madde/linux-i686/sysroots/meego-core-ia32-madde-sysroot-1.1-fs/usr/lib So... how can I make the system to really use the new libs? I dont know how to fix this, in my Ubuntu system, all I have needed to do is to set the PATH to the qmake I want to use. Thanks in advance, Carl On Fri, Nov 19, 2010 at 4:01 PM, Vincent Yau <[email protected]> wrote: > I think after these steps, you will have enough to start compiling Qt > 4.7.1 from source: > > > "sudo zypper refresh" ; > > "sudo zypper install -t pattern development-libs development-tools > x-software-development " ; > > > > On Fri, Nov 19, 2010 at 1:22 PM, Carl Snellman <[email protected]> > wrote: >> >> Hey, >> I'm trying to find any instructions how to compile Qt 4.7.1 from >> source on Meego Netbook UX device (Lenovo S10-3t), with Meego-SDK >> installed. >> >> So I would have few basic questions: >> - are there 4.7.1. packages available anywhere? >> - is there a specific repo for meego Qt (similar to >> git://gitorious.org/+qt-developers/qt/x11-maemo.git ) >> - where could I find the dependencies I would need to install prior to >> compilation? >> >> Thanks for any help, >> Carl >> _______________________________________________ >> MeeGo-dev mailing list >> [email protected] >> http://lists.meego.com/listinfo/meego-dev > _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
