CodeLite 5.1 - cannot find <QString>
Posted: Thu Apr 18, 2013 8:56 pm
Using CodeLite 5.1 on Ubuntu 12.10:
Created a minimal QTGui app. Built and ran fine.
#include <QApplication>
#include <QButton>
were inserted by the wizard in the main.cpp file - no problem. I added:
#include <QString>
as per QT docs, and pre-processer tells me it can't find QString. I checked the include setting for the project -
../qt4
and
../qt4/qt4GUI
are there correctly. I tried:
#include <qt4/QString>
with different case permutations - all no go.
What's wrong?
Created a minimal QTGui app. Built and ran fine.
#include <QApplication>
#include <QButton>
were inserted by the wizard in the main.cpp file - no problem. I added:
#include <QString>
as per QT docs, and pre-processer tells me it can't find QString. I checked the include setting for the project -
../qt4
and
../qt4/qt4GUI
are there correctly. I tried:
#include <qt4/QString>
with different case permutations - all no go.
What's wrong?