Skip to content

Commit a7a940b

Browse files
committed
added rules for qrc files
1 parent 28fece9 commit a7a940b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

wd_qt_tools.gypi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,12 @@
1616
'outputs': [ '<(RULE_INPUT_DIRNAME)/moc_<(RULE_INPUT_ROOT).cc' ],
1717
'action': [ 'python', 'do_if_modified.py','<(QT_BIN_PATH)/moc', '<(RULE_INPUT_PATH)', '<(INTERMEDIATE_DIR)/moc_<(RULE_INPUT_ROOT).cc' ],
1818
'message': 'Generating <(RULE_INPUT_ROOT).cc.',
19+
},
20+
{
21+
'rule_name': 'generate_rcc',
22+
'extension': 'qrc',
23+
'outputs': [ '<(RULE_INPUT_DIRNAME)/rcc_<(RULE_INPUT_ROOT).cc' ],
24+
'action': [ '<(QT_BIN_PATH)/rcc', '<(RULE_INPUT_PATH)', '-o', '<(INTERMEDIATE_DIR)/rcc_<(RULE_INPUT_ROOT).cc' ],
25+
'message': 'Generating <(RULE_INPUT_ROOT).cc.',
1926
} ],
2027
}

0 commit comments

Comments
 (0)