Opened 9 years ago
Closed 9 years ago
#23 closed defect (fixed)
qmake: call moc with generated response files
Reported by: | dmik | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | QtGui Beta |
Component: | Tools | Version: | 4.5.1 Beta 1 |
Severity: | Keywords: | ||
Cc: |
Description
In order to overcome the CMD.EXE 1024 character command line length limitation, we create response files for the compiler that contain C/C++ options, defines, include paths and object files instead of passing this all on command line.
moc.exe invocation also involves defines and include paths so the command line length limit may be easily exceeded. We need to teach qmake to generate a moc invocation statement that uses the response files we already generate for the C/C++ compiler.
Change History (3)
comment:1 Changed 9 years ago by dmik
comment:2 Changed 9 years ago by dmik
- Component changed from General to Tools
- Milestone changed from Qt Enhanced to QtGui Beta
Because of the bunch of QT_NO_ defines (commenting out unimplemented stuff), we need it right now (see #26).
comment:3 Changed 9 years ago by dmik
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Note that we currently put DEFINES to $(CFLAGS_RSP) and $(CXXFLAGS_RSP) files together with compiler options. However, moc doesn't need C/C++ flags and therefore we'll have to generate a separate response file for it, $(DEFINES_RSP), and refer to it from qmake.conf.