Important: Please read the Qt Code of Conduct -

Can't install qt-mobility 1.0.1

  • When attempting to build qt-mobility 1.0.1 against opensuse 11.2 with Qt 4.7, make fails and seems to be targeting some awkward locations for installation and ignoring the prefix, make fails trying to copy something, which is odd since I'm not running make install yet

    (..suppressed boring parts...)
    cd declarative/ && make -f Makefile
    make[2]: Entering directory /home/raf/Download/qt-mobility-opensource-src-1.0.1/plugins/declarative' cd serviceframework/ && make -f Makefile make[3]: Entering directory/home/raf/Download/qt-mobility-opensource-src-1.0.1/plugins/declarative/serviceframework'
    Makefile:272: warning: overriding commands for target install_target' Makefile:263: warning: ignoring old commands for targetinstall_target'
    Makefile:276: warning: overriding commands for target uninstall_target' Makefile:267: warning: ignoring old commands for targetuninstall_target'
    cp -f qmldir /usr/imports/QtMobility/serviceframework/qmldir
    cp: cannot create regular file /usr/imports/QtMobility/serviceframework/qmldir': No such file or directory make[3]: *** [/usr/imports/QtMobility/serviceframework/qmldir] Error 1 make[3]: Leaving directory/home/raf/Download/qt-mobility-opensource-src-1.0.1/plugins/declarative/serviceframework'
    make[2]: *** [sub-serviceframework-make_default] Error 2
    make[2]: Leaving directory /home/raf/Download/qt-mobility-opensource-src-1.0.1/plugins/declarative' make[1]: *** [sub-declarative-make_default] Error 2 make[1]: Leaving directory/home/raf/Download/qt-mobility-opensource-src-1.0.1/plugins'
    make: *** [sub-plugins-make_default-ordered] Error 2

    Has anyone seen this before? It seems that the whatever is in plugins/declarative is ignoring the prefix and trying to copy files into ./usr/imports/QtMobility/

  • Moderators

    The qmldir files need to get copied into (a subdirectory of) the directory you are building in. Looks like that fails for you. Please open a bugreport against QTMOBILITY in our "bugtracker":

Log in to reply