Results 1 to 20 of 20

Thread: installing qt in Vista.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: installing qt in Vista.

    I've tried the various suggestions the best my feabe mind will allow without success. I keep ending un with a box listing the contents of my qt dowrload items labled "Compresse(zipped) Folders with a "extract all" button. If I click on this i get the 3 day plus remaining time I mentioned in my first post..

    I'm quitting!!!!!!!!!!!Thanks for all your help however.
    petel

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: installing qt in Vista.

    Did you read the INSTALL file that comes with the installation bundle?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: installing qt in Vista.

    Hi wysota, you must be getting tired of me!
    I had trouble when I oppened INSTALL before, so I cleaned everything I could find and reloaded the mingw version of Qt.
    ran the "setup". They reside in a "c:Qt" folder
    I found where my g++ s were in tar.gz form in "files" wherever that is
    I got it so it ran the various examples in an introductory form but can't repeat.
    I now have a Qt.4.4.3 command Prompt in the "Start" column
    I haven't been able to transfer the g++ files to the c:/4.3.3 file yet but working on.

    going to bed now and dream of "sudo apt-get install g++"
    Again thanks.

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: installing qt in Vista.

    You were trying Qt with Visual Studio I guess ?
    Also what Utility are you using to extract / unzip the files ?

    I can summarize the steps I do for installing open source version with visual studio -

    1. Download the qt-win-opensource-src-4.4.3.zip (which you have downloaded I guess)
    2. I use WinRar to extract the zip files. You can get WinRar from here .

    3. Extract the qt-win-opensource-src-4.4.3.zip to C:\Qt folder. This takes about 3-5 minutes to extract. Be patient

    4. Rename the folder to "C:\Qt\4.4.3"

    5. Open Visual Studio Command Prompt and go to C:\Qt\4.4.3 folder

    6. Run configure.exe from this path. This will take about 15-20 minutes.

    7. After that you will be asked to run nmake. So just type nmake and press enter
    This takes a long time, about 3 hours or more... so just leave it and relax till it compiles.

    8. To use Qt, set "C:\Qt\4.4.3\bin" path to environment variables.

    To make .pro files, you will need to type : qmake -project
    and to make VC project file,,, qmake -tp vc
    Then on you can open the .vcproject in Visual studio and run ur program.


    Well, considering your seniority, I didnt wrote the steps to teach you how to do it, but rather that the steps work for me and will give you an idea if you are missing something.

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

    impeteperry (25th February 2009)

  6. #5
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: installing qt in Vista.

    I appreciate your effort, but right now I am deep into the "mingw" version of Qt. I am not using visual studio. I find there are 3 versions and I had asked for reccomendations for whic version to buy. (I am a Linux user).

    I have grc-g++-3.45-20060117.tar.gz in my documents file
    I have gcc-core-3.45-20060117.tar.gz there also
    I have binutils-2.18.50-20080109.2.tar " "
    I have binutils-2.17.50-20060824.1.tar " "
    I have Qt-4.4.3 in c:
    I have Qt 4.4.3 Command Promt

    But when I go to run a demo.release, i get the message "mingwm10.dll not found
    when I run ./configure from the command line I get a cant find g++

    From the INSTALL text, I gather I have to BUY (damm windows) a "Visual Studio" but which one if there isn't anyway around it

    pete

  7. #6
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: installing qt in Vista.

    Are you able to run demos from bin folder ?
    C:\Qt-4.4.3\bin\demo.exe ? There is launch button there... see if it runs from there.

    Also I get that error when i try to run the exe from Windows/Explorer.
    What I do is, open the .pro file in Qt Creator and run the example/program from there.
    Other than the Qt Creator, I havent tried Qt with mingw.

  8. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: installing qt in Vista.

    As far as I know you don't have to download anything apart from the big bundle containing Qt. The installer will ask you if you have MinGW installed. Tell it that you don't have it and it will deploy a local copy of MinGW with everything setup. Then just open the Qt Command prompt and start compiling Qt apps.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QProcess::startDetached and UAC on Vista
    By serious_jack in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2011, 06:13
  2. Qt application with vista style
    By ahmad_elhoni in forum Qt Tools
    Replies: 4
    Last Post: 31st October 2008, 14:12
  3. problem with Qt/ Windows--pls help
    By swamyonline in forum Installation and Deployment
    Replies: 8
    Last Post: 7th July 2008, 20:39
  4. Replies: 3
    Last Post: 4th September 2007, 14:40
  5. QT 4.3 + vista + QMYSQL
    By ldsjohn in forum Qt Programming
    Replies: 1
    Last Post: 7th August 2007, 07:48

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
  •  
Qt is a trademark of The Qt Company.