[MeeGo-SDK] SDK 1.2-preview: Can not launch app in Qt creator

Apollo Xue apolloxue at gmail.com
Tue Mar 1 06:56:48 UTC 2011


Here is the output, thanks for your help.

Running build steps for project HelloMTF...

Configuration unchanged, skipping qmake step.

Starting: "/usr/bin/make" -w

make: Entering directory
`/home/apolloxue/MeeGo_Projects/HelloMTF-build-meego'

make: Nothing to be done for `first'.

make: Leaving directory
`/home/apolloxue/MeeGo_Projects/HelloMTF-build-meego'

The process "/usr/bin/make" exited normally.

Creating package file ...

Package Creation: Running command 'rrpmbuild -bb hellomtf.spec'.

Executing: %build

+

make

make: Nothing to be done for `first'.

Executing: %install

+

make

install

INSTALL_ROOT=rrpmbuild/instroot

install -m 755 -p "HelloMTF" "rrpmbuild/instroot/usr/local/bin/HelloMTF"

strip "rrpmbuild/instroot/usr/local/bin/HelloMTF"

Adding directory usr/local

Adding directory usr/local/bin

Adding file usr/local/bin/HelloMTF

Pushing data "C

Pushing data "<insert license tag>

Pushing data "ApolloXue-Ubuntu

Package created.

Installing package to sysroot ...

Cannot make
'/usr/lib/madde/linux-i686/sysroots/meego-handset-ia32-madde-sysroot-1.1.90.3.20110215.10-fs/tmp/madde_xdpkg':
Permission denied

Connecting to device...

No directories to unmount

Started uploading file
'/home/apolloxue/MeeGo_Projects/HelloMTF-build-meego/rrpmbuild/hellomtf-0.0.1-1.i586.rpm'.

Successfully uploaded file
'/home/apolloxue/MeeGo_Projects/HelloMTF-build-meego/rrpmbuild/hellomtf-0.0.1-1.i586.rpm'.

Installing package to device...

error:

/home/meego/hellomtf-0.0.1-1.i586.rpm: headerRead failed: Header sanity
check: OK

error:

/home/meego/hellomtf-0.0.1-1.i586.rpm cannot be installed

No directories to unmount

Deployment finished.

Error while building project HelloMTF (target: MeeGo)

When executing build step 'Deploy to MeeGo device'


2011/3/1 Chen, Zhang Z <zhang.z.chen at intel.com>

>  Can you send the whole build and deploy log in QtCreator?
>
>
>
> *From:* Apollo Xue [mailto:apolloxue at gmail.com]
> *Sent:* Tuesday, March 01, 2011 2:25 PM
> *To:* Chen, Zhang Z; meego-sdk at meego.com
>
> *Subject:* Re: [MeeGo-SDK] SDK 1.2-preview: Can not launch app in Qt
> creator
>
>
>
> Today, the update manager notified me there were updates for SDK 1.2
> preview, then I installed these updates, but after that, I can not deploy my
> app to the emulator any more, there are some errors:
>
> Installing package to device...
>
> error:
>
> /home/meego/testapp-0.0.1-1.i586.rpm: headerRead failed: Header sanity
> check: OK
>
> error:
>
> /home/meego/testapp-0.0.1-1.i586.rpm cannot be installed
>
> No directories to unmount
>
> Deployment finished.
>
> Error while building project testapp (target: MeeGo)
>
> When executing build step 'Deploy to MeeGo device'
>
>
> Best Regards
> Apollo Xue
>
> 2011/3/1 Apollo Xue <apolloxue at gmail.com>
>
> yes, using "meego" as the username can fix this problem, thanks a lot!
>
>  2011/2/25 Georgescu, Alexandru C <alexandru.c.georgescu at intel.com>
>
>
>
> Hi,
>
> With what username you are trying to connect to the (Qemu or device)? If it
> is not “meego”, than this might be the issue.
>
>
>
> Regards,
>
> Alex
>
>
>
> *From:* meego-sdk-bounces at meego.com [mailto:meego-sdk-bounces at meego.com] *On
> Behalf Of *Chen, Zhang Z
> *Sent:* Tuesday, February 22, 2011 7:24 AM
> *To:* Apollo Xue; meego-sdk at meego.com
> *Subject:* Re: [MeeGo-SDK] SDK 1.2-preview: Can not launch app in Qt
> creator
>
>
>
> Would you please check if /usr/bin/xhost exists in your target (QEMU or
> device)?
>
>
>
>
>
>
>
> *From:* meego-sdk-bounces at meego.com [mailto:meego-sdk-bounces at meego.com] *On
> Behalf Of *Apollo Xue
> *Sent:* Tuesday, February 22, 2011 11:28 AM
> *To:* meego-sdk at meego.com
> *Subject:* [MeeGo-SDK] SDK 1.2-preview: Can not launch app in Qt creator
>
>
>
> Hi,
>     I have updated to SDK 1.2-preview, but I encountered a problem when I
> tried to run a MTF app in Qt IDE, the error is:
>
>
> *Killing remote process(es)...*
>
> *Starting remote process ...*
>
> bash: xhost: command not found
>
> Running non-meego graphics system enabled MeeGo touch, forcing native
> graphicssystem
>
> No protocol specified
>
> MailClient: cannot connect to X server :0
>
> *Killing remote process(es)...*
>
> *Finished running remote process. Exit code was 1.*
>
>
>
> What does this error mean? How to fix it?
>
>
>
> Best Regards
>
> Apollo Xue
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.meego.com/pipermail/meego-sdk/attachments/20110301/cc4a5cd9/attachment-0003.html>


More information about the MeeGo-sdk mailing list