Skip to content
Snippets Groups Projects
Commit 041c1893 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'qt-split-deprecated'


b8eebb26 paraview_client_initializer: another split deprecation fix

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !4412
parents 2ce77a09 b8eebb26
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,11 @@ pq@_paraview_client_NAME@Initializer::Status pq@_paraview_client_NAME@Initialize
// Load optional plugins.
vtkVLogStartScopeF(PARAVIEW_LOG_PLUGIN_VERBOSITY(), "opt-plugins", "load optional plugins: `@_paraview_client_OPTIONAL_PLUGINS@`");
plugin_string = "@_paraview_client_OPTIONAL_PLUGINS@";
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
plugin_list = plugin_string.split(';',QString::SkipEmptyParts);
#else
plugin_list = plugin_string.split(';',Qt::SkipEmptyParts);
#endif
foreach (const QString plugin_name, plugin_list)
{
if (!loader->LoadPluginByName(plugin_name.toLatin1().data()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment