Andreas Pakulat schrieb:
On 27.04.09 19:54:12, 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

That, the executables, the headers and the mkspecs. Thats enough to get
cmake happy. But not necessarily to get your app to build and/or run
properly. What you really need from a Qt installation depends on which
plugins you use, wether you want to use designer or any of the other
tools. Wether you need examples/demos or the documentation.

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?

That won't help as it'll only find the bare minimum to link a minimal Qt
sample app. For running a full app you'll need more.

Its a shame that Qt on windows doesn't support the -prefix switch for
configure like on linux, that would allow to create a minimal Qt
installation suitable to zip it up.
the qt binary release for kde uses a special file containing relative pathes to make it installable on any place.

type c:\Programme\KDE\bin\qt.conf
[Paths]
Prefix=
Documentation=../doc
Headers=../include
Libraries=../lib
Binaries=
Plugins=../plugins
Data=..
Translations=../translations
Settings=../etc
Examples=../examples
Demos=../demos

Ralf

_______________________________________________
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

Reply via email to