[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main


  The Road to KDE 4: Full Mac OS X Support
KDE Public Relations and Marketing Posted by Troy Unrau on Monday 15/Jan/2007, @14:22
from the how-do-you-like-them-KDE-apples dept.
Just because KDE has been designed to be portable across Linux, FreeBSD and other UNIX/X11 environments for an age now, doesn't mean we aren't up for the occasional challenge. With version 4, Trolltech released Qt for the Mac, Windows and now even embedded environments under the GPL. Since Qt is the base upon which KDE is developed, KDE is now free to offer native support for these platforms. Today I am focusing on the KDE/Mac developments for KDE 4. Read on for the details.

Before I begin, I'd like to discuss some branding issues that KDE has had to face in previous releases. With KDE 3, does the term "KDE" refer to the Desktop Environment (KWin, Kicker, kdesktop, etc.) and if so, would it still be reasonable to refer to the Mac OS X port as "KDE" even if it was without these key desktop components? Or, is "KDE" a reference to the project as a whole, in which case we can still call Konqueror a "KDE application" whether it is running on Mac, Windows, or in Enlightenment...

These are some branding issues that have been discussed for KDE 4. The resulting decision has been to refer to "KDE" as the umbrella that refers to all things KDE. So, as a result, we have KDE Applications, the KDE Development Environment (libraries and technologies), and the KDE Workspace (this consists of KWin, Plasma, etc.) that refer to the three main components that make up the collection of KDE software. When referring to just "KDE" by itself, you therefore refer to all things KDE.

This also solves some issues with alternate release schedules for some applications. For example, Amarok has often released on a different schedule from KDE, and so some people have not considered it as part of KDE proper. Amarok for KDE 4 will be more clearly labelled as a "KDE Application" without the related implications of it being restricted to a given desktop environment. In KDE 4, Amarok is a KDE product, even if it is based on its own release cycle. As Amarok lead developer Mark Kretschmann says, "If Amarok convinces more people to use KDE technologies, that's perfect. If they use Amarok under other desktop environments like GNOME or Mac OS X, that's still nice for us."

Since this article deals with KDE on other platforms than X11, we need a way to distinguish between KDE for X11 and KDE for Mac. So, with the approval of some of the developers, I'm going to use the following terminology: KDE/X11 will refer to all KDE Applications that run on X11, the Development Environment on X11, and the KDE Workspace on X11. Likewise, KDE/Mac will refer to KDE applications that run on the Mac, the KDE Development Environment on the Mac, and since the workspace is not required on the Mac, it is not included here. Ditto for Windows. It is important to realize, however, that these distinctions are based on a subset of features that are available on each platform, and that for the most part the source code is identical, and there are not separate source trees for each platform. There are no forks or haphazard ports.

New KDE Development Environment technologies like Phonon and Solid will help ease this transition, since the platform-integration work will happen at the library level. KDE Applications need not be aware of the differences that might exist in the OS platform.

What is KDE/Mac?

KDE/Mac is the collection of KDE Applications that run natively on the Mac, including the underlying technologies, libraries, etc. that make these KDE Applications work. There are only a few differences between KDE/X11 and KDE/Mac. Most notably, the KDE Workspace elements, such as KWin and Plasma are not present for the Mac. The reason for this is that the functionality of KWin and Plasma already exist in OS X in one form or another, and reimplementing them would not allow for close integration of KDE Applications alongside existing Mac Applications. So instead, KDE has elected to not port the KDE/X11 Workspace to the Mac.

Since the beginning of KDE, its applications have been designed in such a way as to peacefully co-exist in other UNIX Desktop environments. Initially this meant Window Maker, and then later GNOME and Enlightenment. The KDE Applications use shared standards (such as those crafted at FreeDesktop.org), capable of sharing clipboard data, system tray icons, and so on without any issues on these compliant platforms. Now, because of the additional portability that Qt 4 offers, this same peaceful co-existence will also be true for non-X11 environments, such as the Mac.

KDE apps have been able to run on the Mac before, using Apple's X11 server layer that is built into OS X - however, KDE was still using Qt/X11 and as such, these applications simply looked identical to how they would look in good old KDE/X11 proper. The fact that they ran at all is thanks to the excellent efforts of the Fink project. If you're interested in running other UNIX programs on OS X, check this project out.

(For a time there was also a Qt/Mac Freeware edition which allowed some experimentation with a true KDE/Mac experience within the KDE 3.x series. However, The KDE/X11 version in Fink was usually used due to its stability.)

Here's a screenshot of a KDE application as it looked using KDE 3.5 and the Fink project's packages. Click for the full version.

KDE 3.5.4 on Qt/X11 for Mac

Because the above was developed for Qt/X11, the whole KDE environment was able to run. The downside, however, was that it did not integrate well with the Mac, so it felt like you were running two totally different computer systems on one screen. Of course, KDE is all about the integration...


KDE 4 brings great advances to the Mac porting effort, thanks mostly due to Qt 4, and the new KDE build system, based on CMake. For KDE 4, the KDE/Mac applications are downloadable as standard issue, Mac .dmg files, available from the KDE on Mac OS X website. The KDE/Mac development snapshots are among the easiest to use for any platform, thanks mostly due to the great work done by KDE/Mac guru Benjamin Reed (a.k.a. RangerRick). Visit #kde-darwin on irc.freenode.org to help report and fix anything you see that is broken. This is pre-alpha KDE 4, so it's likely to crash until more development has taken place.

Once the downloaded packages are unpacked and installed, KDE/Mac applications can be launched using OS X's Finder as shown here:

KDE 4 apps listed in Finder

As you can see, quite a wide variety of applications are already available for the Mac, including most of the official KDE applications. Because this is a development version, some things are still broken (like any apps using SSL) and some things are just plain ugly. But the same is also true of many KDE 4 apps on KDE/X11 at this point, so expect both offerings to improve throughout the KDE 4 development timeframe.

At the same time, some very important things have occurred in KDE/Mac integration. For example, the clipboard works. Keyboard shortcuts work. Extended language input works. Some things, like drag-and-drop remain sketchy. The KDE/Mac developers would welcome any fresh talent that knows a little about KDE and Mac technologies to help solve smaller issues like this.

Here's what you've been waiting for: the screenshot tour of a few KDE 4 apps that are working on the Mac to show off some of the progress so far. Some of these apps will surely be greatly appreciated by Mac users.


Since we've covered SVG in the first issue, I figured I would show a shot of SVG-goodness in action on the Mac. Below is Shisen Sho, a tile game that shares loadable SVG tilesets with KMahjongg, which was previously featured. This game looks beautiful on the Mac, and not at all out of place.

KDE 4 game Shisen Sho on Mac OS X


One of the main questions asked last week about KOffice was support for other platforms. I'm pleased to say that KWord, KSpread, and the rest of the KOffice suite should run on KDE/Mac just fine. In the development version I tested, KWord performed pretty much as the KDE/X11 version from last week. Additionally, I tried loading a few other KOffice applications to see if they work. Here's a shot of KSpread's Wizard, and the KDE 4 file dialog on the Mac.

KOffice 2 app KSpread on Mac OS X

Also notice how the KSpread icon shows up in the OS X dock. This didn't previously happen with KDE on Fink (The icon to the left of it is for kded, one of the KDE background processes, which will eventually be adjusted to hide itself when running on the Mac).


Of course, the real question everyone is asking is: does Konqueror work? Yes. The KDE 4 version of the Konqueror application is mostly a port of Konqueror from KDE 3.5 at the moment, but the backend libraries such as the KHTML rendering engine and Javascript support have seen a lot of fixes and improvements. On the Mac, due to the OS X user interface styling in Qt 4, we get centred tabs during tabbed browsing, as seen below:

KDE 4's Konq on Mac OS X


The Mac has made a name for itself as a premier Desktop for graphical and multimedia applications. Unfortunately, the KDE Graphics package was not included in this snapshot so I can't show it off.

However, another niche that the Mac proudly occupies is that of education. Below are two of the great applications from the KDE-Edu project: Kalzium and KStars. New features that are showing up in KDE-Edu will be featured in a later article... for now, it's just important to note that these superb applications will be available and fully functional for KDE/Mac.

KDE-Edu's Kalzium on Mac OS X

KDE-Edu's KStars on Mac OS X


And now that the tour is done, a couple of other things that come up whenever KDE is discussed on other platforms.

While I was researching this article, I encountered some people that object to running KDE apps on a non-free platform, with sentiments on IRC alike to "Anytime you run OSS on a non-free platform, God kills a puppy. A cute puppy."

But KDE has good reasons for supporting other platforms: attracting developers, and fostering interoperability and standards. There are a huge number of Mac and Windows developers out there and therefore a large amount applications that can take advantage of KDE technologies. The best example of a KDE technology benefitting from exposure to other platforms is KHTML/WebKit. As a side effect, since there are so many users of KHTML-based browsers now, websites have had to improve their standards compliance in order to be more compatible, which means more websites work in Konqueror. This will hopefully also happen with OpenDocument and free software groupware systems as KOffice and Kontact push onto other platforms.

In the meantime, have a look at yesterday's KDE Commit-Digest for some information on the progress of Windows platform support.



<  |  >

 

  Related Links
 ·   Articles on KDE Public Relations and Marketing
 ·   Also by Troy Unrau
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Over 40 comments listed. Printing out index only.
coolness
by chri on Monday 15/Jan/2007, @16:06
but beside the apple look the kde look does look not good :(
the icons in the apps shown are not the oxygen icons, are they?
[ Reply To This | View ]
Excellent dot
by Ralesk on Monday 15/Jan/2007, @16:12
Great summary, a very interesting read! Good to see things are progressing so nicely.

As for KDE Workspace -- well, while getting just the KDE Applications over to those systems is already a really kool thing, I'd personally welcome an explorer.exe shell replacement. Very much even :)
[ Reply To This | View ]
Awesome review!
by liquidat on Monday 15/Jan/2007, @17:38
Troy, you are doing an awesome job with this "Road" series! I really love them, and they show what is indeed happening in the KDE development. It gets more people interested in KDE, and it finally shows the first real impressions of KDE 4 - some KDE users need this while they are waiting for KDE 4 ;)

I'm really looking forward for your next article.
[ Reply To This | View ]
kstars screenshot
by Gabriel Hurley on Monday 15/Jan/2007, @18:30
Yay, Winnipeg!
[ Reply To This | View ]
OSS on none OSS platforms
by James Brown on Monday 15/Jan/2007, @20:27
I would content the more application (like firefox and OpenOffice) you can get people to use, the less reason they have to hold onto a closed source system.

If you want to build a wall and not let any closed source users in, you could certainly do that to your own detriment. I would contend this wouldn't be useful in the long term.

You should let you work stand on its merits not on it association.
[ Reply To This | View ]
Converting Users To KDE?
by cirehawk on Monday 15/Jan/2007, @22:29
After reading this and the new KDE definitions, I'm a little confused as to the benefit of KDE on other platforms. From what I can understand of the definitions, KDE Workspace is the real meat of what I understand KDE to be. Without the KDE Workspace running on MacOS or Windows, what we are really talking about is KDE Applications running on the other platforms, correct? If so, I don't have an issue with it. But I fail to see how it will help convert users over to Linux. KDE Workspace is how they would see the benefit of KDE itself, but they won't see that part. So really all they get are the cool KDE apps native on their platform but no incentive to switch.

Am I missing something? Someone more knowledgeable, please enlighten me.
[ Reply To This | View ]
Great!
by Nightfall on Tuesday 16/Jan/2007, @01:07
Troy, you.... ROCK!
Your articles are simply wonderful! Is tomorrow Monday again? Uh?!?! Well... I'm definitely looking forward your next article!
Your feature lists make me desire KDE 4 NOW!!! Damn, it's going to be sooo coool and soooo great, absolutely the greatest DE in the world. I think the portability to Mac and Win is a killer-feature: we will have great free applications working anywhere, well, this is a dream becoming true.

Keep working on, The Road to KDE 4 is amazing!
[ Reply To This | View ]
Great article, great technology
by Claire on Tuesday 16/Jan/2007, @04:48
Hi Troy,

Thank you for the great article! I'm perfectly fine with people using other operating systems and hardware, as long as they use KDE as their desktop environment/GUI ;-)
[ Reply To This | View ]
great
by \o/ on Tuesday 16/Jan/2007, @07:19
So the smart guys started wasting time porting their selfish little apps to more platforms instead of finishing KDE4. Does Qt4 suck or what ? :-)

This said, i am glad to see better integrated apps on the Mac, the ok/cancel buttons are finally on the right side.

PS: no puppies but kittens
[ Reply To This | View ]
But how will the integration be?
by Louis on Tuesday 16/Jan/2007, @07:32
One of the most attractive features of KDE, in my opinion, is how all my apps work so nicely together. If I right-click an album in Amarok, I can tell it to burn it to CD. K3B pops up with the tracks ready to burn. If I go to a web page that needs a login, my Wallet pops up and delivers my credentials. The list goes on and on. I can't imagine that integration like this will be so good on other platforms (maybe I'm wrong). For that reason KDE Workspace will always be my preferred environment. That said, I have to use Windows at work, and it will be nice to have Kontact and Konqueror there, even if the integration is not as good. Troy, another great article. Thanks.
[ Reply To This | View ]
KDE/target
by Jim on Tuesday 16/Jan/2007, @11:02
If I understand it correctly KDE 4 applications for MAC and WIN will be ready and functional before the K Desktop Environment 4.0 release. That leads to the absurd situation that KDE4 applications can already be developed for and run on other plattforms but not for Linux which has to stay with the 3.5.x release circle, right? Actually it is a good idea to have a working playground for programs, so KDE4 application development is not restricted by the wait for KDE4.0. It is always a bit strange to develop applications for an environment which is not already in productive use.
[ Reply To This | View ]
What About Open/Save/Print Dialogs?
by Henry S. on Tuesday 16/Jan/2007, @11:56
I have a question. Is it possible to use the native Open/Save/Print dialog
boxes? I think it is a little weird to show the KDE dialogs on the Mac. Of
course this is the same problem you run into when running KDE apps in Gnome...
which means the answer would probably be the same, which is to use the Portland project's intended solution.
[ Reply To This | View ]
Print / Scan Solutions
by Odysseus on Tuesday 16/Jan/2007, @17:04
I've been wondering how we intend to deal with Print and Scan on non-nix platforms, especially Windows? The standard kprinter and libkscan only support CUPS and SANE, which while they work under Windows are not exactly optimal from a user, support or dependency/installation standpoint. Will Solid be providing some level of abstraction for these to use the native Windows systems and drivers?

John.
[ Reply To This | View ]
re: full mac os support
by ljones on Thursday 18/Jan/2007, @13:02
Isn't this a bad idea overall?

If some part of kde or (even worse kdelibs) were developed on windows or OSX then surely some programmer somewhere could incert specific code ment only for windows or OSX into KDE? What if - say - a programmer decided he or she would like an activex control somewhere in kde or kdelibs? The result -- a program which is tied only to the ms platform.

This idea surely has the potential to ruin KDE? Programs which will run on one system, but not another .... wouldn't KDE on gnu/linux just get left behind?

ljones
[ Reply To This | View ]
Hallelujah
by DarkDust on Friday 19/Jan/2007, @02:06
Since I'm a new Mac convert, I'm totally thrilled by KDE/Mac as I've been a KDE/Linux user for about seven years now. And there is only one thing that I really, really miss on my Mac: KMail. And KDE/Mac means I just have to be a little patient and my prayers for a (seamless) KMail on my Mac will come true ! This is too good to believe :-)
[ Reply To This | View ]
When can we use KDE to replace the finder
by paperclip on Friday 19/Jan/2007, @21:24
I would love if we could use KDE to replace the finder and the Doc. We should have an option to use KDE/MAC without Finder and Doc on. I know people will be pissed that I suggested this--but I really hate the MAC OSX DOC/Finder.
[ Reply To This | View ]
Looking forward to it.
by m_abs on Sunday 21/Jan/2007, @04:13
I've a macbook and I'm really looking forwards to this, as there are several applications I'm missing from my stationary Gentoo Linux PC with KDE3.5.

- A really great music player and manager, iTunes is IMO just terrible, so I hope the amaroK team will make amaroK 2.0 available for OS X.
- kopete, for multi protocol IM.
- A good filemanager with network (fish, ftp etc) capacity (konqueor) so I can use easily transfer files over network.
- And a lot of small games to pass the time in the two hours I spend on train each day to and from work.

And of cause I prefer to have the same applications on both my laptop, work pc and home pc. ;)

I'm currently using the snapshots of KDE4 from http://ranger.users.finkproject.org/kde/index.php/Home
to have a glimpse of the future of KDE4 and to help find bugs in the applications so I can report them.
[ Reply To This | View ]
Fantastic!
by Schalken on Sunday 21/Jan/2007, @21:05
I think its fantastic that KDE applications be portable to Windows and Mac OSX, because at the moment if someone considers making an application for Linux/Unix, it means it (generally) won't be available on more popular platforms without adding some layer of abstraction like XUL or actually fork/port it. Now that will no longer be true! This is therefore a huge stepping stone in promoting software development on open platforms.

I just hope its easy to make sure a KDE app is sexy and integrated on all three platforms. This raises a few other questions as well. What happens to KControl and the configuration that it sets on these platforms? Will the printing and file management interfaces still work with native dialogs while appearing as one to the developer?
[ Reply To This | View ]
this is a good step toward linux KDE adoption
by devon gleeson on Wednesday 14/Mar/2007, @15:11
If people become comfortable using the greatness that is KDE apps under OS X they are more likely to try it out on their PC. Also I must say this made my day. I love kde apps like digikam and amarok and I use them religiously on my linux/gnu desktops. But to put it simply os x has better wireless support for when I'm on the move. I've been wanting to port, or see some one port these apps to OS X, because I hate the X11 sweet for the mac platform. Keep up the good work I'm looking forward to KDE 4.
[ Reply To This | View ]
Kile
by Iano on Thursday 26/Apr/2007, @15:39
Any chance of Kile being ported. Honestly, I can't live without it.
[ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "World domination doesn't come by itself." -- Ralf Nolden
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]