PDA

View Full Version : Successfully build Qt from source, but installation "Error copying" ...



jiapei100
21st June 2018, 22:48
I successfully built qt source qt-everywhere-src-5.11.1, following the instructions at http://doc.qt.io/qt-5/linux-building.html.

However, when I tried to install Qt by sudo checkinstall, I got the following error messages:


Error copying ....../qt-everywhere-src-5.11.1/qtbase/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h to /usr/local/Qt-5.11.1/include/QtPlatformHeaders/qxcbwindowfunctions.h: Cannot create /usr/local/Qt-5.11.1/include/QtPlatformHeaders/qxcbwindowfunctions.h for output
Makefile:1230: recipe for target 'install_targ_headers' failed


How to install Qt from source?

Cheers
Pei