Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Thread: Do not use VS2005 SP1 with Qt4

  1. #1
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Thumbs down Do not use VS2005 SP1 with Qt4

    This is just an information to avoid multiple posts complaining about problems with Qt4 & VS2005SP1.

    M$ released the first service pack for VisualStudio 2005.
    After installing this service pack you will be unable to compile any Qt4 app

    See also http://lists.trolltech.com/qt-intere...ad00584-0.html

  2. The following 4 users say thank you to ChristianEhrlicher for this useful post:

    jpn (17th December 2006), lonejedi (18th December 2006), Raistlin (5th March 2007)

  3. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Do not use VS2005 SP1 with Qt4


  4. #3
    Join Date
    Aug 2006
    Posts
    77
    Thanks
    14
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    Hi!

    Can someone help me to apply this patch. I don't know how.

    Thanks.

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    Quote Originally Posted by kemp View Post
    Can someone help me to apply this patch. I don't know how.
    This application should help you: http://gnuwin32.sourceforge.net/packages/patch.htm

  6. The following user says thank you to jacek for this useful post:

    kemp (19th January 2007)

  7. #5
    Join Date
    Apr 2006
    Location
    Denmark / Norway
    Posts
    67
    Thanks
    3
    Thanked 12 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    if anyone actually got that patch from MS, can you please send it to me? or post it somewhere? Tried contacting ms both in norway and denmark, but they say it is not an issue... great support by ms! (not)

    cheers,
    Leif

  8. #6
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    The thread on the MS forum was interesting:
    Instead of me downloading a humongous library, unzipping it (which would take > 2 hours using Vista's unzip), patching it, figuring out the build, and then isolating it down, how about one of you two do this.
    According to Brian Kramer, MVP, it will take VISTA over TWO HOURS to unzip the QT package? Wow!, is that sloooooooooow!

  9. #7
    Join Date
    Apr 2006
    Location
    Denmark / Norway
    Posts
    67
    Thanks
    3
    Thanked 12 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    wow. 2 hours is slooow... or it's just MS mumbojumbo to get us all over to .net.

  10. #8
    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: Do not use VS2005 SP1 with Qt4

    Actually the faulty behaviour is revealed not only with Qt but also with other libraries and Microsoft even provided a regression patch to its compiler to solve the problem. So if some MS staff says it's not an issue, you can bug them again pointing out it's their compiler that misbehaves if their central decided to do something with it. Patching Qt is only a workaround to have a working version faster than MS decides to do something about it.

  11. #9
    Join Date
    Apr 2006
    Location
    Denmark / Norway
    Posts
    67
    Thanks
    3
    Thanked 12 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    Hi all.

    After talking to several techs at microsoft, I finally got the patch mentioned in the KB. If any of you have troubles getting hold of the correct guys at Microsoft, feel free to PM me, and I can send you the patch.
    (At least my code finally compiles again...)

    Cheers,
    Leif

  12. #10
    Join Date
    Mar 2007
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    This is Brian Kramer. At the time when I unzipped the 40 megabyte Qt download, I was using an RC version of Vista. Vista RTM takes about 20-25 minutes to unzip Qt 4.2.2. Still a long time, but significantly faster.

    btw, I'm not a Microsoft employee.

  13. #11
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    Quote Originally Posted by bkramer View Post
    This is Brian Kramer. At the time when I unzipped the 40 megabyte Qt download, I was using an RC version of Vista. Vista RTM takes about 20-25 minutes to unzip Qt 4.2.2. Still a long time, but significantly faster.
    The incredible slowness of unzipping on Windows XP irks me to no end, but taking 20-25 minutes to unzip Qt sources is ridiculous. I can unzip the sources on my 2Ghz FreeBSD system in thirty seconds. That's 50 times faster than Vista.

  14. #12
    Join Date
    Apr 2006
    Location
    Denmark / Norway
    Posts
    67
    Thanks
    3
    Thanked 12 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    Quote Originally Posted by bkramer View Post
    This is Brian Kramer. At the time when I unzipped the 40 megabyte Qt download, I was using an RC version of Vista. Vista RTM takes about 20-25 minutes to unzip Qt 4.2.2. Still a long time, but significantly faster.

    btw, I'm not a Microsoft employee.
    use WinRAR or winzip... the built-in zip features of windows is really slow.
    Winrar uses only about 4-5 mins here.

  15. #13
    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: Do not use VS2005 SP1 with Qt4

    Which is still quite long compared to 30 sec

  16. #14
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    For anyone interested you can find the MS patch on the http://hotfix.xable.net forum, click the Download button and select a language and so on... - its not too hard to find.

    Pete

  17. #15
    Join Date
    May 2007
    Posts
    91
    Thanks
    60
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    I have installed the hotfix provided by MS from above, now it works.
    http://connect.microsoft.com/VisualS...ContentID=3705

  18. #16
    Join Date
    May 2007
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    Hi,

    Can anyone provide the patch for this pb?
    I've tried to get the patch form http://hotfix.xable.net but unsuccessful.

    Thx.

  19. #17
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    The hotfix is now directly obtained from Microsoft.

    See http://www.qtcentre.org/forum/f-newb...html#post36648

    Pete

  20. #18
    Join Date
    May 2007
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Do not use VS2005 SP1 with Qt4

    Hi,

    I also tried to follow that link, but it seems the page is not there .. or eighter i don't have permission to access it. Is there any other place from where i can get it ?

    Thanks,
    Marian

  21. #19
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Do not use VS2005 SP1 with Qt4

    Qt 5.3 Opensource & Creator 3.1.2

  22. #20
    Join Date
    Sep 2006
    Location
    Seeheim/Germany
    Posts
    12
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Talking Re: Do not use VS2005 SP1 with Qt4

    Quote Originally Posted by ChristianEhrlicher View Post
    This is just an information to avoid multiple posts complaining about problems with Qt4 & VS2005SP1.

    M$ released the first service pack for VisualStudio 2005.
    After installing this service pack you will be unable to compile any Qt4 app

    See also http://lists.trolltech.com/qt-intere...ad00584-0.html
    I could successfully build the OpenSource versions of Qt4.2.2, Qt4.2.3, and Qt4.3.0 with VC++ Express 9 Beta ("Orcas") (after applying the respective patches of the qtwin project, of course).

    Klaus.

Similar Threads

  1. WCHAR to QString giving error in vs2005
    By ucomesdag in forum Qt Programming
    Replies: 2
    Last Post: 2nd May 2008, 00:25
  2. Qt 4.1.4 on VS2005 error- cannot open input file 'qtmain.lib'
    By Ashish in forum Installation and Deployment
    Replies: 10
    Last Post: 11th October 2006, 17:05
  3. Debuging Qt4 in VS2005
    By derick in forum Qt Programming
    Replies: 6
    Last Post: 20th August 2006, 21:55
  4. Installing Qt 4.1.4 (open source) on windows with vs2005
    By Randulf in forum Installation and Deployment
    Replies: 1
    Last Post: 19th August 2006, 13:22
  5. Compiling QT with VS2005 rather than MinGW
    By rssmps in forum Installation and Deployment
    Replies: 2
    Last Post: 23rd June 2006, 22:11

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.