Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is porting qt to another OS as simple as this?

Tags:

qt

The article Porting Qt for Embedded Linux to Another Operating System lists five things you have to do to port Qt for Embedded Linux to another OS. From the article:

There are several issues to be aware of if you plan to do your own port to another operating system. In particular you must resolve Qt for Embedded Linux's shared memory and semaphores (used to share window regions), and you must provide something similar to Unix-domain sockets for inter-application communication. You must also provide a screen driver, and if you want to implement sound you must provide your own sound server. Finally you must modify the event dispatcher used by Qt for Embedded Linux.

Is it really this easy to port Qt to another OS, or have i missed some information?

like image 353
Tobias Furuholm Avatar asked May 18 '09 17:05

Tobias Furuholm


2 Answers

Another important component to port would be QAtomic, to ensure that you can have atomic operations and implicit sharing working well. See also

http://labs.trolltech.com/blogs/2007/08/28/say-hello-to-qatomicint-and-qatomicpointer/

like image 132
Henrik Hartz Avatar answered Oct 04 '22 04:10

Henrik Hartz


Since Qt has been ported a large number of times it seems logical that it would be inherently simple. However the issue really is on the platform you are porting to and how many features it currently supports.

like image 26
Phil Hannent Avatar answered Oct 04 '22 05:10

Phil Hannent