×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Exclamation how create separate target in scratchbox and install Qt 4.7 there

    hi All,
    how to create separate target in scratchbox and install Qt 4.7 there?

    cheers
    Wishwa

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: how create separate target in scratchbox and install Qt 4.7 there

    Creation of new target was discussed in this thread:
    http://discussion.forum.nokia.com/fo...464-Upgrade-Qt
    Installation of Qt 4.7 is trivial, and you did it already once.
    Switching between targets is done with
    Code:
    sb-conf select TARGET_NAME
    or with
    Code:
    sb-menu

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Re: how create separate target in scratchbox and install Qt 4.7 there

    hi Daniil,
    When I'm trying to create a new target http://discussion.forum.nokia.com/fo...464-Upgrade-Qt

    it will pass message as follows

    [wishwa@localhost maemo]$ ./newTargetForSbox.py arm
    sb-conf: No such devkit: cputransp
    sb-conf: No such target: arm-F-25-4
    sb-conf: No such target: arm-F-25-4
    [wishwa@localhost maemo]$

    after I tried to change the target
    [sbox-FREMANTLE_ARMEL: ~] > sb-conf select arm-F-25-4
    sb-conf: No such target: arm-F-25-4
    [sbox-FREMANTLE_ARMEL: ~] > sb-conf select arm
    sb-conf: No such target: arm
    [sbox-FREMANTLE_ARMEL: ~] >

    cheers
    ~Wishwa
    Last edited by wishwaa; 2010-06-24 at 11:31.

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: how create separate target in scratchbox and install Qt 4.7 there

    It's shell, not a python script. Do you have scratchbox-devkit-cputransp installed on your desktop?
    http://www.scratchbox.org/download/f...1.0.9_i386.deb

    P.S. I actually noticed that these days qemu devkit is used instead of cputransp. Try to replace occurrences of cputransp to qemu in the script.
    Last edited by divanov; 2010-06-24 at 13:15.

  5. #5
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Re: how create separate target in scratchbox and install Qt 4.7 there

    no its not installed...

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: how create separate target in scratchbox and install Qt 4.7 there

    Quote Originally Posted by wishwaa View Post
    no its not installed...
    I updated the script to use qemu instead of cputransp.

  7. #7
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Re: how create separate target in scratchbox and install Qt 4.7 there

    hi Daniil,
    When im tried to install libqt4-experimental-dev its give the following Error, but /etc/apt/sources.list file contains

    deb http://repository.maemo.org/ fremantle/XXXXXXXXXXXXXXXXXXXXX nokia-binaries

    thing is its telling Couldn't find package libqt4-experimental-dev
    [sbox-arm-F-25-4: ~] > fakeroot apt-get install libqt4-experimental-dev
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package libqt4-experimental-dev
    [sbox-arm-F-25-4: ~] >

    also when I run ur script again in my new target it will show as follows.

    ./newTargetForSbox.sh arm
    bash: ./newTargetForSbox.sh: Permission denied
    [wishwa@localhost maemo]$ ./newTargetForSbox.sh arm
    sb-conf: Target already exists: arm-F-25-4
    --18:14:45-- http://repository.maemo.org/stable/5..._5.0_armel.tgz
    => `/tmp/sb-config-wishwa/maemo-sdk-rootstrap_5.0_armel.tgz'
    Resolving repository.maemo.org... 222.165.168.202, 222.165.168.200
    Connecting to repository.maemo.org[222.165.168.202]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 38,283,578 [application/x-gzip]

    100%[===================================================================================================>] 38,283,578 197.77K/s ETA 00:00

    18:17:55 (196.77 KB/s) - `/tmp/sb-config-wishwa/maemo-sdk-rootstrap_5.0_armel.tgz' saved [38283578/38283578]

    Unpacking rootstrap...
    SBOX_DPKG_INST_ARCH not set.
    SBOX_DPKG_INST_ARCH not set.

    im stuck with this issue...

    thanks
    ~Wishwa
    Last edited by divanov; 2010-06-24 at 14:37. Reason: removing private key

  8. #8
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: how create separate target in scratchbox and install Qt 4.7 there

    It's not wise to run script twice the same day without modifying target name.
    libqt4-experimental-dev is located in extras-devel repository, which is not enabled by default.

  9. #9
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Re: how create separate target in scratchbox and install Qt 4.7 there

    i have add following entries to /etc/apt/sources.list

    # Repository for Nokia Binaries, added by Maemo 5.0 SDK Installer
    deb http://repository.maemo.org/ fremantle/XXXXXXXXXXXXXXXXXXXXXXXXX nokia-binaries

    deb http://repository.maemo.org/extras-devel/ fremantle free non-free

    but its not working
    Last edited by divanov; 2010-06-24 at 14:37. Reason: removing private key

  10. #10
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: how create separate target in scratchbox and install Qt 4.7 there

    As I said libqt4-experimental-dev is in extras-devel repository
    http://repository.maemo.org/

  11. #11
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Re: how create separate target in scratchbox and install Qt 4.7 there

    yes those are there in /etc/apt/sources.list

  12. #12
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Re: how create separate target in scratchbox and install Qt 4.7 there

    hi Daniil,

    I'm using ScratchBox on Fedora...

    cheers

  13. #13
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: how create separate target in scratchbox and install Qt 4.7 there

    Quote Originally Posted by wishwaa View Post
    hi Daniil,

    I'm using ScratchBox on Fedora...

    cheers
    Scratcbox is Debian based.

  14. #14
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Re: how create separate target in scratchbox and install Qt 4.7 there

    Quote Originally Posted by divanov View Post
    Scratcbox is Debian based.
    but i have install it in fedora....

  15. #15
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    Re: how create separate target in scratchbox and install Qt 4.7 there

    hi Danill,
    thing is i had compile my application on qt 4.6.2 i need to recompile it in qt 4.7.0
    pls help me to resolve this out.
    cheers
    ~Wishwa

Similar Threads

  1. How to update Qt within scratchbox
    By pta0007 in forum Nokia N9
    Replies: 1
    Last Post: 2010-06-16, 15:10
  2. do we need to create .install file to upload our QT maemo application to OVI store
    By wishwaa in forum [Closed] Publishing to Nokia Store
    Replies: 2
    Last Post: 2010-06-03, 12:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •