Project options question

Alvin alvinbeach at
Thu Feb 1 11:52:46 GMT 2007

On Wednesday 31 January 2007 22:13:58 Phil wrote:
> Thank you for reading this.
> There have been odd times when I have wanted to create a simple console
> program using the Qt3 libraries, but I have never seceded. This is an
> example, that
> I found recently, and below it is the error message that I have seen very
> often.
> No doubt I need to add something to the Kdevelop project options but what?
> Can anyone help?
> #include "/usr/lib/qt3/include/qapplication.h"
> #include "/usr/lib/qt3/include/qlabel.h"

Don't include the qt3 headers this way. Instead declare them this way:

#include <qapplicaiton.h>
#include <qlabel.h>

Then pass the -L switch to g++


That will then allow the compiler to fine the headers files that are declared 
inside of qlabel.h and qapplication.h

What version of kdevelop are you using? Are you using an Automake managed file 
for a custom makefile?

> /usr/include/multiarch-dispatch.h:23:56: error:
> multiarch-i386-linux/qconfig.h: No such file or directory

This error seems odd to me. It can't find qconfig.h because it thinks it's in 
the /usr/include/multiarch-i386-linux directory? Could this be a relative 
path error? In that case, perhaps the -L switch above will fix that.


More information about the KDevelop mailing list