Compiling QtRemoteObjects



  • Hi,

    I would like to implement Android service for my application. I'm following this guide. But unfortunately I can not compile QtRemoteObjects.

    I downloaded the source as a ZIP, installed Perl (as it is required by qmake), run qmake.exe and then make.exe (from Android SDK). The make step finished with this error:

    make (e=2): Systém nemůže nalézt uvedený soubor.
    make[2]: *** [.obj\qconnection_local_backend.obj] Error 2
    make[2]: Leaving directory `C:/QtProjects/qtremoteobjects/src/remoteobjects'
    make[1]: *** [sub-remoteobjects-make_first-ordered] Error 2
    make[1]: Leaving directory `C:/QtProjects/qtremoteobjects/src'
    make: *** [sub-src-make_first] Error 2
    

    The first line says that the file can not be found.

    Did I do something wrong?


  • Lifetime Qt Champion

    Hi,

    What files are missing ? Which low version are you targeting ?



  • The file .obj\qconnection_local_backend.obj is missing. It really isn't there.

    I'm targeting Android ARMv7. I also tried Windows x86 using mingw32 compiler with the same result.


  • Lifetime Qt Champion

    Which version of Qt are you trying to build ?



  • I'm trying it with the latest 5.8. But now I found that QtRemoteObjects is included in Qt 5.9 beta installer. So I might try to install it using the Qt Maintenance Tool.


  • Lifetime Qt Champion

    By the way, where did you get the code from ?

    The official repos are at https://code.qt.io



  • I downloaded it form https://github.com/qt/qtremoteobjects

    The repository mentioned in the guide doesn't exist anymore since it was moved from playground to technical preview. I'll try it again from your link...


Log in to reply