Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

What is the difference between win7 and win10 compiling static libraries



  • Hi, all
    I have two computers, win7 with lower perfomance and win10 with higher perfomance. I used to compile static libraries on win10, and then link to use them on win7. Everything is normal, but the three static libraries compiled today can't be used. Output information is: "file xxx.lib not found".
    So I try to compile these three static libraries on win7 instead of win10, and the program runs successfully.
    These three static libraries are basic file operations and all use the QFileDialog class.
    What is the difference between win7 and win10 compiling static libraries, please?

    Win7: 64bit, Qt5.12.4, QtCreator 4.9.2
    Win10: 64bit, Qt5.12.4, QtCreator 4.9.2

    Best Regards!


  • Moderators

    A simple rule that will help you on any operating system, not only Windows, is: compile release packages on the oldest system that you support. Operating systems generally change and break stuff as they go along, but they usually keep compatibility layers for older releases.



  • Hi,
    I see. Thank you very much for your reply.
    Best regards!


Log in to reply