Qt Some Thoughts About Portability


  • Understand the advantages of portable software
  • Know the concepts of making software more portable
  • Know the limitations of Qt's portability
  • Understand how to make your project portable

Portable Software

  • Portable means that a source file can be compiled and executed on different machines or different OSs.
  • Advantages:
    • Write once, compile to different environments.
    • Run application in more machines.
    • Portable software is more robust.
    • You can recycle your code to different projects on different environments.

Limitations of Qt's portability

  • Custom widgets might not be portable.
  • Some widgets are platform specific.

How to make a Qt Project portable

  • Stick to general widgets/classes
  • If you need to target specific descriptions, such sections can be included in the project description files
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.