-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting DomTerm working on Mint (and probably Ubuntu 18.04LTS as well) #69
Comments
"domterm --chrome works." That at least is something. You can try "Also is the qt frontend the best frontend for Linux or is it better to use the electron one (which I've not tried yet)?" The Electron and Qt front-ends are very similar. I recently fixed most of the Electron-specific or Qt-specific annoyances. The best one is whichever one you can get to work with the least amount of pain! When you try Qt (or Electron) again, make sure there isn't some existing domterm process in the background. I use If you just get a blank screen, you could try opening a debugger window. You need to start qtdomterm with (say) It is possibly you have a non-working/incompatible version of Qt. I've only tested DomTerm on Fedora and WSL (Ubuntu under Windows), though the latter not recently. The |
Using the debugging port I see in the console: qtdomterm status gives: I built libwebsockets from head GitHub. qmake --version settings.ini: |
I'm seeing:
After starting
It's plausible it's a difference between Qt 5.9 and 5.12, specifically the version of Chrome that the respective Downloading and using Electron based on the instructions is simple, so I'd try that. Or settle for the limitations of |
I managed to get it to work by doing the following: Add a PPA containing newer QT: Also, I found a missing symbolic link during compilation: |
Let me know how well things work for you, and if there is anything annoying. Next there is question about whether or how to change the build instructions - since it may be awfully specific to a particular version of Qt and Mint. At the very least I should note that Qt 5.9 doesn't work. First, though, I should try to build DomTerm on WSL (with and without Qt) - which also be useful for Ubuntu. |
Same issue here on WSL with Qt 5.9 the default on Ubuntu 18.04. To get this qt512 ppa working I also had to first source /opt/qt512/bin/qt512-env.sh to get the correct environment variables to allow ./configure / make to work correctly. Also note that to get the above Qt5 working you need to perform magic library stripping incantations described here: https://superuser.com/questions/1347723/arch-on-wsl-libqt5core-so-5-not-found-despite-being-installed Looking now into how to get hyperlinks clickable within this environment. |
Recently I've tried to get DomTerm working using the JavaFX WebView component (for use by Java application). That too had a weird problem with DomTerm.makeElement not being found. That seems to have changed into a different problem in my very latest code - with TextEncoder not being found. Interesting and strange. |
Some interesting data points: The default build works with JavaFX 13 (AppleWebKit 608.1), but doesn't work with JavaFX 8 (AppleWebKit 602.1), which gets the missing DomTerm.makeElement error. However, JavaFX 8 (AppleWebKit 602.1) does work if configuring Presumably, the code is using some ES6-ism which older browsers get confused by, but Closure "transpiles" it to es5 constructs that are handled. If it is something minor, it might be worth changing, but in general I prefer to make use of modern JavaScript, especially if a transpiler like Closure works for older browsers. |
qtdomterm /usr/local/bin/fish gives a blank white screen with no prompt.
domterm --chrome /usr/local/bin/fish works.
Also is the qt frontend the best frontend for Linux or is it better to use the electron one (which I've not tried yet)?
The text was updated successfully, but these errors were encountered: