Results 1 to 10 of 10

Thread: Qt Creator Installation - Windows XP

  1. #1
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Qt Creator Installation - Windows XP

    I've spent a couple days trying to install the Qt Creator package on a Windows XP machine, with little success. In the end, Creator starts up just fine, but the "Examples" button is grayed out and says "Examples not installed...". In the Tools->Options dialog under Qt4, it shows a "Manual->4.7.0 c:\qt\2010.05\qt\bin\qmake.exe" line, but at the bottom of the window is the message "Qt version is not properly installed, please run make install".

    I can't run "make install" because there is no Makefile I can find to point make at.

    All executables, tools and what not appear to be where they belong - I can locate qmake.exe on the path noted above, and the moc, mingw tool suite and other bits and pieces (along with the examples source code) is all there, but Creator doesn't seem to know about it. They seem to be workable; if I invoke qmake.exe from the command line, it spews out it's usage message, indicating that it is able to run.

    The same installation worked flawlessly on a Vista machine, and under Linux.

    I am not frequent Windows user, and don't really know how to proceed from here. It seems like everything is there, and some simple configuration step got skipped, but I don't know where to start looking or how to fix such things in this environment.

    Any help would be appreciated.

  2. #2
    Join Date
    Sep 2010
    Posts
    145
    Thanks
    1
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Creator Installation - Windows XP

    Have you set the QTDIR environment variable? On this end it looks like
    Qt Code:
    1. C:\Qt\4.7.0
    To copy to clipboard, switch view to plain text mode 
    and I have also defined QTBIN
    Qt Code:
    1. C:\Qt\4.7.0\bin
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qt Creator Installation - Windows XP

    QTDIR is already set as you've indicated. QTBIN wasn't, but setting it made no difference.

  4. #4
    Join Date
    Sep 2010
    Posts
    145
    Thanks
    1
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Creator Installation - Windows XP

    What does your PATH look like? I define QTBIN so that I can use it with some of my own tools and I also append it to PATH.

  5. #5
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qt Creator Installation - Windows XP

    I don't have that machine in front of me right now, but PATH contains QTDIR/bin, QTDIR/mingw/bin and the normal Windows-related destinations.

  6. #6
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt Creator Installation - Windows XP

    What you added to EnvironmentVariables-> Path looks like this?
    Qt Code:
    1. C:\Qt\2010.05\mingw\bin;C:\Qt\2010.05\qt\bin;
    To copy to clipboard, switch view to plain text mode 
    If so try to reverse the order, add qt first and mingw second (i don't have Xp, but i just fixed a Qt installation on a friend's computer with Windows Xp)
    Qt Code:
    1. C:\Qt\2010.05\qt\bin;C:\Qt\2010.05\mingw\bin;
    To copy to clipboard, switch view to plain text mode 
    On my computer with Windows 7 the first line works fine.

  7. #7
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qt Creator Installation - Windows XP

    The path looks like your second example, with the typical Windows destination following what you've shown.

    This appears to be a known issue. There's another post on this blog that precisely duplicates the problems I'm seeing (although running configure/make/make install doesn't work for me, as the build dies somewhere in Webkit) and there are a couple other similar reports on the Qt forum. No solutions to be found, but it looks like something in the Qt installer barfs on certain XP systems.

  8. #8
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt Creator Installation - Windows XP

    Have you tried to download the latest source (4.7.1) and build it yourself? Hopefully it will be fixed when the new version will be packed in the SDK.

    Also the errors in building Webkit with MingW are issues that i heard of many times, i never build Qt with MingW, and with VS it only gives some warnings somewhere in Webkit.

  9. #9
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qt Creator Installation - Windows XP

    I downloaded the SDK bundle because I wanted to avoid using VS; the problem we're trying to solve just isn't worth that level of expense or effort, although it is very frustrating that the SDK works fine on Vista but not on this particular XP system. What we're doing right now is not fun - we're building on Vista and transporting the executable and dlls over to the XP box - but it works.

    I tried a couple different versions of the SDK bundle, all with the same result.

  10. #10
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qt Creator Installation - Windows XP

    What happens if you don't add anything to PATH at all?

Similar Threads

  1. Replies: 2
    Last Post: 8th September 2010, 02:09
  2. HUGE BUG in Windows Installation!!!
    By joandelason in forum Installation and Deployment
    Replies: 9
    Last Post: 22nd March 2010, 09:07
  3. Replies: 4
    Last Post: 19th March 2010, 18:16
  4. Installation of Qt4.3.4 for Windows
    By merry in forum Installation and Deployment
    Replies: 4
    Last Post: 12th March 2008, 09:47
  5. Qt 4 Windows Installation Tutorial
    By Arsenic in forum Installation and Deployment
    Replies: 12
    Last Post: 4th January 2008, 23:15

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.