Thanks for your input....
This is a bit frustrating...Please be aware that I am an IDE user since 1985 beginning with my Days using Borland products..
I have never to my memory ever had problems installing compiler dir lib location in Windows nor Linux.
....Currently I can run the same code in QtCreator as well as Codelite without issue..
Also I can convert the code with pyuic and then run against the same lib with PyQt in Eric and Spyder IDEs w/o issue..
.....only Code::Blocks rejects the paths...and or libs as User yet works as Root/Super user..
Anyhow, I completely uninstalled Code::BLocks cleaned out dirs and Reinstalled Code::Blocks.....
Once again entered my References to the Compiler directive for the $(#qt) variable...
as above the same directories...
So I started the Default QT project via the Wizard..
All went well until the compile...
Code::Blocks now throws up errors by opening up the config file in the Qt lib sub dir...
It reads the file in the QtGui /include/QtGui/ dir
This runs an if clause which runs through the dir contents as Check of contents to present the libs to compiler inquiries..
It begins like so.... and goes on to run through the contents of the dir...
There are 18 Qt sub dir and each one has one of these ref files
#ifndef QT_QTGUI_MODULE_H
#define QT_QTGUI_MODULE_H
#include <QtCore/QtCore>
#include "qabstractitemdelegate.h"
#include "qabstractitemview.h"
#include "qabstractproxymodel.h"
This file is then opened on the editor next to main.cpp..
and an error is throw on the 3rd line not finding <QtCore/QTCore> as a dir so I tried <QtCore> as the second item is a file not a dir... But no help then drills into the qcoreapplication.h and disagrees with some contents there.... [out of breath]
I am about read to accept that Code::Blocks is not Qt4 compatible.. I have searched the forums here and I see Qt4 setup issues going back to at least 2006 without any satisfactory solution..
Here is my dir tree if it gives you any ideas...
Thanks for patience...
sqlpython@debian7:/usr/share/qt4$ ls
bin include phrasebooks q3porting.xml translations
doc mkspecs plugins QtCore
sqlpython@debian7:/usr/share/qt4$ tree -d /usr/share/qt4/include
/usr/share/qt4/include
├── Qt
├── Qt3Support
├── QtCore
├── QtDBus
├── QtDeclarative
├── QtDesigner
├── QtGui
├── QtHelp
├── QtNetwork
├── QtOpenGL
├── QtScript
├── QtScriptTools
├── QtSql
├── QtSvg
├── QtTest
├── QtUiTools
├── QtWebKit
├── QtXml
└── QtXmlPatterns
19 directories
sqlpython@debian7:/usr/share/qt4$ tree -d /usr/include/qt4
/usr/include/qt4
├── Qt
├── Qt3Support
├── QtCore
├── QtDBus
├── QtDeclarative
├── QtDesigner
├── QtGui
├── QtHelp
├── QtNetwork
├── QtOpenGL
├── QtScript
├── QtScriptTools
├── QtSql
├── QtSvg
├── QtTest
├── QtUiTools
├── QtWebKit
├── QtXml
└── QtXmlPatterns