Hi there

I'm running into a very strange, or very simple problem. I have a few files in a .pro file that gets compiled into a dll. A couple of these files (MainWindow.h/cpp) does not seem to find any dependencies.

Thiis is the important parts of my .pro file
Qt Code:
  1. TEMPLATE = lib
  2. CONFIG += qt gui
  3. DEPENDPATH += . source ../../include ../../source ../../../Framework/Headers/Interfaces ../../../Framework/Headers/Common
  4. INCLUDEPATH += . source ../../include ../../source ../../../Framework/Headers/Interfaces ../../../Framework/Headers/Common
  5.  
  6. DEFINES += VCL_MAKE_DLL2
  7.  
  8. # Input
  9. HEADERS += source/AboutBox.h \
  10. source/MainWindow.h \
  11. source/MainWindowComponent.h \
  12. source/SplashScreen.h
  13.  
  14. FORMS += source/AboutBox.ui
  15.  
  16. SOURCES += source/AboutBox.cpp \
  17. source/MainWindow.cpp \
  18. source/MainWindowComponent.cpp
  19.  
  20. RESOURCES += MainWindow.qrc
To copy to clipboard, switch view to plain text mode 


Now what I can't understand is that AboutBox compiles fine and it finds the Qt Gui library without any problems. The top of the MainWindow and AboutBox headers are shown below:

Qt Code:
  1. #ifndef MAIN_WINDOW_H
  2. #define MAIN_WINDOW_H
  3.  
  4. #include <QMainWindow>
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. #ifndef ABOUT_BOX_H
  2. #define ABOUT_BOX_H
  3.  
  4. #include <GCF/Common.h>
  5. #include <QDialog>
To copy to clipboard, switch view to plain text mode 


Can someone please help me understand how this is possible...
Thanks
Jaco