Heimer icon indicating copy to clipboard operation
Heimer copied to clipboard

[feature request] can it be port to web ?

Open shynome opened this issue 5 years ago • 3 comments

today c++ support wasm and qt support web, Is it possible port to web ?

I love this , it is so easy to use

shynome avatar Jan 05 '20 03:01 shynome

Hmm...never tried that but indeed should be possible in theory: https://doc.qt.io/qt-5/wasm.html

juzzlin avatar Jan 05 '20 08:01 juzzlin

This weekend I have try to build port to web, and found some problem

  • build qt follow https://doc.qt.io/qt-5/wasm.html , will lose rlelease command which for translation, so I don't add translation file to Heimer.pro file in build
  • can't input chinese, copy also not work
  • can't save file to local and can't upload file

here is a preview: https://shynome.github.io/Heimer-port-to-web-try/index.html I will try to solve these problems, but I am newbie and hope someone can help solve these

shynome avatar Jan 11 '20 11:01 shynome

Wow, that's very cool! Works better than I expected. The biggest issue is to somehow handle file load/save.

I found this: https://bugreports.qt.io/browse/QTBUG-67834

juzzlin avatar Jan 11 '20 11:01 juzzlin