Results 1 to 20 of 20

Thread: installing qt in Vista.

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

    Default installing qt in Vista.

    I am running Vista Business.
    I have writen several opensource programs is Linux I want to port them to Windows (Vista) Ugh!!.I have downloaded qt-win-opensource-src-4.4.3.
    When I go to "extract" the files, it takes days.(I don't have the patience for this).
    I also have "XP" on another computer. It took about an hour and a half to extract the files. What am I doing wrong in Vista?

    thanks

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

    Default Re: installing qt in Vista.

    What file did you download ? and what did u use to extract ?
    It doesnt take more than 5 min for me to unzip opensource file with WinRar,,, on a XP machine.


    Or by extracting you mean compiling ??? It DOES take FEW HOURS for me too

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

    Default Re: installing qt in Vista.

    I have no idea what I'm doing. Going back and checking what I did in responue to your reply, I found a folder which contained the list of the contents. I can open and read the "INSTALL" and the "README" file. I also have a file that lists the "qt-win-opensource-rc-4.4.3" contents unzipped.
    In Linux I would go to a terminal window and "./configure -xshape" (I'm using "opengl" items). etc. But what do I do here?

    thanks

  4. #4
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: installing qt in Vista.

    As aamer4yu said, extracting really shouldn't take too long, depending on the program you use. But "days" is definitively way too long. Or are you actually building Qt? This can take quite a while. If a binary of Qt is what you want, are you aware that there are binary releases of Qt? Look for qt-win-opensource-4.4.3-mingw.exe to get a binary release.

  5. #5
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: installing qt in Vista.

    What are You doing on this computers ????
    On my 4 years old ThinkPad T-42 with XP prof installation of Qt is completed in 7-8 minutes. Full recompilation (debug and release) go on less than 3 hours. On desktop (2 core Intel) with Vista Business properly 4 minutes and about 1 hour 30 minutes.

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

    Default Re: installing qt in Vista.

    ok, I'm an 83 year old structural engineer that has been using computers since the middle 50's, I wrote my first program in 1970. I've programmed in PCOS, assembler, dos, Windows, and Linux. But I have a thing about XP & Vista.

    I am writing 4 Linux programs, Labels, Beam, DG and PM. In the process I am trying to develop a user interface that basically eliminates the "User Learning Curve". (enhancement to the point of non-usability);

    I have attached 4 snapshots that show the user face of each one. It took an 85 year old friend of mine to 20 minutes to learn how to edit, sort and print labels for the 250 members of her organization.

    The second is for a pretcast concrete erection company. The third one in a 3 element indexing progrgram for my disc storage device (DiscGear). I plan to submit it to DiscGear for use by their customers. Both Windows and Linux.

    The last one is an early rewrite in Linux of a "Vertically Integrated Graphric Program" that I wrote in VB5. to replace CAD programs that are so prone for errors.

    These 4 programs while drastically different in subject, use the same type of user interface.

    You asked what i wanted to do in qt in windows. I hope this answers you.

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

    Default Re: installing qt in Vista.

    The build process is the same on windows and on linux. Maybe the extraction takes so long because of some background task the operating system is performing (like indexing the files being uncompressed), hell knows.

    Once the uncompression is complete, open the console, setup your build system (vcvars.bat? or whatever it was...), cd to the proper directory and run configure -help. Then you can continue on your own
    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.


  8. The following user says thank you to wysota for this useful post:

    impeteperry (23rd February 2009)

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

    Default Re: installing qt in Vista.

    I hope I didn't remove my thanks.
    How do I open the console in vista?

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

    Default Re: installing qt in Vista.

    Eeeem.... Either open the menu and enter "cmd" or find Visual Studio command prompt in the menu (provided you are using visual studio). If you don't care about the compiler, I suggest you download Qt installation that also contains the MinGW compiler. Then you won't have to build anything as the package contains binaries.
    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.


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

    Default Re: installing qt in Vista.

    I went to the file wher the qt files are and right clicked my mouse, but no "cmd" option was on the list. I then downloading MingW installation.as you suggested

    Well, I have Qt installed C: as Qt. Clicking on it I get a 4.4.3 file folder. Double clicking on that I get a lot of liles and documents. Double clicking on the "demos" folder and excitely got a list of demos. When I clicked on any of them and then the "release" , the Applicatiop window opened up and when I double clicked on the program icon, I got a message box saying "The application faliled to start because "minfgwm10.dll was not found. Re-installing the application may fix the problem.",

    When trying to install this or that I had got a message saying "g++" was missing. Oh how i miss "apt-get". Any thoughts?
    pete

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

    Default Re: installing qt in Vista.

    Which version of Visual Studio do I need?

  13. #12
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: installing qt in Vista.

    Sir,

    Here, u can get the dll that is found missing on ur computer.

    http://www.dll-files.com/dllindex/dl...shtml?mingwm10

    putting it in ur bin folder might resolve your issue

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

    Default Re: installing qt in Vista.

    Double clicking on the "demos" folder and excitely got a list of demos.
    You can also better go to the \4.x.x\bin directory and run demo.exe from there.
    You will get all the demos in one consolidated space

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

    impeteperry (24th February 2009)

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

    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

  17. #15
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    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.


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

    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.

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

    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.

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

    impeteperry (25th February 2009)

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

    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

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

    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.

  23. #20
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.