#1  
Old 02-15-2011, 09:46 PM
jbos's Avatar
jbos jbos is offline
Junior Member
 
Join Date: Sep 2010
Location: Darmstadt, Germany
Posts: 7
Thanked: 1 time
Default A little "How to work effictient with Meego SDK". aka. Thanks for all the cake.

Hello around

We are pretty thankfull about MeeGo, the Wiki and all the warm support we get. So we would like to give some lessons, we learned on the way, back to all of you.

The lesson today: What is the most efficient way to compile and debug with qt creator when you have external (core) libs.

There are basically 2 ways:

a) Use Qemu, install qt creator on the Image and get working in there.
b) Use a changeroot environment.

We found that:
Way a) is slow, unstable and cost a lot of nerve, developers and time...
Way b) is only possible when you do work for i86 (or use an arm computer as base)...

Both ways have an huge downside and we wondered, 'WTF' this can not be true.
But finally we got to Way c).

Way c) is: Use the kickstart to generate your own sysroot, of course you should add your needed core libs before. When you have generated the new sysroot.
1. add it to your madde
2. select in qtcreator (tools->configuration->qt4) the qmake from within the new sysroot (like described in SDK Setup Wikipage).

Guess what, that is it, it does simply work out of the box.



We agree, Way c) does have one downside: You need to generate your own sysroot, which you might not be able to.

And definitely nobody want to have an own sysroot for each application he work on. Also we want to provide broad compatibility between open source applications and hate the idea that every meego developer need to install an new sysroot starting to work on our codebase...

So our standpoint is, for now this is the only really working and bullet proof solution. But we think that every library + dev (better also dbg) package of the core compliance spec should be included in the default sysroot.

Doing it this way, you can work for arm and for i86. Debug and run just on device by using qt creator and forget about all this qemu, changeroot crap.

Just click, compile, run, debug and start working on the software, not the environment.

Thanks for reading and we hope this helps others to get started faster with meego development.
__________________
Visit my MeeGo Project. http://wiki.peregrine-communicator.org

Visit my MeeGo Blog. http://www.jeremias-bosch.com

Last edited by jbos; 02-16-2011 at 06:33 AM.
Reply With Quote

The Following User Says Thank You to jbos For This Useful Post:
  #2  
Old 02-16-2011, 06:28 AM
jbos's Avatar
jbos jbos is offline
Junior Member
 
Join Date: Sep 2010
Location: Darmstadt, Germany
Posts: 7
Thanked: 1 time
Default Re: A little "How to work effictient with Meego SDK". aka. Thanks for all the cake.

We plan to provide an 'simple to use and take care of everything script' which allows everyone (Linux User at least, sorry Windows Guys) to generate a own sysroots by just calling one command.
__________________
Visit my MeeGo Project. http://wiki.peregrine-communicator.org

Visit my MeeGo Blog. http://www.jeremias-bosch.com
Reply With Quote
  #3  
Old 02-16-2011, 06:57 AM
timoph's Avatar
timoph timoph is offline
MeeGo Greeter
 
Join Date: Feb 2010
Location: Tampere, Finland
Posts: 466
Thanked: 447 times
Default Re: A little "How to work effictient with Meego SDK". aka. Thanks for all the cake.

dunno if my wiki user page has anything you might find useful..
http://wiki.meego.com/User:Timoph
__________________
Greetings and useful links to all!

MeeGo FAQ - Contributing to MeeGo - Glossary and acronyms - developer.meego.com
Reply With Quote
  #4  
Old 02-16-2011, 02:44 PM
davidguimard davidguimard is offline
Junior Member
 
Join Date: Jun 2010
Posts: 4
Default Re: A little "How to work effictient with Meego SDK". aka. Thanks for all the cake.

Hello ,

I hope it s the right forum to ask the question.

i installed the meego sdk MeeGo 1.2 Tablet UX Pre-Alpha Release.
the installation was done on ubuntu and windows 7.
I followed the procedure that is clear for the first step but clearly incomplete the setting up of the toolschain, and the setting up of meegotouchlib.

On ubuntu .
no major problem except that the run setting doesn't show up the meego target , same if i can test the ssh connection that work well.

I didnt see the straight deployment of the package like for maemo5 for instance when i click on run.

On Win7.
installation goes well.impossible to find an already dll about meegotouch,anyone know a w32 repos ?

The installation procedure for meego touch is quite complexe and not made for the masses.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Meego Community Woes": article from linux-mag rahul Community Matters 18 04-12-2011 05:57 AM
What is the build target for "qmake.exe" in Windows Meego SDK->QTCreator->bin? xun Application Developer Support 4 12-24-2010 02:18 AM
apt-get and apt-cache "emulator" scripts for MeeGo thp Netbook 0 11-30-2010 02:16 PM
MeeGo Conference 2010 stickers: "unboxing open source" texrat Community Matters 9 11-12-2010 09:29 AM
Can not install "Meego Netbook Desktop" group kimoto Netbook 4 07-21-2010 02:27 AM


All times are GMT. The time now is 06:24 AM.