Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt winXP binary on windows7?
Forum Updated to NodeBB v4.3 + New Features

Qt winXP binary on windows7?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 4 Posters 5.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Trino
    wrote on last edited by
    #1

    Hello,

    I compiled a program on windows XP with MinGW and the the Qt libs statically linked.
    This works nice.

    The executable runs as well on Vista and windows 7.
    However, is there any difference in speed/performance when I compile it on Vista/windows 7?
    Does, for example, QPainter gains performance when I compile it on windows 7?

    In other words, is there any reason to compile/build different executables for windows XP, Vista and 7?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fcrochik
      wrote on last edited by
      #2

      I don't know for a fact but would assume that if you compile, at least using visual studio and fine tune the compiler options, that the compiler could optimize the code but it is about the "hardware" and not the OS.

      Unless, of course, there is also some optimization on the qt code itself that will detect windows7 and potentially use a "new api" of some sort but I doubt. I don't think there is anything like a Q_WS_WINDOWS_7 "def".

      Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #3

        Don't think that compilation under win7 instead of winXP will give more performance. But using msvc compiler instead of mingw will do.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          anselmolsm
          wrote on last edited by
          #4

          [quote author="Denis Kormalev" date="1291221507"]Don't think that compilation under win7 instead of winXP will give more performance. But using msvc compiler instead of mingw will do.[/quote]

          +1

          Anselmo L. S. Melo (anselmolsm)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved