2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Add the "ui_" prefix to the header the uic generates, to match

qmake's behaviour.

Thanks to Ryan Winter for the hint.


[SVN r31033]
This commit is contained in:
Vladimir Prus
2005-09-19 07:48:36 +00:00
parent ec70d686d5
commit ec673c840f
2 changed files with 3 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#include "hello_world_widget.h"
#include "ui_hello_world_widget.h"
#include <qapplication.h>
#include <qwidget.h>

View File

@@ -204,8 +204,9 @@ class uic-h-generator : generator
local a = [ new action $(sources[1]) : qt4.uic-h :
$(property-set) ] ;
# The 'ui_' prefix is to match qmake's default behavior.
local target = [
new file-target $(name) : H : $(project) : $(a) ] ;
new file-target ui_$(name) : H : $(project) : $(a) ] ;
# Since this generator will return H target, the linking generator
# won't use it at all, and won't set any dependency on it.