Uwe Rathmann | 17 Apr 21:58

QwtPolar-0.0.0, Qwt-5.1

Hi all,

I launched a new project QwtPolar for displaying values on a polar coordinate 
system. It is hosted at sourceforge: http://qwtpolar.sourceforge.net.

I have uploaded an initial release QwtPolar-0.0.0 that offers the basics like 
the axes, grids curves and markers. For the navigation panning and zooming 
with the wheel are supported.

QwtPolar-0.0.0 was developed and tested on Linux/X11 only. I'm looking for 
volunteers, who are willing to build and test the code on the other 
platforms. Please post the result of your test in the table below.

                             Qt4      Qt3
---------------------------------
Linux/g++            |   X    |   X |
Windows/Mingw  |          |      |
Windows/MSVC  |          |      |
Mac                    |          |      |
...                        |          |      |

I'm also interested in comments and feature requests. I never used polar plots 
myself and might have missed very basic requirements.

For building QwtPolar you need a SVN snapshot from the 5.1 branch:
svn co https://qwt.svn.sourceforge.net/svnroot/qwt/branches/qwt-5.1.

The Qwt 5.1 release is also almost finished. So the SVN snapshot is very close 
to what will be released soon. Feedback/bug reports for Qwt itsself are 
welcome too.
(Continue reading)

Matthias Reich | 18 Apr 09:31

Re: QwtPolar-0.0.0, Qwt-5.1

Uwe Rathmann wrote:
> Hi all,
> 
> I launched a new project QwtPolar for displaying values on a polar coordinate 
> system. It is hosted at sourceforge: http://qwtpolar.sourceforge.net.
> 
> I have uploaded an initial release QwtPolar-0.0.0 that offers the basics like 
> the axes, grids curves and markers. For the navigation panning and zooming 
> with the wheel are supported.
> 
> QwtPolar-0.0.0 was developed and tested on Linux/X11 only. I'm looking for 
> volunteers, who are willing to build and test the code on the other 
> platforms. Please post the result of your test in the table below.
> 
>                 Qt4      Qt3
> ---------------------------------
> Linux/g++     |   X    |   X  |
> Windows/Mingw |        |      |
> Windows/MSVC  |        |      |
> Mac           |        |      |
> ...           |        |      |
 > Solaris 5.9   |        |  no  |

That's the error I get during a fresh compile:

g++ -c -Wall -W -O2 -D_REENTRANT -fPIC  -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I/usr/gnu/mkspecs/solaris-g++ -I. 
-I/usr/gnu/include -Imoc/ -o obj/qwt_wheel.o qwt_wheel.cpp
/usr/gnu/bin/moc qwt_dyngrid_layout.h -o moc/moc_qwt_dyngrid_layout.cpp
ld.so.1: moc: fatal: libstdc++.so.5: open failed: No such file or directory
(Continue reading)

Uwe Rathmann | 18 Apr 09:58

Re: QwtPolar-0.0.0, Qwt-5.1

Hi Matthias,

> That's the error I get during a fresh compile:
>
> g++ -c -Wall -W -O2 -D_REENTRANT -fPIC  -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I/usr/gnu/mkspecs/solaris-g++ -I.
> -I/usr/gnu/include -Imoc/ -o obj/qwt_wheel.o qwt_wheel.cpp
> /usr/gnu/bin/moc qwt_dyngrid_layout.h -o moc/moc_qwt_dyngrid_layout.cpp
> ld.so.1: moc: fatal: libstdc++.so.5: open failed: No such file or directory

Hm, /usr/gnu/bin/moc has nothing to do with the Qwt packages. Guess you have 
corrupted your LD_LIBRARY_PATH for this test build ?

> I should add that the 5.0.2 version compiles without problems.

Do you use the same moc in this environment ? If true try 
a "ldd /usr/gnu/bin/moc" in both build environments to see the difference.

Uwe

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
Matthias Reich | 18 Apr 10:49

Re: QwtPolar-0.0.0, Qwt-5.1

Uwe Rathmann wrote:

> Hm, /usr/gnu/bin/moc has nothing to do with the Qwt packages. Guess you have 
> corrupted your LD_LIBRARY_PATH for this test build ?

I had actually though along similar paths, but it was just too late 
yesterday. Today, with a fresh start, I was able to compile qwt 5.1, 
compile qwtpolar and run the demo.

Solaris 5.9 (QT3) :   yes

Cheers,
Matthias
---------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
Ingo Maindorfer | 18 Apr 11:07

Re: QwtPolar-0.0.0, Qwt-5.1

Hi,

QWT 5.1 compiles well and run on:

Windows/MSVC VS2005 Sp1  Qt4.3.4

I used the basic qmake and nmake from command line.

Cheers,

Ingo

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
IP Susila | 18 Apr 13:59

Re: QwtPolar-0.0.0, Qwt-5.1

Hi Uwe,

I've successfully qwtpolar + example on WindowsXP with Mingw ( QT 4.3.4).
However small fixs must be done in order to build qwtpolar and example 
properly.

1). Link to qwt, in qwtpolar.pri/src.pro
    win32-g++:LIBS   += -L$$QWT_LIBRARYPATH -lqwt5
2). DLL build issues: in src.pro
    win32:QwtPolarDll {
        DEFINES    += QT_DLL QWT_DLL QWT_POLAR_DLL QWT_POLAR_MAKEDLL
    }
    and in examples.pri
    win32:QwtPolarDll {
        DEFINES    += QT_DLL QWT_DLL QWT_POLAR_DLL
    }
    and also fix link to qwtpolar to: win32-g++:LIBS   += -L../../lib 
-lqwtpolar0

cheers,
putu

On 2008/04/18 5:00, Uwe Rathmann wrote:
> Hi all,
>
> I launched a new project QwtPolar for displaying values on a polar coordinate 
> system. It is hosted at sourceforge: http://qwtpolar.sourceforge.net.
>
>   

(Continue reading)

Uwe Rathmann | 18 Apr 14:23

Re: QwtPolar-0.0.0, Qwt-5.1

Hi Putu,

> 1). Link to qwt, in qwtpolar.pri/src.pro
>     win32-g++:LIBS   += -L$$QWT_LIBRARYPATH -lqwt5

You mean Mingw needs to link against the Qwt library, when it builds the 
qwtpolar library ?

Do someone know, if it is it the same for MSVC ?

> 2). DLL build issues: in src.pro
>     win32:QwtPolarDll {
>         DEFINES    += QT_DLL QWT_DLL QWT_POLAR_DLL QWT_POLAR_MAKEDLL
>     }

Guess it needs to be: "DEFINES    += QT_DLL QWT_DLL QWT_POLAR_MAKEDLL" ?
Fixed in SVN.

>     and in examples.pri
>     win32:QwtPolarDll {
>         DEFINES    += QT_DLL QWT_DLL QWT_POLAR_DLL
>     }

Isn't this line already there ?

>     and also fix link to qwtpolar to: win32-g++:LIBS   += -L../../lib
> -lqwtpolar0

If it is -lqwtpolar0, then it should also be -lqwt5. But a combination 
of -lqwtpolar0 and -lqwt surprises me ?
(Continue reading)

I Putu Susila | 20 Apr 04:23

Re: QwtPolar-0.0.0, Qwt-5.1

Hi Uwe,

> Hi Putu,
> 
> > 1). Link to qwt, in qwtpolar.pri/src.pro
> >     win32-g++:LIBS   += -L$$QWT_LIBRARYPATH -lqwt5
> 
> You mean Mingw needs to link against the Qwt library, when it builds the 
> qwtpolar library ?
> Do someone know, if it is it the same for MSVC ?
> 
Yes, link to qwt library is needed. I think not only mingw.
As far as i know, when building dll(library) that depend on other dll,  
link against 'other' dll is needed. I've used borland, msvc 6 and lcc
for building dll and it was the same.

> > 2). DLL build issues: in src.pro
> >     win32:QwtPolarDll {
> >         DEFINES    += QT_DLL QWT_DLL QWT_POLAR_DLL QWT_POLAR_MAKEDLL
> >     }
> 
> Guess it needs to be: "DEFINES    += QT_DLL QWT_DLL QWT_POLAR_MAKEDLL" ?
> Fixed in SVN.

In my opinion, QWT_POLAR_DLL should be added, because QWT_POLAR_MAKEDLL
is defined 'inside' QWT_POLAR_DLL (in qwt_polar_global.h)

> >     and in examples.pri
> >     win32:QwtPolarDll {
> >         DEFINES    += QT_DLL QWT_DLL QWT_POLAR_DLL
(Continue reading)


Gmane