FindQt4.cmake
Brad King
brad.king at kitware.com
Wed Feb 1 21:46:21 CET 2006
David Faure wrote:
> Yeah, and I think it would be a *major* PITA to have to write #include <QtCore/QString.h>.
> In fact I would prefer a solution that forbids it...
>
> One of the reasons is that #include <QString> can be automated by the editor,
> when pressing a key shortcut while the cursor is on QString. If we need to
> add QtCore in front, we need a huge map or some qt-directory-looking code....
>
> The other reason is simply that it works with other buildsystems. A buildsystem
> should compile the code that other buildsystems (e.g. Qt or unsermake) can compile,
> not mandate that the code be changed first.
>
> Surely there's another solution for Mac OSX, given that it works in bksys?
How does bksys choose the include path for Qt? I'm sure the logic is
not hard to implement in a CMake build system.
-Brad
More information about the Kde-buildsystem
mailing list