title: QtConcurrent trying to run a function in thread
body: <p>I have this function in some other included .cc :</p>
  
  <pre><code>void MakeMeshStructure(MeshStructureLayers layers,
    Handle_AIS_InteractiveContext theContext,
    Handle_TDocStd_Document aDoc,
    MyMesh &amp; mesh, 
    int detail_vertex,
    double insulation_thickness,
    OpenMesh::VPropHandleT&lt;MyMesh::Scalar&gt; _max_beam_offset)
  </code></pre>
  
  <p>Inside MainWindow I am trying to run this function in a thread: </p>
  
  <pre><code>QFuture&lt;void&gt; future = QtConcurrent::run(MeshStructure3::MakeMeshStructure,
    layers, 
    myCadFrame-&gt;getWidget()-&gt;getContext(),
    myController-&gt;getDocument()-&gt;getOcafDoc(), 
    mesh, 
    detail_vertex, 
    toolBox-&gt;insulation_thickness_SpinBox-&gt;value(), 
    max_beam_offset_);
  </code></pre>
  
  <p>Compiler says it has too many arguments.</p>