Now when I finally learned QML/C++ binding now I'm trying to make and import new component. For example, if I make application which consist only of QML files, then I have no problems with adding new components, like button. But if I make application which requires QML/C++ binding then Qt doesn't recognise my new component.
So I have Button.qml file in same folder as main.qml. Then when I try to make something like this:

Qt Code:
  1. Button{
  2.  
  3. ...
  4.  
  5. }
To copy to clipboard, switch view to plain text mode 

I get error that component can't be recognized. What's the problem