Qt Code:
  1. samundra@riskyboy /tmp/qt4.5.2 $ ./configure
  2. Which edition of Qt do you want to use ?
  3.  
  4. Type 'c' if you want to use the Commercial Edition.
  5. Type 'o' if you want to use the Open Source Edition.
  6.  
  7. o
  8.  
  9.  
  10. This is the Qt/X11 Open Source Edition.
  11.  
  12. You are licensed to use this software under the terms of
  13. the GNU General Public License (GPL) versions 3.
  14. You are also licensed to use this software under the terms of
  15. the Lesser GNU General Public License (LGPL) versions 2.1.
  16.  
  17. Type '3' to view the GNU General Public License version 3.
  18. Type 'L' to view the Lesser GNU General Public License version 2.1.
  19. Type 'yes' to accept this license offer.
  20. Type 'no' to decline this license offer.
  21.  
  22. Do you accept the terms of either license? yes
  23.  
  24. Creating qmake. Please wait...
  25. ln: creating symbolic link `/tmp/qt4.5.2/include/QtCore/qconfig.h': File exists
  26. ln: creating symbolic link `/tmp/qt4.5.2/include/Qt/qconfig.h': File exists
  27. g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/tmp/qt4.5.2/include -I/tmp/qt4.5.2/include/QtCore -I/tmp/qt4.5.2/src/corelib/global -I/tmp/qt4.5.2/src/script -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/tmp/qt4.5.2/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
  28. In file included from /tmp/qt4.5.2/include/QtCore/qglobal.h:1,
  29. from /tmp/qt4.5.2/include/QtCore/../../src/corelib/tools/qalgorithms.h:45,
  30. from /tmp/qt4.5.2/include/QtCore/qalgorithms.h:1,
  31. from /tmp/qt4.5.2/include/QtCore/../../src/corelib/tools/qstringlist.h:45,
  32. from /tmp/qt4.5.2/include/QtCore/qstringlist.h:1,
  33. from project.h:45,
  34. from project.cpp:42:
  35. /tmp/qt4.5.2/include/QtCore/../../src/corelib/global/qglobal.h:62:28: error: QtCore/qconfig.h: No such file or directory
  36. make: *** [project.o] Error 1
To copy to clipboard, switch view to plain text mode 

I always keep getting the same error again and again. Anyone please help me.

Krak