Skip to content

QtApp: Linux compile howto #17

@revast

Description

@revast

sudo apt-get install libpng16-dev qtmultimedia5-dev qt5-qmake qtbase5-dev

ubuntu 16.04 with kubuntu packports ppa activated, so qt 5.6.1

I had to change line 22 of MainWindow.cpp to
#include <**libpng16/**png.h>

and line 55 of MLVApp.pro to
linux-g++*: LIBS += -L/usr/local/lib/ -lz -lpng16

then the ususal
qmake-qt5 MLVApp.pro
make

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions