<div dir="ltr"><div><div>Hello<br><br></div>Switching to a downloaded version of Qt (with the patch cory mentionned) instead of using your package manager's Qt should do the trick.<br><br></div>Best,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Tue, Feb 13, 2018 at 9:18 PM, Daniel Vogler <span dir="ltr"><<a href="mailto:davogler@ethz.ch" target="_blank">davogler@ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi Cory, dear Artem,<br>
    </p>
    <p>Thanks for the mails. Regarding the issue Cory sent.<br>
    </p>
    <p><br>
    </p>
    <p>When doing the following:</p>
    <p>I moved libqgtk2.so (not libqgtk3.so in my case) from
      /opt/Qt/5.9.0/gcc_64/plugins/<wbr>platformthemes<br>
      <br>
      and commented _all_ lines in
      /opt/Qt/5.9/gcc_64/lib/cmake/<wbr>Qt5Gui/Qt5Gui_<wbr>QGtk3ThemePlugin.cmake</p>
    <p>I then rebuild paraview (build succeeds) but when I try to
      execute</p><span class="">
    <p>user:~/software/paraview_bin$ ./bin/paraview<br>
      libprotobuf FATAL
/home/user/software/paraview/<wbr>ThirdParty/protobuf/<wbr>vtkprotobuf/src/google/<wbr>protobuf/stubs/common.cc:62]
      This program requires version 2.6.0 of the Protocol Buffer runtime
      library, but the installed version is 2.3.0.  Please update your
      library.  If you compiled the program yourself, make sure that
      your headers are from the same version of Protocol Buffers as your
      link-time library.  (Version verification failed in
"/build/mir-O8_xaj/mir-0.26.3+<wbr>16.04.20170605/obj-x86_64-<wbr>linux-gnu/src/protobuf/<a href="http://mir_protobuf.pb.cc" target="_blank">mir_<wbr>protobuf.pb.cc</a>".)<br>
      Aborted<br>
    </p>
    <p><br>
    </p>
    </span><p>I still have no success. I still have other version of Qt
      installed (also in opt) and did not uninstall
      "qt5-gtk-platformtheme" as suggested by Timo Oster in the thread
      you sent. Could any of this be the problem? I am hesitant to
      uninstall qt5-gtk-platformtheme as I'm not sure if that'll give me
      another conflict.<br>
    </p>
    <p>Did I forget anything?</p><span class="HOEnZb"><font color="#888888">
    <p>Daniel<br>
    </p></font></span><div><div class="h5">
    <p><br>
    </p>
    <br>
    <div class="m_8096572847916228603moz-cite-prefix">On 13.02.2018 14:33, Cory Quammen
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Unfortunately, this is a known issue on Ubuntu
        16.04.
        <div><br>
        </div>
        <div><a href="https://gitlab.kitware.com/paraview/paraview/issues/17751" target="_blank">https://gitlab.kitware.com/<wbr>paraview/paraview/issues/17751</a><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Feb 13, 2018 at 2:29 PM, Artem
          Bodrin <span dir="ltr"><<a href="mailto:art.bodrin@gmail.com" target="_blank">art.bodrin@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,
            Daniel.<br>
            I have encountered the same trouble as you, Linux Mint
            (based on ubuntu 16.04). I did not seek for a solution yet
            (no need for linux version right now), but the answer is in
            the error output. If you inspect  the 3rd party protobuf
            bundled with ParaView VTK submodule, then you can see that
            original version used by VTK is 2.3.0<br>
            So I think, that during compilation it uses the system
            headers from ubuntu (which is 2.6.1), but links on internal
            VTK protobuf library which is 2.3.0.<br>
            My guessing is - remove dev package of protobuf from system
            and recompile again, it might help.<br>
            <br>
            <br>
            > 13 февр. 2018 г., в 22:03, Daniel Vogler <<a href="mailto:davogler@ethz.ch" target="_blank">davogler@ethz.ch</a>>
            написал(а):<br>
            <div class="m_8096572847916228603HOEnZb">
              <div class="m_8096572847916228603h5">><br>
                > Dear all,<br>
                ><br>
                > I am having trouble building Paraview 5.2.0 (This
                version or older is required for a separate plug-in).
                Other installations of paraview (not compiled from
                source) work fine.<br>
                ><br>
                > I run Ubuntu 16.04 LTS. I check out the paraview
                5.2.0 release and installed Qt5.6.3 (also tried 5.6 and
                5.7 because I had trouble with Qt during the paraview
                build earlier) in a separate directory. I have my
                (empty) build directory paraview_bin and paraview 5.2.0
                source in /home/user/software/paraview_b<wbr>in and
                /home/user/software/paraview respectively.<br>
                ><br>
                > - export PATH=/opt/Qt/5.6.3/gcc_64/:$PA<wbr>TH<br>
                ><br>
                > - ccmake -D PARAVIEW_QT_VERSION:STRING=5
                /path/to/paraview<br>
                ><br>
                > - BUILD_TESTING --> OFF<br>
                ><br>
                > - generation and make completes<br>
                ><br>
                > The build works fine, but when I try to execute I
                get a protobuf error<br>
                ><br>
                ><br>
                > user:~/software/paraview_bin$ ./bin/paraview<br>
                > libprotobuf FATAL /home/user/software/paraview/T<wbr>hirdParty/protobuf/vtkprotobuf<wbr>/src/google/protobuf/stubs/<wbr>common.cc:62]<br>
                > This program requires version 2.6.0 of the Protocol
                Buffer runtime library, but the installed version is
                2.3.0.<br>
                > Please update your library.<br>
                > If you compiled the program yourself, make sure
                that your headers are from the same version of Protocol
                Buffers as your link-time library.<br>
                > (Version verification failed in
                "/build/mir-O8_xaj/mir-0.26.3+<wbr>16.04.20170605/obj-x86_64-linu<wbr>x-gnu/src/protobuf/<a href="http://mir_protobuf.pb.cc" rel="noreferrer" target="_blank">mir_protobu<wbr>f.pb.cc</a>".)<br>
                > Aborted<br>
                ><br>
                > although my protoc version seems fine<br>
                ><br>
                > user:~/software/paraview_bin$ protoc --version<br>
                > libprotoc 2.6.1<br>
                ><br>
                > I have tried uninstalling and reinstalling protoc
                and libprotobuf as well as reinstalling Qt afterwards,
                but can not figure out this error.<br>
                ><br>
                > Any suggestions?<br>
                ><br>
                > Thanks a bunch,<br>
                ><br>
                > Dan<br>
                ><br>
                <br>
                ______________________________<wbr>_________________<br>
                Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
                <br>
                Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
                <br>
                Please keep messages on-topic and check the ParaView
                Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
                <br>
                Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
                <br>
                Follow this link to subscribe/unsubscribe:<br>
                <a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/paraview</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="m_8096572847916228603gmail_signature" data-smartmail="gmail_signature">Cory
          Quammen<br>
          Staff R&D Engineer<br>
          Kitware, Inc.</div>
      </div>
    </blockquote>
    <br>
    <pre class="m_8096572847916228603moz-signature" cols="72"></pre>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>