Have you looked here?
http://doc.trolltech.com/4.5/installation.html
If you still have problems getting a working Qt installation, you can as
the Qt list.
CMake will work with any good installation of Qt.
Clint
Anders Backman wrote:
Ah thanks.
But how to know what to copy from QT so that one can still build
applications?
That is, what is needed so that CMake accepts the copied files as a
complete qt installation?
.lib files,
.dll:s
which plugins?
mkspecs
which exe files?
Do I have to parse the FindQt4.cmake file, or is there a faster way to
figure this out?
On Mon, Apr 27, 2009 at 7:13 PM, Christian Ehrlicher
<[email protected] <mailto:[email protected]>> wrote:
Am Montag 27 April 2009 18:47:07 schrieb Anders Backman:
> Hi all.
> I have a problem where I pack the necessary stuff from qt into a
dependency
> zip file (.h, .lib, .dll and qmake.exe).
>
> I have the path to qmake setup, so that qmake can be found.
>
> Then I unpack that to some specified directory and run cmake on
my own
> code.
>
> My projectgs CMakeLists.txt call FIND_PACKAGE( Qt4 ) which among
other
> things call:
>
> qmake -query QT_INSTALL_LIBS (
>
> Now this returns with the ORIGINAL build directory, not the new
one where
> qmake actually exists.
>
> Is there anything one can do to fix this?
> I want CMake to use qmake so that it can locate things in
relative to where
> qmake actually is, and not where it was when I built qt.
This is not a cmake problem - you can't move the qt installation
around. If
you want to do this you have to provide a proper qt.conf (
http://doc.trolltech.com/4.5/qt-conf.html )
HTH
Christian
_______________________________________________
Powered by www.kitware.com <http://www.kitware.com>
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
------------------------------------------------------------------------
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake