Hi all,

On 2011-06-03 11:44-0400 Hazen Babcock wrote:
> Also I have:
> Success with Cmake 2.6.4, Qt 4.5.3, Plplot 5.9.6
> Failure with CMake 2.6.4, Qt 4.6.0, Plplot 5.9.6

So I thought I would try Qt 4.5.3 or earlier
Looking at http://en.wikipedia.org/wiki/Qt_%28framework%29 I saw that Qt 4.5
was released on March 3rd 2009 and that Qt 4.6 was released on 1st December
2009 so I downloaded qt-sdk-win-opensource-2009.03.1.exe dated 25/06/2009
from ftp://ftp.qt.nokia.com/qtsdk/ . After downloading it I saw that it was
Qt 4.5.2.

I installed it on my Virtual 32 bit Windows XP SP2  machine and Plplot built
OK with the included MinGW, Cmake 2.8.4 and Plplot 5.9.6

I installed it on my 64 bit Windows 7 machine and Plplot built OK with the
included MinGW, Cmake 2.8.4 and Plplot 5.9.6

On the Windows 7 machine I then tried the same Qt 4.5.2 and included MinGW,
Cmake 2.8.4, Plplot 5.9.7 and that built OK

On the Windows 7 machine I then tried the same Qt 4.5.2, Cmake 2.8.4, Plplot
5.9.7 with the current release MinGW and I got the test-drv-info qt abnormal
termination error.

Next I tried Qt 4.5.3 (Qt SDK 2009.04) and that builds OK with its own
MinGW.

Just to be sure I tried Qt 4.6.0 (SDK 2009.05) again with its own MinGW and
it fails as before

Then I had the idea to try Qt 4.6.0 with the MinGW from Qt 4.5.3 and it
builds OK now.

So then I again tried the latest Qt version 4.7.3 with the MinGW from Qt
4.5.3 and Plplot 5.9.7 builds OK.

Just to be sure I tried the included and latest versions of MinGW with Qt
4.7.3 and Plplot will not build.

So I went back to Qt 4.7.3 and the MinGW from Qt 4.5.3. I again successfully
built Plplot 5.9.7 and then did a  mingw32-make install which seemed OK. 

I couldn't figure out how to make the examples - I think it needs paths
configuring correctly in MSYS? - but I put this to one side for a while and
tried building a simple non Plplot Qt example in Netbeans using this toolset
and I got lots
of compiler errors so I don't think its going to work. I double checked and
it still compiled OK with the latest MinGW.

So then I went back to Qt 4.5.3 with its own MinGW, it builds and installs
OK and I now can build and run my simple Qt application in Netbeans. Next I
tried including qt.h from Plplot and I am now getting multiple errors. They
are to do with finding include files but I haven't figured them out yet and
I have run out of time for today so I will post this email now.

I'm not sure when I will be able to come back to it, I hope to find some
time next week.

Regards 
Richard


-----Original Message-----
From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] 
Sent: 03 June 2011 19:27
To: Hazen Babcock
Cc: Richard Jackson; plplot-devel@lists.sourceforge.net
Subject: Re: [Plplot-devel] Installing Plplot with Qt under Windows

On 2011-06-03 11:44-0400 Hazen Babcock wrote:

>
> Well at least I can now confirm your bad result, so now maybe Arjen can
> too? I'm running 32 bit Windows XP (in VirtualBox on a linux machine).
>
> Failure with CMake 2.8.4, Qt 4.6.0, PLplot 5.9.6
>
> I set path to:
> path=c:\qt\2009.05\qt\bin;c:\qt\2009.05\mingw\bin;
>
> Also I have:
> Success with Cmake 2.6.4, Qt 4.5.3, PLplot 5.9.6
> Failure with CMake 2.6.4, Qt 4.6.0, PLplot 5.9.6
> Failure with CMake 2.8.4, Qt 4.6.0, PLplot-SVN
> Failure with CMake 2.8.4, Qt 4.7.0, PLplot-SVN
>
> So it looks like an issue with more recent versions of Qt? Except that
> Arjen did not have any trouble with the most recent version? I can try
> the most recent version, but unfortunately I don't currently have enough
> space on my VM hard drive to install it.

Hi Hazen:

That is excellent news that you have managed to confirm the issue.

Could you remove some of those failures (as needed to give you the
space) and try

Cmake 2.8.4, Qt 4.5.3, PLplot 5.9.6

and

Cmake 2.8.4, Qt 4.5.3, PLplot-SVN?

If both of those succeed it gives us a lot more confidence that it is the
Qt version alone that is the source of the Windows difficulty and not
anything to do with CMake version or PLplot version.

Where exactly (URL's please) are you getting your various Qt SDK
versions for Windows?  I would like to try some of these experiments
(using the MinGW version inside the Qt SDK) myself under wine.  I plan
to stick with CMake-2.8.4 (since any version of CMake before 2.8.3
does not work under wine due to a wine-specific issue) and PLplot-SVN
and simply vary the Qt version alone.  It is because of my planned
wine tests with CMake-2.8.4 and PLplot-SVN that I am interested in
your results for those with Qt 4.5.3.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to