Results 1 to 5 of 5

Thread: How to install Qt ???

  1. #1
    Join Date
    Sep 2008
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question How to install Qt ???

    Hi guys. My name is Dany and I'm new on this forum.
    I would like to learn programing with Qt, but I don't know how to install it.
    I tried 3 versions but no success I have these 3 versions :
    - Trolltech Qt Commercial 4.4.0 (from demonoid)
    - Trolltech Qt Commercial 4.3.1 (from demonoid)
    - And this one downloaded from official site
    qt-win-opensource-src-4.4.1.zip
    qt-win-opensource-4.4.1-mingw.exe

    When I installed Commercial 4.4.0 everything looked OK, but when I tried to compile
    Hello.cpp I enter command qmake -project (that was OK), then qmake hello.pro (that was OK too), but when I entered command make then:
    'make' is not recognized as an internal or external command operable program or batch file.

    The only compiler I have on my computer is Dev-c++.
    Can someone pleas tell me how to install Qt, or point me to some good step by step tutorial on how to install Qt.

  2. #2
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: How to install Qt ???

    Hi
    In my opinion you have installed Qt correctly, the problem is that make utility is not on your system. I am new to this also, but I have seen that error before, and it looks like make is not on your system.
    Without QT, what do you use to compile your 'other' programs? do you use make?
    Did you path the location of your make utility? compiler tools..etc?

    This link has almost everything you need http://doc.trolltech.com/4.4/index.html
    I am using 4.4 version, but you can find the other versions in that same area. Or just change the url to 4.0, 3.3..etc.

  3. #3
    Join Date
    Mar 2008
    Location
    Currently Goa, Home town - Warangal
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to install Qt ???

    Assuming you have installed Dev-Cpp in C:\Dev-Cpp
    you should mention that path when installing qt-win-opensource-4.4.1-mingw.exe, when it asks for mingw.

    After you install with the path of Dev-cpp, you should be able to run the qt apps with the console that is there in "Start->All Programs->Qt by Trolltech->Qt{version} command prompt"

    But if you want to compile from cmd, and run apps with double clicks,
    Just create environment variables as shown in Qt{version} command prompt
    Assuming you know how to add env variables in windows, just
    Add QTDIR & QMAKESEC to environment variables
    and
    append QTDIR/bin to PATH

    restart the computer, everything should work fine.
    You can ask if you want more detailed explanation. I might be slow in replying, though.

  4. #4
    Join Date
    Sep 2008
    Posts
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to install Qt ???

    There You can find everything:
    turtorial.
    Good luck

  5. The following user says thank you to pawel87 for this useful post:

    dany_MB (2nd October 2008)

  6. #5
    Join Date
    Sep 2008
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to install Qt ???

    Guys thank you soooo much. Now I did it successfully.

    I installed it on Backtrack3. Working 100%.
    This is how I did it :
    Qt Code:
    1. cd /usr/local
    2. wget ftp://ftp.trolltech.no/qt/source/qt-x11-opensource-src-4.4.3.tar.gz
    3. tar -zxvf qt-x11-opensource-src-4.4.3.tar.gz
    4. cd qt-x11-opensource-src-4.4.3
    5. ./configure -qt-gif -stl -xinerama -sm -no-exceptions
    6. make install
    To copy to clipboard, switch view to plain text mode 

    Thank you guys for helping me.

Similar Threads

  1. A Guide to Install MinGW, Qt4 and Eclipse Integration on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 10
    Last Post: 5th August 2009, 04:03
  2. Replies: 2
    Last Post: 7th May 2008, 20:11
  3. How to install Qt/Qtopia on embeded linux?
    By atil in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 13th December 2007, 22:03
  4. Replies: 4
    Last Post: 17th May 2007, 15:24
  5. Cannot Install KDEdevel packages on linux
    By wirajr in forum KDE Forum
    Replies: 12
    Last Post: 5th February 2006, 21:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.