#5802 closed Patches (fixed)
bjam/qt4: Use response files to pass flags to moc
Reported by: | Owned by: | Jürgen Hunold | |
---|---|---|---|
Milestone: | To Be Determined | Component: | None |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | bjam qt4 | Cc: |
Description
When qt4 is used with a lot of preprocessor defines and/or include directories it can happen that the moc action gets ”too long” (happens quite quickly on Windows). The attached patch works around the problem by utiliting moc's response file feature to pass preprocesser defines and include directories to moc.
Attachments (1)
Change History (6)
by , 11 years ago
Attachment: | bjam-qt4-moc-response-file.patch added |
---|
comment:1 by , 11 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
The patch does not work on Linux, it seems response file support is only active on Windows. So I must inventsome <host-os>-based logic to select the right rule. Working on it...
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 11 years ago
comment:5 by , 11 years ago
Note:
See TracTickets
for help on using tickets.
Patch to pass flags to moc through response files