×

Discussion Board

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 33
  1. #16
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: Qt for maemo developers guide - beta published!

    Quote Originally Posted by james1980 View Post
    Hi,

    I had tried the suggestion given by the carbider but it do not works for me. Are you using a VMWare with the ubuntu image? I had downloaded the image of maemo pre final from HERE.

    Is this the correct version or I have to use a different image.

    Thanks and Regards
    Yes, it neither work for me, after the changes in the 99proxy file, now Iḿ getting this error message:

    Code:
    Err http://repository.maemo.org fremantle/sdk Release.gpg
      Temporary failure resolving 'repository.maemo.org'
    Now let me check the article provided by james.

  2. #17
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: Qt for maemo developers guide - beta published!

    I´ve figured out the issue. Now it is working fine when I used the commands in this way without going to the scratchbox/login.

    Code:
    $ sudo apt-get install libqt4-gui
    $ sudo apt-get install libqt4-dev

  3. #18
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: Qt for maemo developers guide - beta published!

    Quote Originally Posted by vin2ktalks View Post
    I´ve figured out the issue. Now it is working fine when I used the commands in this way without going to the scratchbox/login.

    Code:
    $ sudo apt-get install libqt4-gui
    $ sudo apt-get install libqt4-dev
    But if you do not install inside scratchbox your Qt installation will not work in N900 emulator.

    Code:
    Err http://repository.maemo.org fremantle/sdk Release.gpg
      Temporary failure resolving 'repository.maemo.org'
    Please, check if scratchbox dns is properly set. It is confuse because we have dns setting for the emulator and for the scratchbox itself. You need to check the file /scratchbox/etc/resolv.conf (not logged into scratchbox). See this link.

    I saw another problem related to proxy. I set a proxy during SDK installation (using http_proxy environment). I noted that this configuration is kept in scratchbox when I decided to use a new the SDK in a new network with no proxies.

    Marcelo

  4. #19
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: Qt for maemo developers guide - beta published!

    Quote Originally Posted by vin2ktalks View Post
    Yes, it neither work for me, after the changes in the 99proxy file, now Iḿ getting this error message:

    Code:
    Err http://repository.maemo.org fremantle/sdk Release.gpg
      Temporary failure resolving 'repository.maemo.org'
    Now let me check the article provided by james.
    Hi vin2ktalks,

    Just making a 99proxy is not sufficient. There is also a dns problem which you can solve using this code

    Code:
    cat /etc/resolv.conf | sudo tee /scratchbox/etc/resolv.conf
    Above command should be executed from the normal linux shell without /scratchbox/login

    Refer this wiki article for the remaining Qt installation
    Jajal Mehul

  5. #20
    Regular Contributor
    Join Date
    Dec 2004
    Posts
    231

    Re: Qt for maemo developers guide - beta published!

    Hi I followed the instructions on wiki but when I try to do "apt-get update" the system tells this :
    0% [connecting to nokes.nokia.com] and it doesn't go further. Remains 0% till exit for time exceeded.

    what could be the problem ?

  6. #21
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    430

    Re: Qt for maemo developers guide - beta published!

    This in scratchbox? Try network inside and outside of scratchbox. If its only failing inside, you probably suffer from a problem in scratchbox: Scratchbox has several internal copies of resolv.conf that need to be updated. See http://discussion.forum.nokia.com/fo...d.php?t=185068

  7. #22
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Qt for maemo developers guide - beta published!

    The reason for that is VMWare image contains apt configured with internal Nokia network proxy settings.
    What you need to do is to update proxy in case you are using proxy, or remove proxy configuration in case
    you are not using proxy. The configuration is located inside scratchbox: /etc/apt/apt.conf.d/99proxy

    Quote Originally Posted by Carbider View Post
    Hi,

    I have a trouble installing Qt on scratchbox for Fremantle SDK.
    The 'apt-get update' command wouldn't work for this url: 'deb http://repository.maemo.org/extras-devel/ fremantle free non-free'.
    It says:
    Code:
    Temporary failure resolving 'nokes.nokia.com'
    Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/Release.gpg
    On the other hand, the packages for Diablo were downloaded well.
    Did anyone face the same issue?

    Thanks

  8. #23
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Qt for maemo developers guide - beta published!

    Quote Originally Posted by matrix241 View Post
    Hi I followed the instructions on wiki but when I try to do "apt-get update" the system tells this :
    0% [connecting to nokes.nokia.com] and it doesn't go further. Remains 0% till exit for time exceeded.

    what could be the problem ?
    As it was proposed here multiple times, remove /etc/apt/apt.conf.d/99proxy from every scratchbox target.

  9. #24
    Regular Contributor
    Join Date
    Dec 2004
    Posts
    231

    Re: Qt for maemo developers guide - beta published!

    Quote Originally Posted by divanov View Post
    As it was proposed here multiple times, remove /etc/apt/apt.conf.d/99proxy from every scratchbox target.
    yeah that's the key. nokes.nokia.com is the proxy to be disactivated.

  10. #25
    Regular Contributor
    Join Date
    Dec 2004
    Posts
    231

    Re: Qt for maemo developers guide - beta published!

    Quote Originally Posted by axeljaeger View Post
    This in scratchbox? Try network inside and outside of scratchbox. If its only failing inside, you probably suffer from a problem in scratchbox: Scratchbox has several internal copies of resolv.conf that need to be updated. See http://discussion.forum.nokia.com/fo...d.php?t=185068
    yes that was inside the scratchbox. finally solved by erasing 99proxy.

  11. #26
    Registered User
    Join Date
    Mar 2009
    Posts
    5

    Re: Qt for maemo developers guide - beta published!

    Hi
    Have tried making the pre-configured virtual image work. At the moment my problem is that qmake won't run. When I have copied my Qt project to scratchbox and want to use qmake I get 'bash: qmake: command not found'. What to do?
    Pesky virtual image!

    Br

  12. #27
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    430

    Re: Qt for maemo developers guide - beta published!

    Looks like there is no Qt installed inside scratchbox. To get a list of qt related packages inside scratchbox, use
    Code:
    apt-cache search qt
    Then to install packages, use
    Code:
    fakeroot apt-get install <paketname>
    ATM I do not know which packages are needed, but something like qt-dev-tools is a good candidate.

  13. #28
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Qt for maemo developers guide - beta published!

    Quote Originally Posted by axeljaeger View Post
    Looks like there is no Qt installed inside scratchbox. To get a list of qt related packages inside scratchbox, use
    Code:
    apt-cache search qt
    Then to install packages, use
    Code:
    fakeroot apt-get install <paketname>
    ATM I do not know which packages are needed, but something like qt-dev-tools is a good candidate.
    Maemo5 is gtk-based and there are no applications using Qt (with small exception), that's the reason Qt is supplied as optional packages not installed by default.
    We have pretty detailed wiki with installation steps both for Qt 4.5.3 and Qt 4.6:
    http://wiki.maemo.org/Qt4_Hildon#Ins..._in_Scratchbox

  14. #29
    Registered User
    Join Date
    Mar 2009
    Posts
    5

    Re: Qt for maemo developers guide - beta published!

    Thanks axeljaeger and divanov, I will check it out.

  15. #30
    Registered User
    Join Date
    Mar 2009
    Posts
    5

    Re: Qt for maemo developers guide - beta published!

    Nothing works, so now I deleted my image and try starting all over with the virtual image setup.

    I have tried setting up enviroments for J2ME, BlackBerry and iPhone development, but this crappy Maemo enviroment takes the prize as the worst setup experience ever.

Similar Threads

  1. External Applications Developers Guide - Older Versions?
    By mobilecohesion in forum General Messaging
    Replies: 0
    Last Post: 2005-06-14, 16:13
  2. User Guide for Nokia Developer's Suite for J2ME
    By ram_64892 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-06-23, 05:40
  3. Can't install Developers Suite Beta 0.3 for J2ME
    By Nokia_Archive in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-06-24, 13:50
  4. Replies: 2
    Last Post: 2002-06-24, 10:57
  5. Replies: 0
    Last Post: 2002-05-17, 02:29

Posting Permissions

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