Skip to content

Instantly share code, notes, and snippets.

@suhrmann
Last active May 12, 2017 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suhrmann/b96d5e2fab6a2678470d4c9d824309ce to your computer and use it in GitHub Desktop.
Save suhrmann/b96d5e2fab6a2678470d4c9d824309ce to your computer and use it in GitHub Desktop.
Instructions for developing on viktorgino/headunit-desktop

Development Instructions for HeadUnit Desktop


!!! IMPORTANT NOTE !!!

I created this document mostly for myself to document the steps to contribute in the headunit-desktop project, but I thought it can help one or two.
I continue writing on it and some points may be incomplete or even wrong.
Feel free to leave feedback in the comment section. For discussions there's a Gitter chat

How-To

You can simply follow @viktorgino's build and install instructions for headunit-desktop.

After you've finished the instructions you can simply open the file headunit-desktop.pro with Qt Creator.

Requirements

· Qt ≥ 5.7

Most important: Use an OS with Qt 5.7.
Using an OS that serves packages with at least Qt 5.7 - for Ubuntu that's Ubuntu 17.04 [zesty] or newer will avoid so much trouble installing QtGstreamer you'll run into (I bet).

For more info, see this comment to an issue

Regarding Qt versions: I targeted Qt 5.7, because that's the version that will be included in the next release of Debian and is the version that comes with the latest Ubuntu version.

I gave up trying to get this project running on Ubuntu 16.04. I just installed a Ubuntu 17.04 for headunit-desktop and the instructions by @viktorgino just work.

Hints on Ubuntu 16.04

For older instructions regarding 16.04 see this Revision of my instructions

FAQ

  • Qt Creator freezes after opening the project
    I had this problem with the package version of Ubuntu 17.04 : Qt Creator 4.1.0.
    Solution: Simply install and use the latest Qt Creator (currently 4.2.2) using the Qt Online Installer
    as at 05/2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment