← Back to team overview

ubuntu-phone team mailing list archive

Re: Errors after installing ubuntu-sdk

 

You can skip the 1st step, because there is a risk that your manually created and set up Kit is not correct.

The Kits are automatically created when you start the Ubuntu SDK at the first time [1] or in case skipped that and you do not have Kits it done when you create a new project.

I would suggest to delete all possible bogus Kits and let them automatically recreated. You can see what Kits are assigned to the emulator on the Devices page.

Also please remove theqt5-proper PPA with the `ppa-purge ppa:canonical-qt5-edgers/qt5-proper` command unless you know why do you have that on your system. That PPA is deprecated and we have all necessary packages in teh SDK PPA.

cheers,

Zoltan

[1] If you want to start again plese `rm ~/.config/ubuntu-sdk/firstrun`, start the Ubuntu SDK again and follow the instructions

On 09/04/2014 11:14 PM, Andrey Kozhevnikov wrote:
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