Recently I’ve decided to port TestMaker Plus (an educational program written in Qt and C++ that allows anyone to create school tests/exams and well… redistribute them so that other people could take them) to Haiku. So far, everything went smoothly and I didn’t have to patch anything. Here is the screenshot of the Russian version of the program running in Haiku latest nightly build:
In case if you’re interested I have uploaded the 64-bit binaries for Haiku on FileDropper: [binaries removed on request, instead check out the official site of the program for the download]
Now this is my first program for Haiku and I have a few questions about application development for Haiku. I’ll be describing them in the next post.
What character combination is treated in Haiku as new line character? In UNIX/Linux it’s ‘\n’, in Windows it’s ‘\r\n’. My guess is that Haiku treats just ‘\r’ as the new line character, but maybe I’m wrong.
How do you add icons/shortcuts for your application in Haiku?
For distribution, it’s recommended to create a HPKG package. Best done with haikuporter and a recipe. You can submit that recipe to the haikuports repo to have it build from source by the buildbots and it’ll automatically hit the default repo in HaikuDepot.
Otherwise, putting a link into /boot/home/config/settings/deskbar/menu/Applications will have your app appear in the Deskbar under “Applications”.