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

  1. #1
    Registered User
    Join Date
    Feb 2008

    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.
    Dev-c++ complains mainly that header files are not found.

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    absence of the .h is not guaranteed to work. use the .h as it is best practices since an extensionless file is of indeterminate type. Someone's had their collective heads up their arses when they thought of removing the .h extension from the standard. Next they will remove the .cpp from the source files, its just dumb and serves no purpose whatsoever.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 01-18-2008, 04:06 AM
  2. Replies: 4
    Last Post: 01-13-2008, 02:14 AM
  3. Replies: 7
    Last Post: 08-19-2007, 08:10 AM
  4. The new FAQ
    By Hammer in forum A Brief History of
    Replies: 34
    Last Post: 08-30-2006, 10:05 AM
  5. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM