On Sun, Apr 05, 2009 at 05:20:21PM +0200, Enrico Forestieri wrote: > On Sun, Apr 05, 2009 at 05:13:29PM +0200, Jürgen Spitzmüller wrote: > > > Enrico Forestieri wrote: > > > Jürgen, may I commit the attached to branch? > > > > > > I'm willing to take care that ui files remain compatible with Qt 4.2, > > > so, may I commit such kind of tweaks to branch without asking? > > > > Yes, OK. > > The strange thing is, though, that I have edited this file myself with > > designer of Qt 4.2 (or even 4.1), so I wonder why the result causes you > > problems. > > This is really strange. That syntax does not always produce wrong results, > but in some cases it does. Instead of checking case by case whether there > is a problem or not, I run 'grep -rl "sizepolicy vsize" src/frontends/qt4' > in order to spot the problematic cases and replace them. I verified that > this is OK with all versions of Qt, so I deem it is safe to do so.
I found this bug report: http://lists.trolltech.com/qt-jambi-interest/2007-03/thread00024-0.html It seems that some uic versions have problems resolving the enum. I tried Qt 4.2.3 on three different platforms (linux, solaris, cygwin) and the problem occurs in all of them (well, when it does occur, I mean). -- Enrico