WOOHOO! It works if all is in one directory, but not if split.

My pro file looks like:
Qt Code:
  1. # -------------------------------------------------
  2. # Project created by QtCreator 2009-03-22T08:27:36
  3. # -------------------------------------------------
  4. QT += sql \
  5. svg
  6. CONFIG += qt \
  7. debug \
  8. warn_on
  9. TARGET = project
  10. TEMPLATE = app
  11. MOC_DIR = build
  12. OBJECTS_DIR = build
  13. RCC_DIR = build
  14. UI_DIR = build
  15. INCLUDEPATH += src
  16. VPATH = src \
  17. res
  18. HEADERS +=alarmview.h ...
  19. FORMS += alarmview.ui ...
  20. SOURCES += alarmview.cpp ...
  21. RESOURCES += project.qrc
To copy to clipboard, switch view to plain text mode 
Is there something I should tweak here? I've tried adding the build directory to INCLUDEPATH and VPATH: no dice.