Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Native Build on Raspberry Pi 2, qmake doensn't find *.pri



  • Hi,
    I made a native build of Qt 5.5.1 on an extern HDD based on this tutorial: https://wiki.qt.io/Native_Build_of_Qt_5.4.1_on_a_Raspberry_Pi
    During the build the "..../qt-everywhere-opensource-src-5.5.1"-directory on the HDD is mountet to ~/opt/qt-everywhere-opensource-src-5.5.1.
    If I mount the HDD to this directory qmake works fine, but when I unplugg the HDD qmake responeses with following errors building qopenglwindow of the examples:

    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_bootstrap_dbus_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_bootstrap_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_concurrent.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_concurrent_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_core.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_core_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_dbus.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_dbus_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_eglfs_device_lib_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_gui.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_gui_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_network.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_network_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_opengl.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_opengl_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_openglextensions.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_openglextensions_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_platformsupport_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_printsupport.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_printsupport_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_sql.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_sql_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_testlib.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_testlib_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_widgets.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_widgets_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_xcb_qpa_lib_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_xml.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_lib_xml_private.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_composeplatforminputcontextplugin.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_cupsprintersupport.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_ibusplatforminputcontextplugin.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qconnmanbearer.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qeglfs-brcm-integration.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qeglfs.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qevdevkeyboardplugin.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qevdevmouseplugin.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qevdevtabletplugin.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qevdevtouchplugin.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qgenericbearer.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qgif.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qico.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qjpeg.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qlinuxfb.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qminimal.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qminimalegl.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qnmbearer.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qoffscreen.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qsqlite.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qsqlite2.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qsqlmysql.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qsqlpsql.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qsqltds.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qtslibplugin.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qtuiotouchplugin.pri: No such file or directory
    Cannot read /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/mkspecs/modules-inst/qt_plugin_qxcb.pri: No such file or directory
    sh: 1: /home/pi/opt/qt-everywhere-opensource-src-5.5.1/qtbase/bin/rcc: not found
    

    Is there a way to unplug the HDD without coping the huge qt-everywhere-opensource-src-5.5.1 folder to the sd -card.

    Thank you for your help and excuse my bad english ;)


  • Lifetime Qt Champion

    Hi,

    If you want to developer without your HDD then you should install the Qt you built on your Pi.


Log in to reply