Regarding development of software in both X-32 and x-64 bit OS configurations



  • Hello,

    I Want to develop a PyQt application on different OS particularly Win32 Win64 and Linux. However, most of the end user machines are 64 bit configurations but still there are 32 bit machines so I got confused on selecting development frameworks should be on which X-bit versions!!! I assume that if I select 32 bit tech frameworks then it may be able to manage the all the X-64 bit version since X-64 supersede and inherit all the properties of X-32. Therefor I am thinking of installing all the X-32 bit versions of development softwares, will it be a correct decision? Could anyone please clarify me? right now I am Using 64 bit versions of PyQt,Python 2.7 and MinGW and QT.


  • Moderators

    Yes, 32-bit applications continue to work on 64 bit systems.

    There is no "correct" decision here: all depends on your user base (do they still work on 32 bit systems?), you resources (do you have the means to deploy both 32 and 64 bit versions?) and so on.



  • @sierdzio ,

    Thanks a lot for responding, but your reply is confusing!!

    Obviously they (user base) have both 32 bit and 64 bit machines, most of the new machines are 64-bit only and other old machines are 32 bit.

    To be very specific on my question..

    If I develop a PyQt software using PyQt-32 bit, Python-2.7-32-bit, and MinGW-32-bit and qt-32-bit.

    will it work in both Win-64 and Win-32 ?

    OR

    Are you saying that it doesn't matter to develop software in any 64 or 32 bit version tools?

    I didn’t understand what you saying below

    "you resources (do you have the means to deploy both 32 and 64 bit versions?) and so on."

    As I understand, Yes! I have to deploy my software in both 64 and 32 bit machines.

    could you please clarify, waiting for my reply


  • Moderators

    @John-R said:

    will it work in both Win-64 and Win-32 ?

    Yes, it will work.

    32 bit applications work on 32 and 64 bit systems. 64 bit applications work only on 64 bit systems.

    @John-R said:

    As I understand, Yes! I have to deploy my software in both 64 and 32 bit machines.

    You don't have to. You can safely go with 32 bit version only, especially on Windows where you ship your own libraries anyway. On Linux, where people prefer to share libraries in order to save disk space and RAM, it is preffered (but again, not required!) to ship 32 bit on 32 bit systems, and 64 bit app on 64 bit system.



  • @sierdzio said:,

    Thanks a lot for replying again, it was very useful...

    but sorry I did not understand this since yesterday????

    ****it is preffered (but again, not required!) ****


  • Moderators

    On Linux, people prefer to get binaries exactly for their architecture (32 bit on 32 bit OS, 64 bit on 64 bit OS). However, this is only a convention, not a formal requirement. Just like Mac and Windows, Linux 64b will run both 32 and 64 bit applications.



  • @sierdzio said:

    Thanks a lot for the clarification.



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