I've installed qwt to /usr/local/qwt-6.1.0 and I put the source in /usr/src/qwt-6.1.0. When I try to compile the examples with qmake/make I get the following problem:
$ cd /usr/src/qwt-6.1.0/examples
$ qmake
$ make
...
make[1]: Entering directory `/usr/src/qwt-6.1.0/examples/animation'
linking ../bin/animation
/usr/local/qwt-6.1.0/lib/libqwt.so: undefined reference to `QMetaType::unregisterConverterFunction(int, int)'
/usr
/local
/qwt
-6.1.0
/lib
/libqwt.
so: undefined reference to `
QMetaType::registerConverterFunction(QtPrivate
::AbstractConverterFunction const*,
int,
int)' /usr/local/qwt-6.1.0/lib/libqwt.so: undefined reference to `QScrollArea::viewportSizeHint() const'
/usr
/local
/qwt
-6.1.0
/lib
/libqwt.
so: undefined reference to `
QMetaType::hasRegisteredConverterFunction(int,
int)' collect2: error: ld returned 1 exit status
$ cd /usr/src/qwt-6.1.0/examples
$ qmake
$ make
...
make[1]: Entering directory `/usr/src/qwt-6.1.0/examples/animation'
linking ../bin/animation
/usr/local/qwt-6.1.0/lib/libqwt.so: undefined reference to `QMetaType::unregisterConverterFunction(int, int)'
/usr/local/qwt-6.1.0/lib/libqwt.so: undefined reference to `QMetaType::registerConverterFunction(QtPrivate::AbstractConverterFunction const*, int, int)'
/usr/local/qwt-6.1.0/lib/libqwt.so: undefined reference to `QScrollArea::viewportSizeHint() const'
/usr/local/qwt-6.1.0/lib/libqwt.so: undefined reference to `QMetaType::hasRegisteredConverterFunction(int, int)'
collect2: error: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode
This is kind of odd. What am I missing?
Bookmarks