Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Currently (Sept 2015) Ubuntu 15.04 and later support Qt5.4.x libraries. Kaosx already is using Qt v5.5 (however, is another package format - to be done, maybe) . Latest Debian 8 do not.  Support native Eazylink2 package for Ubuntu in Intel, since this Linux defines a good support point.

Running build environment: Ubuntu 15.04 desktop.

These build notes are based on this excellent tutorial: https://bhavyanshu.me/how-to-make-debian-packages-for-qt-c-based-applications/11/10/2014/.

...

Initial instalation of compilers, debian build tools and Qt5 developer packages

Install the following packages:

...

Ensure qmake is using Qt5 and that eazylink2 sources are compiled compiles succesfully:

> qmake -version

...

https://bhavyanshu.me/a-quick-guide-on-how-to-use-gnu-privacy-guard-gpg-to-generate-keys-and-distribute-them/11/27/2014/

...

Establish debian source code folder structure

ddd

Create signed source package and build .deb installer package

cd eazylink2-1.0.0

debuild -i -I -S -sa  {build the source package + signing with gpg key}

...

  • Install Basic compilers and debian package build tools:
    • sudo apt-get install build-essential fakeroot dpkg-dev devscripts dh-make
  • Install Qt5 dev packages:
    • sudo apt-get install qtbase5-dev qtbase5-dev-tools qt5-qmake qt5-default libqt5serialport5-dev
  • Prepare source package for compilation:
    • dpkg-source -x eazylink2_1.0.0-1.dsc
  • Build the binary .deb package:
    • cd eazylink2-1.0.0
      dpkg-buildpackage -rfakeroot -us -uc -b

      .deb package will be available in parent folder.
  • Install the compiled package:
    • sudo dpkg -i eazylink2_1.0.0-1_<arch>.deb

 

Linux, Raspberry Pi & Pi2 (Debian Wheezy)

...