[CMake] Linking to wrong version of Qt
Clinton Stimpson
clinton at elemtech.com
Wed May 7 17:16:13 EDT 2008
Its probably because of stale entries in your CMakeCache.txt file
pointing to a previously found Qt.
If that's it, you can remove all the QT* entries and configure again.
Clint
On May 7, 2008, at 2:27 PM, Matthew Smith wrote:
> Hi everyone,
>
> When trying to compile my Qt 4 app on recent versions of Linux (in
> this
> case Ubuntu 8.04), I've noticed that it does not link against the
> correct version of Qt. I use the PATH export variable to link
> against a
> local install of Qt in /usr/local/Trolltech/Qt-4.4.0 and even though,
> during the configure stage, it states that it has found Qt 4.4,
> when you
> do ldd (or view the About Qt dialog), it shows that it has linked
> against the standard /usr/lib version. This was not the case until
> recently; what is causing it and how do I fix it?
>
> Regards,
>
> Matt Smith
>
> --
>
> http://www.blogistan.co.uk/qt/
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list