# Thread: How to set up Qt in Dev-c++?

1. ## How to set up Qt in Dev-c++?

How to set up Qt to work with Dev-C++?

I have set up these environment variables so far:

QTDIR = D:\Qt\4.3.4\
INCLUDE = D:\Qt\4.3.4\include
PATH is extended with ;D:\Qt\4.3.4\bin;D:\Dev-Cpp\bin
QMAKESPEC = I don't know what to write here???

So far Dev-c++ compiles programs only if include like this:

#include <QApplication.h>

, but .h extension is not needed in Linux and it sould not be needed in Dev-c++ to.