Opened 15 years ago
Closed 15 years ago
#23 closed defect (fixed)
qmake: call moc with generated response files
Reported by: | Dmitry A. Kuminov | 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 by , 15 years ago
comment:2 by , 15 years ago
Component: | General → Tools |
---|---|
Milestone: | Qt Enhanced → QtGui Beta |
Because of the bunch of QT_NO_ defines (commenting out unimplemented stuff), we need it right now (see #26).
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.