OK, I change my pro to to this one

Qt Code:
  1. TEMPLATE = app
  2. TARGET =
  3. DESTDIR = bin/
  4. DEPENDPATH += . headers sources
  5. INCLUDEPATH += absolute/path/to/my/headers
  6.  
  7. CONFIG +=release
  8. CONFIG += qt console
  9. QT +=sql gui network core
  10.  
  11. # Input
  12. HEADERS += headers/tableeditor.h
  13. SOURCES += sources/tableeditor.cpp sources/main.cpp
  14.  
  15. RESOURCES += myproject.qrc
  16.  
  17.  
  18. RC_FILE += resourcefiles/myproject.rc
To copy to clipboard, switch view to plain text mode 

and in my main.cpp I have this line

Qt Code:
  1. #include "tableeditor.h"
To copy to clipboard, switch view to plain text mode 

I get this error

Qt Code:
  1. sources\main.cpp|10|tableeditor.h: No such file or directory|
To copy to clipboard, switch view to plain text mode 

I am beginning to despair!!!!