title: Qt Creator: “inline function used but never defined” – why?
body: <p>Why am I getting this warning in Qt Creator:  ` inline function ‘bool Lion::growl ()’ used but never defined?</p>
  
  <p>I double-checked my code, and have a declaration </p>
  
  <p><code>inline bool growl ()</code> in <code>Lion</code> (<code>lion.h</code>)</p>
  
  <p>and the corresponding implementation in <code>lion.cpp</code>:</p>
  
  <p><code>inline bool Lion::growl ()</code></p>
  
  <p>What’s going on?</p>
  
  <p>EDIT: My assumption has been that it is legal to define the actual inline method in the .cpp file (the <code>inline</code> keyword alerts the compiler to look for the method body elsewhere), or am I mistaken?</p>
  
  <p>I don't want to clutter my header files with implementation details.</p>