[SOLVED]QVTKOpenGlWidget black screen and tests FAILED

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[SOLVED]QVTKOpenGlWidget black screen and tests FAILED

sebastien247
This post was updated on .
Hi,

I try to use QVTKOpenGlWidget with Qt Designer. But i obtain a black screen in my VTK view.

I run tests and following tests FAILED:
  525 - vtkGUISupportQtCxx-TestQtDebugLeaksView (OTHER_FAULT)
  526 - vtkGUISupportQtCxx-TestQtTableModelAdapter (OTHER_FAULT)
  527 - vtkGUISupportQtCxx-TestQtTreeModelAdapter (OTHER_FAULT)
  528 - vtkGUISupportQtCxx-TestQVTKOpenGLWidget (OTHER_FAULT)
  529 - vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA (OTHER_FAULT)
  530 - vtkGUISupportQtCxx-TestWin32QVTKWidget (OTHER_FAULT)
  531 - vtkGUISupportQtOpenGLCxx-TestQVTKWidget2 (OTHER_FAULT)

Thanks

Sébastien
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

Elvis Stansvik
2017-06-15 15:02 GMT+02:00 sebastien247 <[hidden email]>:
Hi,

I try to use QVTKOpenGlWidget with Qt Designer. But i obtain a black screen
in my VTK view.

I run tests and following tests FAILED:
        525 - vtkGUISupportQtCxx-TestQtDebugLeaksView (OTHER_FAULT)
        526 - vtkGUISupportQtCxx-TestQtTableModelAdapter (OTHER_FAULT)
        527 - vtkGUISupportQtCxx-TestQtTreeModelAdapter (OTHER_FAULT)
        528 - vtkGUISupportQtCxx-TestQVTKOpenGLWidget (OTHER_FAULT)
        529 - vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA (OTHER_FAULT)
        530 - vtkGUISupportQtCxx-TestWin32QVTKWidget (OTHER_FAULT)
        531 - vtkGUISupportQtOpenGLCxx-TestQVTKWidget2 (OTHER_FAULT)

Hi Sebastien,

Could you try disabling multi-sampling with:

    auto defaultFormat = QVTKOpenGLWidget::defaultFormat();
    defaultFormat.setSamples(0);
    QSurfaceFormat::setDefaultFormat(defaultFormat);

before constructing your QApplication.

Or alternatively:

    vtkOpenGLRenderWindow::SetGlobalMaximumNumberOfMultiSamples(0);

If that doesn't help, perhaps you are running into https://gitlab.kitware.com/vtk/vtk/issues/17058

On which platform/GPU is this?

Elvis


Thanks

Sébastien



--
View this message in context: http://vtk.1045678.n5.nabble.com/QVTKOpenGlWidget-black-screen-and-tests-FAILED-tp5743647.html
Sent from the VTK - Users mailing list archive at Nabble.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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

sebastien247
Hi Elvis,
Thank you for your quick answer.
Yes, i tried to disable multi-samplig with the same two snippets. The result is the same.
I think it's more an installation problem than a code problem because unit tests don't work.

My platform is Windows 10 and my Graphics card NVidia GeForce GTX 950.
QT version 5.8

Best regards,

Sébastien
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

Elvis Stansvik
2017-06-15 16:16 GMT+02:00 sebastien247 <[hidden email]>:
Hi Elvis,
Thank you for your quick answer.
Yes, i tried to disable multi-samplig with the same two snippets. The result
is the same.
I think it's more an installation problem than a code problem because unit
tests don't work.

My platform is Windows 10 and my Graphics card NVidia GeForce GTX 950.
QT version 5.8

Alright, then I don't know :/ (and it's probably not https://gitlab.kitware.com/vtk/vtk/issues/17058 , since that's Intel graphics specific).

Perhaps one of the developers has an idea.

Elvis


Best regards,

Sébastien



--
View this message in context: http://vtk.1045678.n5.nabble.com/QVTKOpenGlWidget-black-screen-and-tests-FAILED-tp5743647p5743649.html
Sent from the VTK - Users mailing list archive at Nabble.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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

Sankhesh Jhaveri-2

Hi Sebastien,

Since the ctest result shows OTHER_FAULT, could you run one of the tests with verbose output to see what actual error you get?

ctest -V -R  TestQVTKOpenGLWidget

Secondly, do other tests, other than QVTKOpenGLWidget ones, pass?

Sankhesh


On Thu, Jun 15, 2017 at 10:53 AM Elvis Stansvik <[hidden email]> wrote:
2017-06-15 16:16 GMT+02:00 sebastien247 <[hidden email]>:
Hi Elvis,
Thank you for your quick answer.
Yes, i tried to disable multi-samplig with the same two snippets. The result
is the same.
I think it's more an installation problem than a code problem because unit
tests don't work.

My platform is Windows 10 and my Graphics card NVidia GeForce GTX 950.
QT version 5.8

Alright, then I don't know :/ (and it's probably not https://gitlab.kitware.com/vtk/vtk/issues/17058 , since that's Intel graphics specific).

Perhaps one of the developers has an idea.

Elvis


Best regards,

Sébastien



--
View this message in context: http://vtk.1045678.n5.nabble.com/QVTKOpenGlWidget-black-screen-and-tests-FAILED-tp5743647p5743649.html
Sent from the VTK - Users mailing list archive at Nabble.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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
--
Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | (518) 881-4417

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

sebastien247
In reply to this post by Elvis Stansvik
I has run "TestCase" with and without the argument "1" and everythink works fine.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

sebastien247
In reply to this post by Sankhesh Jhaveri-2
No vtkGUISupportQtCxx tests passed.

Result for ctest -V -R  TestQVTKOpenGLWidget passed with command line, but not in VisualStudio 2015, it's very strange :

D:\DevTools\VTK-8.0.0.rc2\build>"C:\Program Files\CMake\bin\ctest.exe" -V -R TestQVTKOpenGLWidget -C Release
UpdateCTestConfiguration  from :D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Parse Config file:D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
 Add coverage exclude regular expressions.
 Add coverage exclude: vtk.*TCLInit.cxx
 Add coverage exclude: vtk[^\.]+(Java|Python|Tcl).cxx
 Add coverage exclude: .*vtkOpenGLState.*
 Add coverage exclude: .*Testing.Cxx.*cxx
 Add coverage exclude: .*Testing.Cxx.*h
 Add coverage exclude: .*moc_.*cxx
 Add coverage exclude: .*/Rendering/OpenGL/vtkgl.*
 Add coverage exclude: .*/Utilities/.*
 Add coverage exclude: .*/ThirdParty/.*
 Add coverage exclude: .*vtkOpenGLPolyDataMapper.*
SetCTestConfiguration:CMakeCommand:C:/Program Files/CMake/bin/cmake.exe
UpdateCTestConfiguration  from :D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Parse Config file:D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Test project D:/DevTools/VTK-8.0.0.rc2/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 528
    Start 528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget

528: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQVTKOpenGLWidget" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidget.png"
528: Test timeout computed to be: 1500
528: <DartMeasurement name="ImageError" type="numeric/double">0</DartMeasurement><DartMeasurement name="BaselineImage" type="text/string">Standard</DartMeasurement><DartMeasurement name="WallTime" type="numeric/double">0.559</DartMeasurement>
528: <DartMeasurement name="CPUTime" type="numeric/double">0.56</DartMeasurement>
1/2 Test #528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget ...........   Passed    0.75 sec
test 529
    Start 529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA

529: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQVTKOpenGLWidgetWithMSAA" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidgetWithMSAA.png"
529: Test timeout computed to be: 1500
529: <DartMeasurement name="ImageError" type="numeric/double">0</DartMeasurement><DartMeasurement name="BaselineImage" type="text/string">Standard</DartMeasurement><DartMeasurement name="WallTime" type="numeric/double">0.5</DartMeasurement>
529: <DartMeasurement name="CPUTime" type="numeric/double">0.501</DartMeasurement>
2/2 Test #529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA ...   Passed    0.64 sec

The following tests passed:
        vtkGUISupportQtCxx-TestQVTKOpenGLWidget
        vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA

100% tests passed, 0 tests failed out of 2

Label Time Summary:
vtkGUISupportQt    =   1.39 sec (2 tests)

Total Test time (real) =   1.71 sec
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

Sankhesh Jhaveri-2

How are you running the tests from Visual Studio? If you’re setting the command manually, try adding a -V to the command arguments to get verbose output.


On Thu, Jun 15, 2017 at 11:21 AM sebastien247 <[hidden email]> wrote:
No vtkGUISupportQtCxx tests passed.

Result for ctest -V -R  TestQVTKOpenGLWidget passed with command line, but
not in VisualStudio 2015, it's very strange :

D:\DevTools\VTK-8.0.0.rc2\build>"C:\Program Files\CMake\bin\ctest.exe" -V -R
TestQVTKOpenGLWidget -C Release
UpdateCTestConfiguration  from
:D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Parse Config file:D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
 Add coverage exclude regular expressions.
 Add coverage exclude: vtk.*TCLInit.cxx
 Add coverage exclude: vtk[^\.]+(Java|Python|Tcl).cxx
 Add coverage exclude: .*vtkOpenGLState.*
 Add coverage exclude: .*Testing.Cxx.*cxx
 Add coverage exclude: .*Testing.Cxx.*h
 Add coverage exclude: .*moc_.*cxx
 Add coverage exclude: .*/Rendering/OpenGL/vtkgl.*
 Add coverage exclude: .*/Utilities/.*
 Add coverage exclude: .*/ThirdParty/.*
 Add coverage exclude: .*vtkOpenGLPolyDataMapper.*
SetCTestConfiguration:CMakeCommand:C:/Program Files/CMake/bin/cmake.exe
UpdateCTestConfiguration  from
:D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Parse Config file:D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Test project D:/DevTools/VTK-8.0.0.rc2/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 528
    Start 528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget

528: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
"TestQVTKOpenGLWidget" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidget.png"
528: Test timeout computed to be: 1500
528: <DartMeasurement name="ImageError"
type="numeric/double">0</DartMeasurement><DartMeasurement
name="BaselineImage"
type="text/string">Standard</DartMeasurement><DartMeasurement
name="WallTime" type="numeric/double">0.559</DartMeasurement>
528: <DartMeasurement name="CPUTime"
type="numeric/double">0.56</DartMeasurement>
1/2 Test #528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget ...........   Passed
0.75 sec
test 529
    Start 529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA

529: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
"TestQVTKOpenGLWidgetWithMSAA" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidgetWithMSAA.png"
529: Test timeout computed to be: 1500
529: <DartMeasurement name="ImageError"
type="numeric/double">0</DartMeasurement><DartMeasurement
name="BaselineImage"
type="text/string">Standard</DartMeasurement><DartMeasurement
name="WallTime" type="numeric/double">0.5</DartMeasurement>
529: <DartMeasurement name="CPUTime"
type="numeric/double">0.501</DartMeasurement>
2/2 Test #529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA ...   Passed
0.64 sec

The following tests passed:
        vtkGUISupportQtCxx-TestQVTKOpenGLWidget
        vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA

100% tests passed, 0 tests failed out of 2

Label Time Summary:
vtkGUISupportQt    =   1.39 sec (2 tests)

Total Test time (real) =   1.71 sec



--
View this message in context: http://vtk.1045678.n5.nabble.com/QVTKOpenGlWidget-black-screen-and-tests-FAILED-tp5743647p5743653.html
Sent from the VTK - Users mailing list archive at Nabble.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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
--
Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | (518) 881-4417

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

sebastien247
In reply to this post by Sankhesh Jhaveri-2
The verbose result with VisualStudio 2015 :

  test 525
          Start 525: vtkGUISupportQtCxx-TestQtDebugLeaksView

  525: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQtDebugLeaksView" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  525: Test timeout computed to be: 1500
  525/1087 Test #525: vtkGUISupportQtCxx-TestQtDebugLeaksView ......................................***Exception: Other  0.01 sec
  test 526
          Start 526: vtkGUISupportQtCxx-TestQtTableModelAdapter

  526: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQtTableModelAdapter" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  526: Test timeout computed to be: 1500
  526/1087 Test #526: vtkGUISupportQtCxx-TestQtTableModelAdapter ...................................***Exception: Other  0.00 sec
  test 527
          Start 527: vtkGUISupportQtCxx-TestQtTreeModelAdapter

  527: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQtTreeModelAdapter" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  527: Test timeout computed to be: 1500
  527/1087 Test #527: vtkGUISupportQtCxx-TestQtTreeModelAdapter ....................................***Exception: Other  0.00 sec
  test 528
          Start 528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget

  528: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQVTKOpenGLWidget" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidget.png"
  528: Test timeout computed to be: 1500
  528/1087 Test #528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget ......................................***Exception: Other  0.00 sec
  test 529
          Start 529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA

  529: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQVTKOpenGLWidgetWithMSAA" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidgetWithMSAA.png"
  529: Test timeout computed to be: 1500
  529/1087 Test #529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA ..............................***Exception: Other  0.00 sec
  test 530
          Start 530: vtkGUISupportQtCxx-TestWin32QVTKWidget

  530: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestWin32QVTKWidget" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  530: Test timeout computed to be: 1500
  530/1087 Test #530: vtkGUISupportQtCxx-TestWin32QVTKWidget .......................................***Exception: Other  0.00 sec
  test 531
          Start 531: vtkGUISupportQtOpenGLCxx-TestQVTKWidget2

  531: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtOpenGLCxxTests.exe "TestQVTKWidget2" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/QtOpenGL/Testing/Data/Baseline/TestQVTKWidget2.png"
  531: Test timeout computed to be: 1500
  531/1087 Test #531: vtkGUISupportQtOpenGLCxx-TestQVTKWidget2 .....................................***Exception: Other  0.01 sec
  test 532
          Start 532: vtkGUISupportQtSQLCxx-TestQtSQLDatabase

  532: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtSQLCxxTests.exe "TestQtSQLDatabase" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  532: Test timeout computed to be: 1500
  532: QT_MODULE_SQL not enabled in this edition, so nothing to test.
  532/1087 Test #532: vtkGUISupportQtSQLCxx-TestQtSQLDatabase ......................................   Passed    0.01 sec
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

Sankhesh Jhaveri-2

I don’t think the -V switch is passed to individual tests here.
What is the command you use?

Make sure that the environment variable PATH lists VTK <build dir>/bin/<build configuration> folder.


On Thu, Jun 15, 2017 at 11:30 AM sebastien247 <[hidden email]> wrote:
The verbose result with VisualStudio 2015 :

  test 525
          Start 525: vtkGUISupportQtCxx-TestQtDebugLeaksView

  525: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
"TestQtDebugLeaksView" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  525: Test timeout computed to be: 1500
  525/1087 Test #525: vtkGUISupportQtCxx-TestQtDebugLeaksView
......................................***Exception: Other  0.01 sec
  test 526
          Start 526: vtkGUISupportQtCxx-TestQtTableModelAdapter

  526: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
"TestQtTableModelAdapter" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  526: Test timeout computed to be: 1500
  526/1087 Test #526: vtkGUISupportQtCxx-TestQtTableModelAdapter
...................................***Exception: Other  0.00 sec
  test 527
          Start 527: vtkGUISupportQtCxx-TestQtTreeModelAdapter

  527: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
"TestQtTreeModelAdapter" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  527: Test timeout computed to be: 1500
  527/1087 Test #527: vtkGUISupportQtCxx-TestQtTreeModelAdapter
....................................***Exception: Other  0.00 sec
  test 528
          Start 528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget

  528: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
"TestQVTKOpenGLWidget" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidget.png"
  528: Test timeout computed to be: 1500
  528/1087 Test #528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget
......................................***Exception: Other  0.00 sec
  test 529
          Start 529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA

  529: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
"TestQVTKOpenGLWidgetWithMSAA" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidgetWithMSAA.png"
  529: Test timeout computed to be: 1500
  529/1087 Test #529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA
..............................***Exception: Other  0.00 sec
  test 530
          Start 530: vtkGUISupportQtCxx-TestWin32QVTKWidget

  530: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
"TestWin32QVTKWidget" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  530: Test timeout computed to be: 1500
  530/1087 Test #530: vtkGUISupportQtCxx-TestWin32QVTKWidget
.......................................***Exception: Other  0.00 sec
  test 531
          Start 531: vtkGUISupportQtOpenGLCxx-TestQVTKWidget2

  531: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtOpenGLCxxTests.exe
"TestQVTKWidget2" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
"-V"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/QtOpenGL/Testing/Data/Baseline/TestQVTKWidget2.png"
  531: Test timeout computed to be: 1500
  531/1087 Test #531: vtkGUISupportQtOpenGLCxx-TestQVTKWidget2
.....................................***Exception: Other  0.01 sec
  test 532
          Start 532: vtkGUISupportQtSQLCxx-TestQtSQLDatabase

  532: Test command:
D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtSQLCxxTests.exe
"TestQtSQLDatabase" "-D"
"D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
"D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  532: Test timeout computed to be: 1500
  532: QT_MODULE_SQL not enabled in this edition, so nothing to test.
  532/1087 Test #532: vtkGUISupportQtSQLCxx-TestQtSQLDatabase
......................................   Passed    0.01 sec



--
View this message in context: http://vtk.1045678.n5.nabble.com/QVTKOpenGlWidget-black-screen-and-tests-FAILED-tp5743647p5743654.html
Sent from the VTK - Users mailing list archive at Nabble.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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
--
Sankhesh Jhaveri
Sr. Research & Development Engineer | Kitware | (518) 881-4417

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

VTK - Users mailing list
You need "ctest -VV" to see the actual output from each individual test.



On Thu, Jun 15, 2017 at 11:45 AM, Sankhesh Jhaveri
<[hidden email]> wrote:

> I don’t think the -V switch is passed to individual tests here.
> What is the command you use?
>
> Make sure that the environment variable PATH lists VTK <build
> dir>/bin/<build configuration> folder.
>
>
> On Thu, Jun 15, 2017 at 11:30 AM sebastien247 <[hidden email]>
> wrote:
>>
>> The verbose result with VisualStudio 2015 :
>>
>>   test 525
>>           Start 525: vtkGUISupportQtCxx-TestQtDebugLeaksView
>>
>>   525: Test command:
>> D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
>> "TestQtDebugLeaksView" "-D"
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
>> "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
>>   525: Test timeout computed to be: 1500
>>   525/1087 Test #525: vtkGUISupportQtCxx-TestQtDebugLeaksView
>> ......................................***Exception: Other  0.01 sec
>>   test 526
>>           Start 526: vtkGUISupportQtCxx-TestQtTableModelAdapter
>>
>>   526: Test command:
>> D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
>> "TestQtTableModelAdapter" "-D"
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
>> "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
>>   526: Test timeout computed to be: 1500
>>   526/1087 Test #526: vtkGUISupportQtCxx-TestQtTableModelAdapter
>> ...................................***Exception: Other  0.00 sec
>>   test 527
>>           Start 527: vtkGUISupportQtCxx-TestQtTreeModelAdapter
>>
>>   527: Test command:
>> D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
>> "TestQtTreeModelAdapter" "-D"
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
>> "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
>>   527: Test timeout computed to be: 1500
>>   527/1087 Test #527: vtkGUISupportQtCxx-TestQtTreeModelAdapter
>> ....................................***Exception: Other  0.00 sec
>>   test 528
>>           Start 528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget
>>
>>   528: Test command:
>> D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
>> "TestQVTKOpenGLWidget" "-D"
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
>> "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V"
>>
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidget.png"
>>   528: Test timeout computed to be: 1500
>>   528/1087 Test #528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget
>> ......................................***Exception: Other  0.00 sec
>>   test 529
>>           Start 529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA
>>
>>   529: Test command:
>> D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
>> "TestQVTKOpenGLWidgetWithMSAA" "-D"
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
>> "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V"
>>
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidgetWithMSAA.png"
>>   529: Test timeout computed to be: 1500
>>   529/1087 Test #529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA
>> ..............................***Exception: Other  0.00 sec
>>   test 530
>>           Start 530: vtkGUISupportQtCxx-TestWin32QVTKWidget
>>
>>   530: Test command:
>> D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe
>> "TestWin32QVTKWidget" "-D"
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
>> "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
>>   530: Test timeout computed to be: 1500
>>   530/1087 Test #530: vtkGUISupportQtCxx-TestWin32QVTKWidget
>> .......................................***Exception: Other  0.00 sec
>>   test 531
>>           Start 531: vtkGUISupportQtOpenGLCxx-TestQVTKWidget2
>>
>>   531: Test command:
>>
>> D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtOpenGLCxxTests.exe
>> "TestQVTKWidget2" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
>> "-V"
>>
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/QtOpenGL/Testing/Data/Baseline/TestQVTKWidget2.png"
>>   531: Test timeout computed to be: 1500
>>   531/1087 Test #531: vtkGUISupportQtOpenGLCxx-TestQVTKWidget2
>> .....................................***Exception: Other  0.01 sec
>>   test 532
>>           Start 532: vtkGUISupportQtSQLCxx-TestQtSQLDatabase
>>
>>   532: Test command:
>> D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtSQLCxxTests.exe
>> "TestQtSQLDatabase" "-D"
>> "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T"
>> "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
>>   532: Test timeout computed to be: 1500
>>   532: QT_MODULE_SQL not enabled in this edition, so nothing to test.
>>   532/1087 Test #532: vtkGUISupportQtSQLCxx-TestQtSQLDatabase
>> ......................................   Passed    0.01 sec
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/QVTKOpenGlWidget-black-screen-and-tests-FAILED-tp5743647p5743654.html
>> Sent from the VTK - Users mailing list archive at Nabble.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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>
> --
>
> Sankhesh Jhaveri
>
> Sr. Research & Development Engineer | Kitware | (518) 881-4417
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

sebastien247
Thank you for your help.

For VisualStudio I build "RUN_TESTS" with this change in Properties > Build Events > Post-Build Event :

setlocal
"C:\Program Files\CMake\bin\ctest.exe" --force-new-ctest-process -VV -C $(Configuration)
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd


But the result is the same like "-V" :

  test 525
          Start 525: vtkGUISupportQtCxx-TestQtDebugLeaksView

  525: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQtDebugLeaksView" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary"
  525: Test timeout computed to be: 1500
  525/1087 Test #525: vtkGUISupportQtCxx-TestQtDebugLeaksView ......................................***Exception: Other  0.01 sec





The result with -VV in command line is :

D:\DevTools\VTK-8.0.0.rc2\build>"C:\Program Files\CMake\bin\ctest.exe" -VV -R TestQVTKOpenGLWidget -C Release
UpdateCTestConfiguration  from :D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Parse Config file:D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
 Add coverage exclude regular expressions.
 Add coverage exclude: vtk.*TCLInit.cxx
 Add coverage exclude: vtk[^\.]+(Java|Python|Tcl).cxx
 Add coverage exclude: .*vtkOpenGLState.*
 Add coverage exclude: .*Testing.Cxx.*cxx
 Add coverage exclude: .*Testing.Cxx.*h
 Add coverage exclude: .*moc_.*cxx
 Add coverage exclude: .*/Rendering/OpenGL/vtkgl.*
 Add coverage exclude: .*/Utilities/.*
 Add coverage exclude: .*/ThirdParty/.*
 Add coverage exclude: .*vtkOpenGLPolyDataMapper.*
SetCTestConfiguration:CMakeCommand:C:/Program Files/CMake/bin/cmake.exe
UpdateCTestConfiguration  from :D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Parse Config file:D:/DevTools/VTK-8.0.0.rc2/build/DartConfiguration.tcl
Test project D:/DevTools/VTK-8.0.0.rc2/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 528
    Start 528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget

528: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQVTKOpenGLWidget" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidget.png"
528: Test timeout computed to be: 1500
528: <DartMeasurement name="ImageError" type="numeric/double">0</DartMeasurement><DartMeasurement name="BaselineImage" type="text/string">Standard</DartMeasurement><DartMeasurement name="WallTime" type="numeric/double">0.459</DartMeasurement>
528: <DartMeasurement name="CPUTime" type="numeric/double">0.46</DartMeasurement>
1/2 Test #528: vtkGUISupportQtCxx-TestQVTKOpenGLWidget ...........   Passed    0.56 sec
test 529
    Start 529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA

529: Test command: D:\DevTools\VTK-8.0.0.rc2\build\bin\Release\vtkGUISupportQtCxxTests.exe "TestQVTKOpenGLWidgetWithMSAA" "-D" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData//Testing" "-T" "D:/DevTools/VTK-8.0.0.rc2/build/Testing/Temporary" "-V" "D:/DevTools/VTK-8.0.0.rc2/build/ExternalData/GUISupport/Qt/Testing/Data/Baseline/TestQVTKOpenGLWidgetWithMSAA.png"
529: Test timeout computed to be: 1500
529: <DartMeasurement name="ImageError" type="numeric/double">0</DartMeasurement><DartMeasurement name="BaselineImage" type="text/string">Standard</DartMeasurement><DartMeasurement name="WallTime" type="numeric/double">0.504</DartMeasurement>
529: <DartMeasurement name="CPUTime" type="numeric/double">0.504</DartMeasurement>
2/2 Test #529: vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA ...   Passed    0.61 sec

The following tests passed:
        vtkGUISupportQtCxx-TestQVTKOpenGLWidget
        vtkGUISupportQtCxx-TestQVTKOpenGLWidgetWithMSAA

100% tests passed, 0 tests failed out of 2


Label Time Summary:
vtkGUISupportQt    =   1.17 sec (2 tests)

Total Test time (real) =   1.48


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

sebastien247
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

sebastien247
In reply to this post by Elvis Stansvik
I found my problem !

When i remove lines, display work fine :
	renderWindowInteractor = vtkSmartPointer<vtkRenderWindowInteractor>::New();
	renderWindowInteractor->SetRenderWindow( renderWindow.Get() );
	renderWindowInteractor->GetInteractorStyle()->SetDefaultRenderer( primaryRenderer.Get() );

vtkRenderWindowInteractor with QVTKOpenGLWidget is not compatible ?

also after removed lines i comment a big part of my code for remove an error :

this was nullptr.
Polygonia.exe!vtkTextRenderer::RenderString(vtkTextProperty * tprop=0x00000200028b63e0, const vtkStdString & str={...}, vtkImageData * data=0x000002000291a340, int * textDims=0x0000000000000000, int dpi=72, int backend=-1) Line 231	C++

Line 227 to 232 :
  bool RenderString(vtkTextProperty *tprop, const vtkStdString &str,
                    vtkImageData *data, int textDims[2], int dpi,
                    int backend = Default)
  {
    return this->RenderStringInternal(tprop, str, data, textDims, dpi, backend);
  }

Before QVTKOpenGLWidget i used QVTKWidget and my code work perfectly.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

Utkarsh Ayachit
> When i remove lines, display work fine :
> vtkRenderWindowInteractor with QVTKOpenGLWidget is not compatible ?

That's correct. You're better off letting QVTKOpenGLWidget create the
interactor for you. Calling
vtkSmartPointer<vtkRenderWindowInteractor>::New() will create platform
specific interactor, eg. vtkWin32RenderWindowInteractor which is not
compatible with `vtkGenericOpenGLRenderWindow` requried by
QVTKOpenGLWidget.

Utkarsh
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QVTKOpenGlWidget black screen and tests FAILED

sebastien247
Ok Thanks !

My others problem are solved with this missing line :
VTK_MODULE_INIT(vtkRenderingFreeType)

Thanks to all
Loading...