<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
wedekind wrote:
<blockquote cite="mid001201c7130f$89cc8e30$6300030a@caesar.local"
type="cite">
<pre wrap="">Hello Bill,
</pre>
<blockquote type="cite">
<pre wrap="">The Find should be used all the time, because someone might install qt
in a different place, and you
want that to work. If you hard code the place in the CMakeLists.txt it
will only work on some systems.
</pre>
</blockquote>
<pre wrap=""><!---->
Of course, you are right to advise me to use FIND. But I am not using CMake
to distribute source-packages of my software. I only use CMake to build the
software "locally" and to create binary distribution packages from these
builds. So I can control the directory where to find the qt-lib for
building. The user of the binary package needs to make the qt-lib detectable
by the application or use the qt-lib distributed with the software.
</pre>
</blockquote>
<br>
So you are the only person who ever builds your software? If other
people have to build your stuff, you're making it a PITA for them,
having to remember precisely what Qt directory to use. All this
knowledge is locked up in your head, or in your docs, which nobody
wants to read for such a trivial issue. If you ever pass the baton of
maintenance on to someone else, people are not going to thank you.<br>
<br>
<br>
Cheers,<br>
Brandon Van Every<br>
<br>
</body>
</html>