From a12633e324378d03ccb193d0e4e01398a99a2fb7 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 26 Oct 2004 14:28:47 +0000 Subject: [PATCH] * tools/qt.jam (directory): New rule. Patch from Jurgen Hunold. [SVN r25874] --- v2/tools/qt.jam | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/v2/tools/qt.jam b/v2/tools/qt.jam index 733a8ab94..d1645da24 100644 --- a/v2/tools/qt.jam +++ b/v2/tools/qt.jam @@ -109,6 +109,15 @@ rule init ( prefix ? ) } } +# Query the installation directory +# This is needed in at least two scenarios +# First, when re-using sources from the Qt-Tree. +# Second, to "install" custom Qt plugins to the Qt-Tree. +rule directory +{ + return $(.prefix) ; +} + # -f forces moc to include the processed source file. # Without it, it would think that .qpp is not a header and would not # include it from the generated file.