Opened 11 years ago

Closed 10 months ago

#82 closed enhancement (fixed)

add support for wrc

Reported by: Silvan Scherrer Owned by:
Priority: trivial Milestone:
Component: qmake Version: 4.5.1 Beta 2
Severity: highest Keywords:


adding support for wrc in qmake.

if emxomfld_rc_type=WRC then take wrc otherwise rc

Change History (5)

comment:1 Changed 11 years ago by Dmitry A. Kuminov

The problem is that as opposed to the linker where the user can use either ilink or wlink on the same set of input files (.obj and .lib), the format of .rc files understood y RC.EXE and by WRC.EXE differs and is generally not interchangeable. This means that the same .rc file is not necessarily a valid input for both of them which means that simple switching of the executables will not work.

A better approach in this case will be to choose resource compilers per source rather than globally. This basically requires an extra qmake target for WRC-like .rc files. (I don't want to change the default resource compiler since RC.EXE is distributed separately and is usually preinstalled on many eCS systems while for WRC one needs to install the whole Watcom application).

We will provide a pre-defined extra target for WRC later. For now, one may create an extra target in its .pro file himself (search the Qt docs for how to create extra targets in qmake).

comment:2 Changed 5 years ago by KO Myung-Hun

Severity: highest

.rc format difference is not a problem if WRC is used only for QMAKE_RUN_RC2EXE. In addition, if EMXOMFLD_RC_TYPE is already WRC, no need to worry about the absence of WRC.

comment:3 Changed 23 months ago by Silvan Scherrer

Milestone: Qt EnhancedQt 5

comment:4 Changed 10 months ago by Silvan Scherrer

Milestone: Qt 5

Ticket retargeted after milestone closed

comment:5 Changed 10 months ago by Silvan Scherrer

Resolution: fixed
Status: newclosed

should be fixed in Qt 5. If not open a ticket at

Note: See TracTickets for help on using tickets.