I want to install SerialPort on QT4.8.4 on my computer for development of GUI on Beaglebone Black.
I followed the steps here: [qt-project.org]
Recommended steps to build the QtSerialPort library for Qt4/Qt5 from QtCreator:
download and unpack the QtSerialPort sources
run QtCreator and open the “qtserialport.pro” project file
get to “Projects->(Your Kit)->Build->Build Steps”
add a new make “Build Step” and write to the “Make arguments” the install target
from the menus, select “Rebuild Project qtserialport”
In the last step “Rebuild Project qtserialport”, I get “install_target_headers” Error
Please help me solve this.
The following is the last few lines of Compile Output window:
cd serialport/ && /usr/bin/make -f Makefile install
make[2]: Entering directory `/home/aswin/Downloads/build-qtserialport-Beaglebone-Debug/src/serialport'
mkdir: cannot create directory `/opt/qt/include/QtSerialPort/': Permission denied
make[2]: Leaving directory `/home/aswin/Downloads/build-qtserialport-Beaglebone-Debug/src/serialport'
make[1]: Leaving directory `/home/aswin/Downloads/build-qtserialport-Beaglebone-Debug/src'
make[2]: *** [install_target_headers] Error 1
make[1]: *** [sub-serialport-install_subtargets] Error 2
make: *** [sub-src-install_subtargets-ordered] Error 2
02:27:19: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project qtserialport (kit: Beaglebone)
When executing step 'Make'
02:27:19: Elapsed time: 00:37.
↧