[vtkusers] qwt
Dženan Zukić
dzenanz at gmail.com
Wed Feb 29 10:50:43 EST 2012
It can also result from having VTK's debug bin directory in path when using
release dlls and vice versa. More details:
http://dzenanz.wordpress.com/2011/04/05/qwidget-must-construct-a-qapplication-before-a-qpaintdevice/
On Tue, Feb 28, 2012 at 08:04, André Prins <a.h.prins at gmail.com> wrote:
> 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
>>
>
>
> _______________________________________________
> 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/20120229/593d701f/attachment.htm>
More information about the vtkusers
mailing list