JPNaude / Qtilities

Building blocks for Qt applications
http://jpnaude.github.io/Qtilities/
Other
137 stars 39 forks source link

Include paths not consistent #94

Open gemmell opened 11 years ago

gemmell commented 11 years ago

If I add $(QTILITIES_DIR)/include to my include path and then do:


# include <QtilitiesCoreGui/QtilitiesCoreGui>```

I get 
`1>c:\tkbt\launch2.0.0\qtilities\src\coregui\source\IActionManager.h(15): fatal error C1083: Cannot open include file: 'ObserverData': No such file or directory`

As it's included as `#include <ObserverData>`

If I set my include paths to be $(QTILITIES_DIR)\include\QtilitiesCore;$(QTILITIES_DIR)\include\QtilitiesCoreGui;$(QTILITIES_DIR)\include\QtilitiesLogging;

And then do 
```#include <QtilitiesApplication>
# include <QtilitiesCoreGui>```

I get
`1>C:\tkbt\Launch2.0.0\Qtilities\include\QtilitiesCoreGui\QtilitiesCoreGui(4): fatal error C1083: Cannot open include file: 'QtilitiesLogging/QtilitiesLogging': No such file or directory`

As it does `#include <QtilitiesLogging/QtilitiesLogging>`

So I have to set the include directory to pretty much everything to include something.Would much prefer the former include scheme:
`#include <QtilitiesCoreGui/QtilitiesApplication>`
So that I only need to put in the one include directory.