Qt Ui And Cross Platform Libraries

Objectives

  • Learn the difference between a native APIs and cross platform APIs
  • Know the difference between toolkits and frameworks
  • Understanding the reasoning for portable software

Native API

An Application Programming Interface is specific for an operating system.

Cross Platform API

An API that can be built for different platforms.

Framework vs. toolkit vs. library

Library

A library is a set of functions that you can call. Each call does some work and returns control to the client.

Toolkit

A toolkit provides various tools that can be used together or separately.

Framework

A framework embodies some abstract design, with more behavior built in. In order to use it you need to insert your behavior into various places in the framework either by subclassing or by plugging in your own classes. The framework's code then calls your calls your code at these points.

A framework enforces some design pattern on the developer and give some tools for code generation.

Portable Coding

There are different computer platforms that software can support. Also there are lots of operating systems and hardware platforms. Portable coding should be compiled for all computer platforms and all OSs.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.