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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user