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?
CodeLite 5.1 - cannot find <QString>
-
- CodeLite Enthusiast
- Posts: 24
- Joined: Thu Apr 18, 2013 9:46 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: CodeLite 5.1 - cannot find <QString>
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 24
- Joined: Thu Apr 18, 2013 9:46 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: CodeLite 5.1 - cannot find <QString>
Fixed. Needed to add ../qt4/QtCore to include path.