mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
Qt4 improvements:
- Add -name option to rcc invocation. This is needed to disambiguate the name of the generated initialising function. Since qmake takes the basename of the .qrc file I've copied this behaviour to have consistent naming. - Add -I option to moc invocation. I've added the include and include/QtCore directories in order to be able to compile Qt4 with V2. Patch from Juergen Hunold. [SVN r30536]
This commit is contained in:
@@ -168,13 +168,13 @@ rule directory
|
||||
# Processes headers to create Qt MetaObject information
|
||||
actions moc
|
||||
{
|
||||
$(.prefix)/bin/moc -f $(>) -o $(<)
|
||||
$(.prefix)/bin/moc -I$(.prefix)/include -I$(.prefix)/include/QtCore -f $(>) -o $(<)
|
||||
}
|
||||
|
||||
# Generates source files from resource files
|
||||
actions rcc
|
||||
{
|
||||
$(.prefix)/bin/rcc $(>) -o $(<)
|
||||
$(.prefix)/bin/rcc $(>) -name $(>:B) -o $(<)
|
||||
}
|
||||
|
||||
# Generates user-interface source from .ui files
|
||||
|
||||
Reference in New Issue
Block a user