PDA

View Full Version : Building Qwt 6.1.0 with Qt5.1.1 using SVG



Eos Pengwern
9th December 2013, 22:11
I've been doing a source build of Qt 5.1.1 and Qwt in Windows (using MSVC 2010), and have been getting tied up in knots over the SVG module. First of all, I spent a long time trying to figure out how to get Qt5Svg.dll to build, as no combination of 'configure' parameters seemed to do the job. Eventually, I managed to build it manually from the Qt/src/qtsvg directory using qmake, then nmake.

After that I moved on to building Qwt, initially with the


QWT_CONFIG += QwtSvg
line selected in qwtconfig.pri, but the build ground to a halt with the error:

project error: unknown module(s) in QT: svg

When I commented out the relevant line in qwtconfig.pri, the build completed without any errors, but also without SVG support.

Is the problem with the way I have configured the Qwt build, or with my Qt build itself? If the latter, then is any guidance available on the proper way to build Qt 5.1.1 from source in such a way that Qwt can be built using it.

Uwe
10th December 2013, 07:05
Your Qt version is configured without SVG support - building something manually behind the back of the Qt build system doesn't count.

Uwe

Eos Pengwern
10th December 2013, 09:06
Thanks Uwe - I was afraid that was the case...

But do you have any idea how to configure Qt to build Qt5Svg.dll from source automatically? I'm completely at a loss, and questions that I've placed about this in Qt Project (http://qt-project.org/forums/viewthread/35727/) and QtCentre (http://www.qtcentre.org/threads/57183-QtSvg-not-built) over the past few days have so far gone unanswered, as have other people's questions (http://qt-project.org/forums/viewthread/26532) on the same subject.

So far I'm stuck on this and unable to build Qwt with the configuration I'd like.