Results 1 to 5 of 5

Thread: how to install qt in windows xp sp3

  1. #1
    Join Date
    Oct 2009
    Location
    chennai,india
    Posts
    66
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy how to install qt in windows xp sp3

    Hi all
    im new to qt ,i want to install qt with creator etc.,in windows i tried but unable to succedd
    can any one tell me t he exact steps to download and install and i need to configure the qt application to connect with mysql .
    i have tried and installed 4 or 5 times qt 4.5 (2009.1,2009.2,2009.4) but the problem is
    if i type gcc -v in the qt command prompt it gives unrecognized command
    same thing for make -v and qmake -v...

    thanks and regards
    mohanakrishnan

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qt in windows xp sp3

    SET PATH=%PATH%;<QTDIR>\mingw\bin\

    Replace <QTDIR> with where you installed Qt, for example: c:\qt\2009.03

    But most people prefer to just use the QtCreator application which does this for you.

  3. #3
    Join Date
    Oct 2009
    Location
    chennai,india
    Posts
    66
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qt in windows xp sp3

    thanks
    i ll try it out now by setting the path...

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to install qt in windows xp sp3

    The bundled Qt SDK shell is set up:
    Qt Code:
    1. Setting up a MinGW/Qt only environment...
    2. -- QTDIR set to C:\Qt\2009.03\qt
    3. -- PATH set to C:\Qt\2009.03\qt\bin
    4. -- Adding C:\Qt\2009.03\bin to PATH
    5. -- Adding C:\WINDOWS\System32 to PATH
    6. -- QMAKESPEC set to win32-g++
    7.  
    8. C:\Qt\2009.03\qt>mingw32-make -v
    9. GNU Make 3.81
    10. Copyright (C) 2006 Free Software Foundation, Inc.
    11. This is free software; see the source for copying conditions.
    12. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    13. PARTICULAR PURPOSE.
    14.  
    15. This program built for i386-pc-mingw32
    16.  
    17. C:\Qt\2009.03\qt>gcc -v
    18. Reading specs from C:/Qt/2009.03/mingw/bin/../lib/gcc/mingw32/3.4.5/specs
    19. Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --wi
    20. th-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --dis
    21. able-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --d
    22. isable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --with
    23. out-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enabl
    24. e-hash-synchronization --enable-libstdcxx-debug
    25. Thread model: win32
    26. gcc version 3.4.5 (mingw-vista special r3)
    27.  
    28. C:\Qt\2009.03\qt>qmake -v
    29. QMake version 2.01a
    30. Using Qt version 4.5.2 in C:/Qt/2009.03/qt/lib
    31.  
    32. C:\Qt\2009.03\qt>
    To copy to clipboard, switch view to plain text mode 
    Notice that the make command is renamed, the others are not, and Qt Creator knows where to find them. The search path is probably broken if you cannot execute gcc or qmake. Start the "Qt Command Prompt" from the Windows Start menu and check that the path looks like:
    Qt Code:
    1. Path=C:\Qt\2009.03\qt\bin;C:\Qt\2009.03\bin;C:\Qt\2009.03\mingw\bin;C:\WINDOWS\System32
    To copy to clipboard, switch view to plain text mode 

    If you are installing into a path that contains spaces then that may well be the cause of the problems you are experiencing. This is listed as a known problem of the Qt Creator/SDK.

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

    mohanakrishnan (27th October 2009)

  6. #5
    Join Date
    Oct 2009
    Location
    chennai,india
    Posts
    66
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Windows

    Smile Re: how to install qt in windows xp sp3

    hi ChrisW67
    thanks for ur reply i set the environment as u explained and now it is working
    thanks a lot...

Similar Threads

  1. Missing doc\html directory after Windows Vista 4.5.3 install (LGPL)
    By rtc1 in forum Installation and Deployment
    Replies: 0
    Last Post: 10th October 2009, 21:47
  2. 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
  3. Replies: 0
    Last Post: 7th July 2009, 08:08
  4. Problem install qwt on windows
    By kid17 in forum Qwt
    Replies: 5
    Last Post: 3rd December 2008, 12:19
  5. Help to install Qt in Windows Xp
    By joseph in forum General Discussion
    Replies: 2
    Last Post: 15th November 2006, 09:40

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.