these are my .pro files of my library and application
.pro of my library
Code: Select all
QT += widgets
QT -= gui
TARGET = libforpishared
TEMPLATE = lib
DEFINES += LIBFORPISHARED_LIBRARY
SOURCES += libforpishared.cpp
HEADERS += libforpishared.h\
libforpishared_global.h
INSTALLS = target
target.files = libforpishared
target.path = /home/pi
Code: Select all
QT += core gui widgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = libtryforraspberrypi
TEMPLATE = app
SOURCES += main.cpp\
HEADERS +=
DEPENDPATH += /home/amruz/libforpishared
INCLUDEPATH += /home/amruz/libforpishared
LIBS += -L/home/amruz/build-libforpishared-Raspberry_Pi-Debug -llibforpishared
INSTALLS = target
target.files = libtryforraspberrypi
target.path = /home/pi
I have deployed the library in raspberry pi. But only .so file is in /home/pi.
How to add the header files of my library to raspberry pi?
I am not sure of that
can anyone guide me in this
thanks in advance