Hi guys

My app builds and runs perfectly on a Mac.

When I try to build in on Win XP through either the console or Qt creator I get:
"JBWindowfactory.h: no such file or directory"

This and several other files are in subdirectories listed in the project file.

Using Qt 4.6.2 (32 bit)

the .pro file
Qt Code:
  1. QT += network \
  2. sql \
  3. webkit \
  4. multimedia \
  5. testlib
  6. TARGET = MarketingManager
  7. TEMPLATE = app
  8. SOURCES += main.cpp \
  9. JBUtilities.cpp \
  10. ..
  11. Views/JBTreeWidget.cpp \
  12. Factories/JBWindowfactory.cpp \
  13. ..
  14. Views/jbConnectableWidget.cpp
  15. HEADERS += JBConstants.h \
  16. ..
  17. Views/JBTreeWidget.h \
  18. Factories/JBWindowfactory.h \
  19. Windows/jbMainwindow.h \
  20. ..
  21. ui_jbMainWindow.h \
  22. Views/jbConnectableWidget.h
  23. FORMS += jbMainWindow.ui
To copy to clipboard, switch view to plain text mode 

main.cpp
Qt Code:
  1. #include <QtGui/QApplication>
  2. #include <QString>
  3. #include <QtSql>
  4. #include <QDir>
  5. #include <iostream>
  6.  
  7. #include "JBWindowfactory.h"
  8. #include "JBConstants.h"
  9.  
  10. using namespace std;
  11.  
  12. int main(int argc, char *argv[])
  13. {
  14.  
  15. etc.
To copy to clipboard, switch view to plain text mode 

Adding the following to my project file doesn't help:
INCLUDEPATH += .
DEPENDPATH += . Factories

Any help would be appreciated.
Thanks
Jeff