<div dir="ltr">Nico,<div><br></div><div>That looks good. Could you provide details on how you are setting up the link libraries for your project? Posting your CMake code is helpful.</div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 10, 2016 at 12:46 PM, Nico Del Piano <span dir="ltr"><<a href="mailto:ndel314@gmail.com" target="_blank">ndel314@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cory and Ben,<br>
<br>
this is how I've configured VTK so far:<br>
<br>
 Qt5Core_DIR<br>
/home/user/Qt/5.7/gcc_64/lib/<wbr>cmake/Qt5Core<br>
 Qt5Gui_DIR<br>
/home/user/Qt/5.7/gcc_64/lib/<wbr>cmake/Qt5Gui<br>
 Qt5Sql_DIR<br>
/home/user/Qt/5.7/gcc_64/lib/<wbr>cmake/Qt5Sql<br>
 Qt5UiPlugin_DIR<br>
/home/user/Qt/5.7/gcc_64/lib/<wbr>cmake/Qt5UiPlugin<br>
 Qt5Widgets_DIR<br>
/home/user/Qt/5.7/gcc_64/lib/<wbr>cmake/Qt5Widgets<br>
 Qt5X11Extras_DIR<br>
/home/user/Qt/5.7/gcc_64/lib/<wbr>cmake/Qt5X11Extras<br>
 Qt5_DIR                          /home/user/Qt/5.7/gcc_64/lib/<wbr>cmake/Qt5<br>
...<br>
VTK_Group_Qt                     ON<br>
...<br>
VTK_QT_VERSION                   5<br>
<br>
I guess this configuration follows your suggestions. So the problem<br>
might be another. Where should I find QVTK?<br>
<br>
Thanks<br>
<div class="HOEnZb"><div class="h5"><br>
2016-08-10 12:12 GMT-03:00 Ben Boeckel <<a href="mailto:ben.boeckel@kitware.com">ben.boeckel@kitware.com</a>>:<br>
> On Wed, Aug 10, 2016 at 12:05:29 -0300, Nico Del Piano wrote:<br>
>> Hey Cory, thanks for your reply.<br>
>><br>
>> Yes, that option is activated, and I have VTK installed.<br>
>><br>
>> Also, something weird happens, when configuring with cmake, if I try<br>
>> to change the version of `qmake` (to 5.7), it changes:<br>
>><br>
>> This is by default:<br>
>> QT_QMAKE_EXECUTABLE              /usr/bin/qmake-qt4<br>
>><br>
>> I change to:<br>
>> QT_QMAKE_EXECUTABLE              /home/user/Qt/5.7/bin/qmake<br>
>><br>
>> and it goes back automatically:<br>
>> QT_QMAKE_EXECUTABLE              /usr/bin/qmake-qt4<br>
><br>
> There's the VTK_QT_VERSION flag which you need to set to "5" in order to<br>
> get Qt5. QT_QMAKE_EXECUTABLE is always a Qt4 variable.<br>
><br>
> --Ben<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>