I have installed Qt 4.5.2 in lieu of 4.5.0 (Windows XP)
I then recompiled 4885 with Qt 4.5.2 with no bother. However when I ran stellarium with the new dll's I found that I could not select menu items with the mouse. I changed back to the 4.5.0 dll's and everything was OK.
The log file states compiled with Qt 4.5.2 Run time Qt 4.5.0
If I use the Qt 4.5.2 dll's I get Compiled with Qt 4.5.2 Run time Qt4.5.2
Note if the old menu is used to make a selection it works and if this selection is mirrored on the new gui menu it follows but the only control that works on these menus is the "X" to close.
Also if the Qt 4.5.2 dll's are used with a Qt 4.5.0 compilation the same problem arises.
Date: Tue, 18 Aug 2009 02:22:00 +0200 From: email@example.com To: firstname.lastname@example.org Subject: Re: [Stellarium-pubdevel] SunEclipse patch for better rendering a solar eclipse
thank you for trying my patch and I am pleased you liked the visual effect.
In addition to the visual effect the patch fixes some minor bugs. There was an issue with the initialization of the art intensity and in my opinion the too clumsy appearance of planet or moon halos when zoomed out. Before 0.9.0 one could see the crescent moon in blue daylight even at FOV = 60 deg. With the patch this should be possible again.
In StelSkyDrawer::postDrawSky3dModel there is special code for drawing the Sun's halo. Currently the test is
if (mag<-15.f) // supposed to be drawing the Sun
but when viewed from the Moon the Earth is also in that range of magnitude. That could lead to a halo effect of the Earth dependent on its brightness and changing abruptly near -15m. (Can be seen while zoomed out.) So we need an unambiguous test for the Sun as the current object. This is why I introduced the object parameter here:
if (object == ssystem->getSun())
Build errors against revision 4885: I could not reproduce that. I built the release and debug versions without problems with the current revision (4885) and the patch applied. Maybe something with Qt? I use 4.5.2 currently. Or perhaps try rebuild alter a make clean if you haven't done already.
> Hi > Andreas, > > I saw the patch and the effect is very nice. However, I am concerned > about the addition of a Planet parameter to the > StelSkyDrawer::postDrawSky3dModel. I know Fabien spend a lot of time > to clean these drawing functions and separate out object specific > stuff. I didnt try to understand this code, or your patch, so I can't > say if it's necessary or possible to do it another way - I would > rather Fabien takes a look at it and makes a suggestion as he knows > this code so well. > > Less importantly,and probably easily fixable, I also get build errors > against revision 4885: