<commit_before>vtk_add_test_cxx(${vtk-module}CxxTests tests
  TestQVTKWidget2.cxx,NO_DATA
  )
if(VTK_QT_VERSION VERSION_GREATER "4")
  find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED QUIET)
  qt5_wrap_cpp(moc_srcs QTestMainWindow.h)
else ()
  find_package(Qt4 REQUIRED)
  set(QT_USE_QTGUI 1)
  include(${QT_USE_FILE})
  qt4_wrap_cpp(moc_srcs QTestMainWindow.h)
endif ()
vtk_test_cxx_executable(${vtk-module}CxxTests tests
  QTestMainWindow.cxx
  ${moc_srcs})
target_link_libraries(${vtk-module}CxxTests LINK_PRIVATE
  ${QT_QTGUI_LIBRARY}
  ${QT_QTWIDGETS_LIBRARY})<commit_msg>TestQVTKWidget2: link QtOpenGL in Qt4<commit_after>vtk_add_test_cxx(${vtk-module}CxxTests tests
  TestQVTKWidget2.cxx,NO_DATA
  )
if(VTK_QT_VERSION VERSION_GREATER "4")
  find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED QUIET)
  qt5_wrap_cpp(moc_srcs QTestMainWindow.h)
else ()
  find_package(Qt4 REQUIRED)
  set(QT_USE_QTGUI 1)
  set(QT_USE_QTOPENGL 1)
  include(${QT_USE_FILE})
  qt4_wrap_cpp(moc_srcs QTestMainWindow.h)
endif ()
vtk_test_cxx_executable(${vtk-module}CxxTests tests
  QTestMainWindow.cxx
  ${moc_srcs})
target_link_libraries(${vtk-module}CxxTests LINK_PRIVATE
  ${QT_QTGUI_LIBRARY}
  ${QT_QTOPENGL_LIBRARY}
  ${QT_QTWIDGETS_LIBRARY})
{'fraction_non_alphanumeric': 0.09854604200323101, 'fraction_numerical': 0.013731825525040387, 'mean_word_length': 7.725352112676056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5822403', 'n_tokens_mistral': 591, 'n_tokens_neox': 558, 'n_words': 70}