Compiling QtRemoteObjects
-
wrote on 17 Apr 2017, 20:01 last edited by vlada
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?
-
Hi,
What files are missing ? Which low version are you targeting ?
-
wrote on 18 Apr 2017, 15:35 last edited by vlada
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.
-
Which version of Qt are you trying to build ?
-
wrote on 19 Apr 2017, 06:06 last edited by
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.
-
By the way, where did you get the code from ?
The official repos are at https://code.qt.io
-
wrote on 19 Apr 2017, 09:41 last edited by
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...
1/7