[vtkusers] qwt

André Prins a.h.prins at gmail.com
Tue Feb 28 02:04:32 EST 2012


I agree with Clinton. I have recently (past two weeks) encountered the same
problem and have traced it back to mixing debug and release Qt libraries
while building against release Vtk.

What happened:

1) I have a single Qt-install with both debug and release libraries...
2) I then built Vtk in Release mode with GUI_SUPPORT and QTGUI on.
3) Then, vtkRendering is linked against the debug libs of Qt.

In my opinion this is a bug in building Vtk, but I have not yet been able
to find the cause in the CmakeLists.txt (yet).

What used to work:

Have two Qt-installations: one with debug and one with release libraries.
Build/install debug Vtk while using the debug Qt-libraries
Build/install release Vtk while using the release Qt-libraries.

Regards,
André


On Mon, Feb 27, 2012 at 4:59 PM, Clinton Stimpson <clinton at elemtech.com>wrote:

> On Saturday, February 25, 2012 08:31:09 pm lindeval at dmat.ufrr.br wrote:
> > Has anyone encountered this problem:
> > QWidget: Must Construct a QApplication before a QPaintDevice?
> >
> > I'm using QWT with mingw on windows 7.
>
> I've seen that happen on Windows when one gets both debug and release Qt
> libraries loaded at runtime.
>
> --
> Clinton Stimpson
> Elemental Technologies, Inc
> Computational Simulation Software, LLC
> www.csimsoft.com
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120228/e04af3e0/attachment.htm>


More information about the vtkusers mailing list