开发者

Missing rules XML file for qt's 'uic3 -convert'

开发者 https://www.devze.com 2023-01-22 23:24 出处:网络
I\'m trying to run uic3 -convert to convert some开发者_如何转开发 QT3 .ui files to QT4. When I run it, uic3 reports that it\'s unable to find the rules file (q3porting.xml).

I'm trying to run uic3 -convert to convert some开发者_如何转开发 QT3 .ui files to QT4.

When I run it, uic3 reports that it's unable to find the rules file (q3porting.xml).

  • Where does uic3 look for the q3porting.xml file
  • Can I pass the rules file as an argument on the command line (similarly to using qt3to4 -rulesFile)? If not, what else can I do?


q3porting.xml should be in the Qt4 data directory (on my system that's /usr/share/qt4/). If it's in the wrong place for some reason you can find it with locate (if you have locate installed).

There is no option for passing the rules on the command line.

0

精彩评论

暂无评论...
验证码 换一张
取 消