View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011748VTK(No Category)public2011-01-21 16:212013-04-05 20:21
ReporterDominik Szczerba 
Assigned ToDavid Partyka 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformallOSallOS Versiontesting
Product Version 
Target VersionFixed in Version 
Summary0011748: Do not rely on STL support in QT
DescriptionThere is currently an issue with Visual Studio 2010 and QT 4.7.1 leading to crashes in STL-QT interoperability. Currently the only workaround is not to use STL with QT (-no-stl). Unfortunately, in VTK it is silently assumed STL support is always present. Fortunately, it is very small and can be easily removed by e.g. replacing toStdString() by toAscii().data()



1> vtkQtSQLQuery.cxx
1>..\..\..\..\Programs\vtk-5.6.1\GUISupport\Qt\vtkQtSQLQuery.cxx(97): error C2039: 'toStdString' : is not a member of 'QString'
1> c:\users\dominik\programs\qt-everywhere-opensource-src-4.7.1\include\qtcore\../../src/corelib/tools/qstring.h(101) : see declaration of 'QString'
1>..\..\..\..\Programs\vtk-5.6.1\GUISupport\Qt\vtkQtSQLQuery.cxx(105): error C2039: 'toStdString' : is not a member of 'QString'
1> c:\users\dominik\programs\qt-everywhere-opensource-src-4.7.1\include\qtcore\../../src/corelib/tools/qstring.h(101) : see declaration of 'QString'
1>..\..\..\..\Programs\vtk-5.6.1\GUISupport\Qt\vtkQtSQLQuery.cxx(209): error C2039: 'toStdString' : is not a member of 'QString'
1> c:\users\dominik\programs\qt-everywhere-opensource-src-4.7.1\include\qtcore\../../src/corelib/tools/qstring.h(101) : see declaration of 'QString'
1>..\..\..\..\Programs\vtk-5.6.1\GUISupport\Qt\vtkQtSQLQuery.cxx(226): error C2039: 'toStdString' : is not a member of 'QString'
1> c:\users\dominik\programs\qt-everywhere-opensource-src-4.7.1\include\qtcore\../../src/corelib/tools/qstring.h(101) : see declaration of 'QString'
1> vtkQtChartRepresentation.cxx
1>..\..\..\..\Programs\vtk-5.6.1\GUISupport\Qt\vtkQtChartRepresentation.cxx(120): error C2039: 'toStdString' : is not a member of 'QString'
1> c:\users\dominik\programs\qt-everywhere-opensource-src-4.7.1\include\qtcore\../../src/corelib/tools/qstring.h(101) : see declaration of 'QString'
1> Generating Code...
Steps To ReproduceCompile QT 4.7.1 with MSVC 2010 Professional 64 bit and configure QT with no STL support (-no-stl). VTK compilation fails.
TagsNo tags attached.
Project
Type
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0025017)
David Partyka (developer)
2011-01-23 21:43

I just checked in your proposed changes. If you experience any more issues please let us know.

- Issue History
Date Modified Username Field Change
2011-01-21 16:21 Dominik Szczerba New Issue
2011-01-21 16:26 David Partyka Assigned To => David Partyka
2011-01-21 16:26 David Partyka Status backlog => tabled
2011-01-23 21:43 David Partyka Note Added: 0025017
2011-01-23 21:43 David Partyka Status tabled => @80@
2011-01-23 21:43 David Partyka Resolution open => fixed
2013-04-05 20:21 Berk Geveci Status customer review => closed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker