title: Error: QQmlApplicationEngine failed to load component
body: <p>I try to register a type, but I'm getting this error:</p>
  
  <pre>QQmlApplicationEngine failed to load component
  qrc:/main.qml:5 module "Komut" is not installed</pre>
  
  <p>This is the code I'm using:</p>
  
  <pre><code>QQmlApplicationEngine engine;
  engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
  qmlRegisterType&lt;Execom&gt;("Komut",1,0,"Execom");
  </code></pre>