<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Fira Sans";
        panose-1:2 11 5 3 5 0 0 2 0 4;}
@font-face
        {font-family:"Times New Roman \(Body CS\)";
        panose-1:2 2 6 3 5 4 5 2 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Fira Sans",sans-serif;
        font-variant:normal !important;
        color:windowtext;
        text-transform:none;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;
        vertical-align:baseline;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1004551473;
        mso-list-template-ids:-1602853614;}
@list l0:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1206214986;
        mso-list-template-ids:1021980368;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Fira Sans",sans-serif'>And also the old QVTKWidget will not work properly with Retina screens on macOS ( not sure about other operating systems). The problem you describe sounds like a retina issue we had before all the retina fixes were put into VTK 8.1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Fira Sans",sans-serif'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:black'>--<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>Michael Jackson | Owner, President<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>      BlueQuartz Software</span><o:p></o:p></p><p class=MsoNormal><span style='color:black'>[e] mike.jackson@bluequartz.net<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:black'>[w] www.bluequartz.net</span><span style='font-size:12.0pt;font-family:"Fira Sans",sans-serif'><o:p></o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='margin-left:.5in'><b><span style='font-size:12.0pt;color:black'>From: </span></b><span style='font-size:12.0pt;color:black'>vtkusers <vtkusers-bounces@vtk.org> on behalf of Zoltan Kovacs <Zoltan.Kovacs@esi-group.com><br><b>Date: </b>Monday, March 5, 2018 at 3:52 AM<br><b>To: </b>"'Andrew J. Buckler (Elucid Bioimaging)'" <andrew.buckler@elucidbio.com>, "'vtkusers@vtk.org'" <vtkusers@vtk.org><br><b>Subject: </b>Re: [vtkusers] VTK 8.0.1 with Qt 5.10.1<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><p class=MsoNormal style='margin-left:.5in'><a name="_MailOriginalBody">Hi,<o:p></o:p></a></p><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'> <o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'>Why don’t you use QVTKOpenGLWidget instead of QVTKWidget? The latter one is obsolete and its application is already deprecated. I am not sure if it is correctly supported by the VTK development now. QVTKOpenGLWidget takes over the window management and OpenGL context creation, which is a different solution compared with QVTKWidget.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'> <o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'>Regards,<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'>Zoltan<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'> <o:p></o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><b>From:</b> vtkusers <vtkusers-bounces@vtk.org> <b>On Behalf Of </b>Andrew J. Buckler (Elucid Bioimaging)<br><b>Sent:</b> Donnerstag, 1. März 2018 23:27<br><b>To:</b> vtkusers@vtk.org<br><b>Subject:</b> [vtkusers] VTK 8.0.1 with Qt 5.10.1<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'> <o:p></o:p></span></p><div id=divtagdefaultwrapper><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'>Hello,</span><o:p></o:p></span></p><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'>I have a successfully built and running application using VTK (multiple versions, including 8 and earlier) running with Qt 5.5.1. It uses QVTKWidget extensively. At this time I am working to upgrade to Qt 5.10.1, specifically pairing it with VTK 8.0.1.</span><o:p></o:p></span></p><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></span></p><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'>Having successfully built Qt from source, I built VTK as follows:</span><o:p></o:p></span></p><div><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'>tar -xvzf VTK-8.0.1.tar.gz<br>mkdir VTK-8.0.1-build<br>cd VTK-8.0.1-build<br>cmake -DCMAKE_CXX_FLAGS=-std=c++11 -DBUILD_SHARED_LIBS:BOOL=OFF -DQT_QMAKE_EXECUTABLE:PATH=/usr/local/Qt-5.10.1/bin/qmake -DCMAKE_PREFIX_PATH=/usr/local/Qt-5.10.1/ -DVTK_Group_Qt:BOOL=ON -DVTK_Group_Qt=1 -DVTK_QT_VERSION=5 ../VTK-8.0.1<br>make -j4<br>make install</span><o:p></o:p></span></p></div><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></span></p><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'>My application compiles and links without error on macOS 10.13, but the QVTKWidgets have erratic and inconsistent behavior.  Specifically:</span><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3'><span style='mso-bookmark:_MailOriginalBody'><![if !supportLists]><span style='color:black'><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span style='font-size:12.0pt;color:black'>Two of them work perfectly well. </span></span><span style='mso-bookmark:_MailOriginalBody'><span style='color:black'><o:p></o:p></span></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3'><span style='mso-bookmark:_MailOriginalBody'><![if !supportLists]><span style='color:black'><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span style='font-size:12.0pt;color:black'>Some of them do not work at all, that is, have either a blank content or seem to have a double-buffering error where old content from a portion of the screen where the widget is supposed to be displays previously displayed content at that location, rather than the correct content.</span></span><span style='mso-bookmark:_MailOriginalBody'><span style='color:black'><o:p></o:p></span></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo3'><span style='mso-bookmark:_MailOriginalBody'><![if !supportLists]><span style='color:black'><span style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span style='font-size:12.0pt;color:black'>Some of them show the correct content for a second or two and then revert to blank.</span></span><span style='mso-bookmark:_MailOriginalBody'><span style='color:black'><o:p></o:p></span></span></p><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></span></p><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'>It may be that the VTK build needs to be done with different flags, or some known incompatibility exists, or anything else. If anyone has run into this your help would be appreciated, or short of seeing the problem specifically any suggested debugging strategies would be great.</span><o:p></o:p></span></p><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></span></p><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'>With thanks,</span><o:p></o:p></span></p><p style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'><span style='font-size:12.0pt;color:black'>Andy</span><o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_MailOriginalBody'>_______________________________________________ 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: https://vtk.org/mailman/listinfo/vtkusers </span><o:p></o:p></p></div></body></html>