call to Qrc4 returns wrong file name

Bug #722819 reported by Corni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SCons Qt4 Tool
Invalid
Undecided
Unassigned

Bug Description

The following pseudo code:
qrccc = env.Qrc4('card.qrc')
print qrccc.name
results in:
qrc_cards.qrc
but should give:
qrc_cards.cc

Revision history for this message
Dirk Baechle (dl9obn) wrote :

Hi,

when using the Qrc4() Builder directly, you are supposed to not specify a file suffix at all:

  qrccc = env.Qrc4('card')

Please, have another look at the provided manual.

Thanks,

Dirk

Changed in scons-qt4:
status: New → Invalid
Revision history for this message
Corni (comaddcor) wrote :

Right, should have looked more closely at the manual.

Would be nice if the usage was consistent to the Uic4 function though in that you could use it with Glob(*.qrc) but i guess that is not a must.

Thanks for your quick answer.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.