Ok, for QT5 apps, here’s the quick and dirty way
- Make sure someone else hasn’t already ported it.
- install the QT5 and QT5_devel packages. These are large. There is also a QT5 documentation package, which is insanely large.
- Download and unzip the app you want to port
- Open a Terminal, cd to your unzipped files
- If you are compiling on x86_gcc2hybrid, type “setarch x86”. If you are compiling on x86_64, you can skip this step.
- Type “qmake”
- If that gives an error message type “cmake .”
- If that gives an error message, read the documentation. then return to step 4
- type “make”
- start praying
- If the compilation is successful, start hunting for where this one put the damn binary.
- If the compilation is not successful, read the documentation, fiddle with the code, then return to step 4. Repeat as required (or give up).
- Send an email to the original author informing him that his code compiles on Haiku.
- Start planning your .hpkg for distribution.
QT4 apps are much the same (with less prayer involved), but note that while you can have the QT4 and QT5 runtime libs in the same setup, the two _devel packages will clash mightily and attempt to uninstall one another. Since most QT apps under active development are transitioning to QT5 anyway, think twice before committing to QT4.
KDE apps cannot be ported unless you first port the entire KDE subsystem. It’s been done before in TiltOS - but Haiku and KDE are both moving targets and those ports no longer work.
SeaMonkey? Don’t, just don’t. Web browsers are fantastically complex applications, not for newbies! Besides, there is one on my repo. Not the latest, but it works.