← Back to team overview

ubuntu-phone team mailing list archive

Re: Errors after installing ubuntu-sdk

 

Okay, i'll try to switch to cmake. For now i'm trying to build template project, but have some problems.
1. Added kit Ubuntu-SDK 14.10 i386
2. Created emulator i386 from devel-proposed
3. Created new project from template App with QML Extension library
Build fails if selected Ubuntu-SDK kit with error: "make: *** No targets specified and no makefile found. Stop"
Build for desktop done with no errors.

05.09.2014 02:01, Robert Schroll пишет:
On Thu, Sep 4, 2014 at 3:18 PM, Andrey Kozhevnikov <coderusinbox@xxxxxxxxx> wrote:
Thank you, i just updated to 14.10 to match qt 5.3 version. I want to clarify: there are no way to compile and run qmake .pro project on emulator right now? I'm not strict to QtC, can build using cli, if possible.

You can, but you have to do everything by hand: Make your own chroot (or VM), install dependencies, copy in your source, build it, create a click package, copy it to the emulator, install it, and launch it. I used to do this, but it was a pain. Thanks to Randy Olive, I'm set up with CMake now, and a single click builds, packages, installs, and runs my project on the emulator. (Well, about 50% of the time -- I just keep hitting the button until it all works.) It's worth the pain of the transition, especially if you can get someone else to do it for you :).

If it helps, here are the commits where we made the switch from qmake to cmake: https://github.com/rschroll/beru/commit/4b82800b71ed6b1cd295e75d3e7372d6b2c5327e https://github.com/rschroll/beru/commit/1c0c113746d67f5aa1bcc3b0fc8d0f3c3823e66e

Robert




Follow ups

References