Opened 20 years ago
Closed 20 years ago
#13 closed defect (fixed)
Add the proper handling of the RC_FILE variable in qmake project files.
| Reported by: | dmik | Owned by: | dmik | 
|---|---|---|---|
| Priority: | normal | Milestone: | qt-os2-3.3.1-rc07 | 
| Component: | qmake | Version: | 3.3.1-rc06 | 
| Severity: | normal | Keywords: | RC_FILE | 
| Cc: | 
Description
It will be useful to teach the qmake utility to automatically compile and link OS/2 resource files to generated executables, using the RC_FILE project variable to specify a resource script file (like it does under Win32).
Currently, the GNUMAKE backend for qmake (used by Qt/OS2) handles this variable incorrectly, which needs to be fixed.
Change History (2)
comment:1 by , 20 years ago
| Status: | new → assigned | 
|---|
comment:2 by , 20 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
RC_FILEandRES_FILEqmake project variables are now correctly supported by the GNUMAKE qmake backend (changeset:66).In order to bind OS/2 resources to a project's executable, one can now specify the name of the
.rcfile using theRC_FILEvariable in the project file. The given.rcfile will be automatically compiled when necessary (qmake.conffor GCC uses the standard OS/2 RC compiler,rc.exe, that must be located somewhere in the PATH) and then bound to the executable.It's also possible to specify a precompiled resource file name using the
RES_FILEproject variable. In this case, the generated makefile will just bind the specified resource file to the project's executable every time it is rebuilt.To support RC_FILE and RES_FILE functionality, two new internal qmake variables are recognized by the GNUMAKE backend:
QMAKE_RUN_RC_RESandQMAKE_RUN_RC_EXE. See http://svn.netlabs.org/repos/qt3/trunk/os2-doc/doc.html#GNUMAKE for more info.