aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/ivigenerator/templates/server_qtro_simulator/main.cpp.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ivigenerator/templates/server_qtro_simulator/main.cpp.tpl')
-rw-r--r--src/tools/ivigenerator/templates/server_qtro_simulator/main.cpp.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ivigenerator/templates/server_qtro_simulator/main.cpp.tpl b/src/tools/ivigenerator/templates/server_qtro_simulator/main.cpp.tpl
index 8da233a..82c9383 100644
--- a/src/tools/ivigenerator/templates/server_qtro_simulator/main.cpp.tpl
+++ b/src/tools/ivigenerator/templates/server_qtro_simulator/main.cpp.tpl
@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
{% for interface in module.interfaces %}
auto {{interface|lowerfirst}}Instance = new {{interface}}Backend(simulationEngine);
//Register the types for the SimulationEngine
- {{module.module_name|upperfirst}}Module::registerQmlTypes(QStringLiteral("{{module|qml_type}}.simulation"), {{module.majorVersion}}, {{module.minorVersion}});
+ {{module.module_name|upperfirst}}::registerQmlTypes(QStringLiteral("{{module|qml_type}}.simulation"), {{module.majorVersion}}, {{module.minorVersion}});
simulationEngine->registerSimulationInstance({{interface|lowerfirst}}Instance, "{{module|qml_type}}.simulation", {{module.majorVersion}}, {{module.minorVersion}}, "{{interface}}Backend");
{% endfor %}
{% if module.tags.config_simulator and module.tags.config_simulator.simulationFile %}