Qt code for all platforms



  • Hi,

    I am using Qt with visual studio compiler 2013 64 bit.

    For windows 7, 8 and 10.
    the same code which we used in Windows 7 , i am using the same code for windows 8 and windows 10 , i am compiling in the respective versions of windows , do we need to set any path or configure differently?.

    Thanks,


  • Qt Champions 2016

    Hi
    It should just work if you only used pure Qt :)
    Im not aware if visual studio offer any switches for 8/10
    but since you want to run on 7 also
    then its not that important.

    One note. the 32 bit exe i tested with did
    not run on win xp.
    Not sure if Qt related or what ever.


  • Lifetime Qt Champion

    Hi,

    Unless you are using platform specific API's only available on these platforms you don't need to rebuild your application for each and every version of Windows. Only exception is if you want to target XP, in that case you have to do a special build.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.