[PyQt] pyuic4 generates wrong code when using resource files

Andreas Pakulat apaku at gmx.de
Sat Jun 23 16:02:13 BST 2007


Hi,

current versions of pyuic4 generate somewhat wrong import statements for
resource files. Using designer I end up with 

 <resources>
  <include location="../resources/pyfilmdbsimpleui.qrc" />
 </resources>

So a relative location. pyuic generates

import pyfilmdbsimpleui_rc

from that, which of course doesn't work. Unfortunately I can't think of
a "proper" solution right now. Any ideas?

Andreas

-- 
You have been selected for a secret mission.


More information about the PyQt mailing list