×

Discussion Board

Results 1 to 10 of 10

Hybrid View

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

    How to use Qt Creator for creating maemo applications

    I am working in a new project for Maemo and I would like to create my Qt application using desktop version of Qt Creator and only recompile this application inside scratchbox. However, when I tried to do this, I discovered that I had different versions: Latest Qt SDK (PC) is based on Qt 4.6 and moc compiler inside scratchbox can not compile my .ui file (it is based on Qt 4.5).

    I would like to hear some suggestions from you. What is the best alternative ? Is there any other alternative ?

    a) Install SDK 4.5 and configure Qt Creator for it (for desktop)
    b) Update Qt SDK inside scratchbox to 4.6 (is it possible?)
    c) Recompile Qt Creator for scratchbox (no, thanks)
    d) Configure Qt Creator to use scratchbox SDK (is it possible?)
    e) Create my UI by hand, not using Qt Creator
    f) Other option, much better and far from my weird ideas

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

    Re: How to use Qt Creator for creating maemo applications

    This topic addresses the same issue:
    http://discussion.forum.nokia.com/fo...d.php?p=693340

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

    Re: How to use Qt Creator for creating maemo applications

    Thanks Daniil. I'd searched only for "Qt Creator scratchbox" in Forums.

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

    Re: How to use Qt Creator for creating maemo applications

    Quote Originally Posted by marcelobarrosalmeida View Post
    Thanks Daniil. I'd searched only for "Qt Creator scratchbox" in Forums.
    Antonio also wrote about using Qt Creator for Maemo development:
    https://garage.maemo.org/pipermail/q...il/000385.html
    (note, maemo.org is on maintenance today, so the link doesn't open, use Google cache to check it or wait until end of the maintenance).

    Apart from that, most of the Linux distribution has Qt 4.5.x as Qt 4.6 is still unstable, so you can install your distribution Qt packages to implement plan a).

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

    Re: How to use Qt Creator for creating maemo applications

    Quote Originally Posted by divanov View Post
    Antonio also wrote about using Qt Creator for Maemo development:
    https://garage.maemo.org/pipermail/q...il/000385.html
    (note, maemo.org is on maintenance today, so the link doesn't open, use Google cache to check it or wait until end of the maintenance).

    Apart from that, most of the Linux distribution has Qt 4.5.x as Qt 4.6 is still unstable, so you can install your distribution Qt packages to implement plan a).
    Thanks again, Daniil. In fact, it was this email from Antonio that inspired me to write this thread
    I will test alternatives a and b, at least. They seem easier and less time consuming.

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

    Re: How to use Qt Creator for creating maemo applications

    I followed all instructions for Fremantle and my app is running in the emulator (X86 target) and compiling for ARMEL target. I tried to copy it to N900 and run it but I have a segmentation fault. Before exploring the problem, I tried to install the same libs I am using at PC:

    Code:
    Nokia-N900-44-1:~# apt-get update
    Nokia-N900-44-1:~# apt-get remove libqt4*
    Nokia-N900-44-1:~# apt-get install libqt4-maemo5-dev
    But it generates some dependency errors:

    Code:
    The following packages have unmet dependencies:
      libqt4-maemo5-dev: Depends: libgles2-sgx-img-dev but it is not installable
                         Depends: opengles-sgx-img-common-dev but it is not installable
                         Depends: libsqlite3-dev but it is not installable
    However, these packages are not available:

    Code:
    Nokia-N900-44-1:~# apt-cache search libgles2-sgx-img
    libgles2-sgx-img - OpenGL ES 2.0 SGX library
    opengles-sgx-img-common - PowerVR SGX support libraries
    
    Nokia-N900-44-1:~# apt-cache search libsqlite3       
    libsqlite3-0 - SQLite 3 shared library
    For N900, do we really need dev packages instead only libs ? Tips for solving this problem ?

    PS: My source list:

    Code:
    Nokia-N900-44-1:~# cat /etc/apt/sources.list.d/hildon-application-manager.list  
    deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./ 
    deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./ 
    deb https://downloads.maemo.nokia.com/fremantle/ovi/ ./ 
    deb http://repository.maemo.org/extras/ fremantle free non-free
    deb-src http://repository.maemo.org/extras/ fremantle free non-free
    deb http://repository.maemo.org/extras-devel/ fremantle free non-free
    deb-src http://repository.maemo.org/extras-devel/ fremantle free non-free
    deb http://repository.maemo.org/extras-testing/ fremantle free non-free
    deb-src http://repository.maemo.org/extras-testing/ fremantle free non-free

Similar Threads

  1. Some basic questions for QT with Maemo
    By smehta_ce in forum Nokia N9
    Replies: 5
    Last Post: 2009-12-18, 12:21
  2. Job Posting: Graphical Applications Developer, Cambridge, MA
    By kevin_e_schmidt in forum News and Announcements
    Replies: 0
    Last Post: 2009-11-06, 16:24

Posting Permissions

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