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
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
To copy to clipboard, switch view to plain text mode
How to install Qt from source?
Cheers
Pei
Bookmarks