Results 1 to 11 of 11

Thread: Qt 4.2.3 on Windows XP (SP2)

  1. #1
    Join Date
    Jul 2006
    Location
    Poprad/Prague
    Posts
    33
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Qt 4.2.3 on Windows XP (SP2)

    Hello everyone,

    has anybody tried to use the newest stable Qt (4.2.3) on Windows? I compiled one version from sources using visual studio compiler according to instructions here and I also installed Qt-mingw (4.2.3) and build debug and other libraries.
    The problem is, that MDI is not really working :/ I use it in my application and the child windows are not visible, or I see just bottom of the window as you can see here.
    The functionality seems to be ok, because when I click somewhere on the window and start typing, the text appears in the bottom part (after writing enough lines) and I can also move the window by clicking on its titlebar (or the place where it should be)...

    Other examples seems to work, so it looks quite strange to me...

    Thank you beforehand

  2. #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: Qt 4.2.3 on Windows XP (SP2)

    Do you have windows xp or vista?

  3. #3
    Join Date
    Jul 2006
    Location
    Poprad/Prague
    Posts
    33
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.2.3 on Windows XP (SP2)

    Windows XP with SP2, just like I wrote in the title

  4. #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: Qt 4.2.3 on Windows XP (SP2)

    Quote Originally Posted by macbeth View Post
    Windows XP with SP2, just like I wrote in the title
    I just wanted to be sure, since it looks a bit "different". There are some problems with Qt 4.2.3 on vista and it looks like they're might be present on xp too. As soon as my cat wakes up, I will get my laptop and check how it behaves on my system.

  5. #5
    Join Date
    Jul 2006
    Location
    Poprad/Prague
    Posts
    33
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.2.3 on Windows XP (SP2)

    Thanks, jacek.

    It looks a bit different, because I am using Vista inspirat pack (one of those UI tweakers). The only thing I think could possibly cause the problem is a mixup of libraries compiled with MS Visual Studio compiler and mingw, but as far as I know, all the paths are set ok...

  6. #6
    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: Qt 4.2.3 on Windows XP (SP2)

    Quote Originally Posted by macbeth View Post
    The only thing I think could possibly cause the problem is a mixup of libraries compiled with MS Visual Studio compiler and mingw, but as far as I know, all the paths are set ok...
    Could be. Does it look OK if you start the mdi example from "Qt 4.2.3 Command Prompt"?

    I've just checked it on my system and it seems to work fine.

  7. #7
    Join Date
    Jul 2006
    Location
    Poprad/Prague
    Posts
    33
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.2.3 on Windows XP (SP2)

    Yes, I've already tried that. It looks like the screen I linked in the first post. Hm... maybe I try to turn off these UI tweaks and recompile Qt with mingw after removing the one compiled with visual studio... I'll let you know if that helps...

  8. #8
    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: Qt 4.2.3 on Windows XP (SP2)

    Quote Originally Posted by macbeth View Post
    recompile Qt with mingw after removing the one compiled with visual studio...
    You can use Dependency Walker to see which DLLs it tries to use.

  9. #9
    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: Qt 4.2.3 on Windows XP (SP2)

    I just moved to a DELL Latitude D620 with XP SP2 plus the latest updates and I am using VS 2003 .NET with QT 4.2.3 commercial.

    I am having no ui problems, or any problems at all.

    I have Qt 4.2.3 installed on Linux, SimplyMEPIS 6.5 RC2, and the same app compiles and runs perfectly on it, too.

  10. #10
    Join Date
    Jul 2006
    Location
    Poprad/Prague
    Posts
    33
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Thumbs up solved

    Well, thank you for helping me to find the cause of the problem.
    Jacek, you reminded me of one Java app, which had problems drawing GUI, too and then I tried to turn off the Vista Inspirat upgrade and it worked. So it was the same with Qt and its mdi. I tried both versions (MSVC compiled and mingw compiled) and they work. There wasn't any problem with libraries mixup...

    Conclusion: Don't use Vista Inspirat pack & Qt using MDI, or you may witness some strange behaviour...

    Thank you guys...

  11. #11
    Join Date
    Jan 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Red face Re: Qt 4.2.3 on Windows XP (SP2)

    error post

Similar Threads

  1. Replies: 10
    Last Post: 25th February 2007, 00:23
  2. Deploying with MySQL support under Windows
    By KShots in forum Installation and Deployment
    Replies: 1
    Last Post: 12th October 2006, 09:19
  3. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  4. Experience using KDevelop with Cygwin under windows
    By high_flyer in forum General Discussion
    Replies: 4
    Last Post: 11th September 2006, 16:50
  5. MDI windows without QWorkspace
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 16th June 2006, 17: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.