--- GUISupport/Qt/CMakeLists.txt.orig	2019-01-30 17:15:13 UTC
+++ GUISupport/Qt/CMakeLists.txt
@@ -128,21 +128,21 @@ if(VTK_BUILD_QT_DESIGNER_PLUGIN AND add_qvtkwidget)
   find_package(Qt5 COMPONENTS ${qt_component} REQUIRED QUIET)
   add_definitions(${Qt5${qt_component}_DEFINITIONS})
   include_directories(${Qt5${qt_component}_INCLUDE_DIRS})
-  qt5_wrap_cpp(PluginMocSrcs ${PluginMocHeaders} TARGET QVTKWidgetPlugin)
+  qt5_wrap_cpp(PluginMocSrcs ${PluginMocHeaders} TARGET QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION})
   set(QT_LIBRARIES Qt5::${qt_component})
 
   # add QVTK plugin from sources
   # stand-alone as it doesn't depend on QVTK library
-  add_library(QVTKWidgetPlugin
+  add_library(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}
     SHARED
     ${PluginLibSrcs}
     ${PluginMocSrcs}
     )
 
-  set_target_properties(QVTKWidgetPlugin PROPERTIES COMPILE_DEFINITIONS QT_NO_DEBUG)
+  set_target_properties(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} PROPERTIES COMPILE_DEFINITIONS QT_NO_DEBUG)
 
   # link with Qt libs
-  vtk_module_link_libraries(QVTKWidgetPlugin ${QT_LIBRARIES})
+  vtk_module_link_libraries(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} ${QT_LIBRARIES})
 
   # install rules
 
