Recent

Author Topic: Is there any plan to support HarmonyOS?  (Read 1158 times)

dodgex

  • New Member
  • *
  • Posts: 20
Is there any plan to support HarmonyOS?
« on: September 29, 2025, 02:55:21 am »
Is there any plan to support HarmonyOS?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4715
  • I like bugs.
Re: Is there any plan to support HarmonyOS?
« Reply #1 on: September 29, 2025, 09:00:33 am »
Do widget libraries GTKx or QTx run under HarmonyOS? If they do then it is already supported.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 19268
  • Glad to be alive.
Re: Is there any plan to support HarmonyOS?
« Reply #2 on: September 29, 2025, 10:57:41 am »
For version 1..4, simply develop for Android and side load.
For version 5 next this is no longer possible.
objects are fine constructs. You can even initialize them with constructors.

myisjwj

  • Full Member
  • ***
  • Posts: 105
Re: Is there any plan to support HarmonyOS?
« Reply #3 on: June 01, 2026, 04:51:12 am »
It can be supported. I haven't used it yet. But according to the instructions, it can be used. Thanks for Qiu Feng's efforts. This can support Qt5, but it doesn't support GTK.
可以支持了,我还没有用。但看说明是可以用了。谢谢秋风的努力

https://www.cnblogs.com/qiufeng2014/p/20229357

cdbc

  • Hero Member
  • *****
  • Posts: 2818
    • http://www.cdbc.dk
Re: Is there any plan to support HarmonyOS?
« Reply #4 on: June 01, 2026, 07:48:07 am »
Hi
I guess, you could write a new 'backend' for fpGUI, to make that work...
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

Thaddy

  • Hero Member
  • *****
  • Posts: 19268
  • Glad to be alive.
Re: Is there any plan to support HarmonyOS?
« Reply #5 on: June 01, 2026, 11:13:46 am »
Qt is documented to work with the above HarmonyOS FPC compiler and GTK2 is legacy anyway.

This is the https://github.com/axcom/fpc4ohos link.

Note that in the later HarmonyOS  versions all Android code is removed and also the Linux kernel is dropped for a proprietary kernel. Bit of a pity because I was able to side-load on my old phone.
« Last Edit: June 01, 2026, 11:26:16 am by Thaddy »
objects are fine constructs. You can even initialize them with constructors.

 

TinyPortal © 2005-2018