<div dir="ltr">Burlen,<div><br></div><div>See Qt dependencies changes documented here: <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/MajorAPIChanges.html">http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/MajorAPIChanges.html</a></div><div><pre class="gmail-fragment" style="border:1px solid rgb(196,207,229);background-color:rgb(251,252,253);padding:4px 6px;margin:4px 8px 4px 2px;overflow:auto;word-wrap:break-word;line-height:18.375px;font-family:monospace,fixed;font-size:14.7px;color:rgb(0,0,0)">include(ParaViewQt) # generally not needed, since auto-included
pv_find_package_qt(qt_targets
QT4_COMPONENTS QtGui
QT5_COMPONENTS Widgets)
pv_qt_wrap_cpp(moc_files ${headers})
pv_qt_wrap_ui(ui_files ${uis})
...
target_link_libraries(${target} LINK_PRIVATE ${qt_targets})</pre></div><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 21, 2016 at 1:25 PM, Burlen Loring <span dir="ltr"><<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
After upgrading to 5.2 my plugin is not compiling. When I configure
the plugin I see a few pages of the following:<br>
<blockquote>CMake Warning (dev) at io/CMakeLists.txt:54
(add_library):<br>
Policy CMP0028 is not set: Double colon in target name means
ALIAS or<br>
IMPORTED target. Run "cmake --help-policy CMP0028" for policy
details.<br>
Use the cmake_policy command to set the policy and suppress this
warning.<br>
<br>
Target "teca_io" links to target "Qt4::QtCore" but the target
was not<br>
found. Perhaps a find_package() call is missing for an IMPORTED
target, or<br>
an ALIAS target is missing?<br>
This warning is for project developers. Use -Wno-dev to suppress
it.<br>
</blockquote>
then linker errors<br>
<blockquote>[ 32%] Linking CXX shared library ../lib/libteca_io.so<br>
/bin/ld: cannot find -lQt4::QtCore<br>
/bin/ld: cannot find -lQt4::QtGui<br>
collect2: error: ld returned 1 exit status<br>
io/CMakeFiles/teca_io.dir/<wbr>build.make:402: recipe for target
'lib/libteca_io.so' failed<br>
make[2]: *** [lib/libteca_io.so] Error 1<br>
CMakeFiles/Makefile2:196: recipe for target
'io/CMakeFiles/teca_io.dir/<wbr>all' failed<br>
make[1]: *** [io/CMakeFiles/teca_io.dir/<wbr>all] Error 2<br>
Makefile:127: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
</blockquote>
It's not a library so I set the policy to new, and the cmake
configure errors out. Any idea what's missing?<br>
<br>
</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="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>