×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    14

    Question Qt and native Symbian C++ together - how to link libraries, include symbian headers

    Greetings,

    I'm currently developing an application for Symbian which forces me to use the native Symbian APIs because of the immaturity of the Qt Mobility APIs.
    I've already found the wiki page on how to use Symbian C++ and Qt together, but the problem is that I can't compile anything, because the headers or the libs required are not found.

    So, the real question is:
    - How do I link the required libs? (etel.lib etelmm.lib customapi.lib)
    - How do I include the required headers? (etelmm.h e32property.h RMmCustomAPI.h)

    I'm using the Qt SDK 1.1 Beta, which I believe includes the Symbian libs and headers

    Best regards

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Qt and native Symbian C++ together - how to link libraries, include symbian heade

    add code in your .pro like
    symbian: {
    TARGET.UID3 =
    TARGET.CAPABILITY = ALL -TCB
    TARGET.EPOCSTACKSIZE = 0x5000
    TARGET.EPOCHEAPSIZE = 0x20000 0x3000000
    LIBS += -lmgfetch -lbafl
    }

    note: symbian: {} the tag is not needed if you are compiling your code only for Symbian,
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Qt and native Symbian C++ together - how to link libraries, include symbian heade

    As usualy, the wiki has the needed info: http://wiki.forum.nokia.com/index.ph...2B%2B_Together (with example)
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    13

    Re: Qt and native Symbian C++ together - how to link libraries, include symbian heade

    Hi KKRISH,

    Can you tell me what are the properties available for the tag: symbian : { }. Can you send me a link which holds all the properties of this element please?

  5. #5
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Qt and native Symbian C++ together - how to link libraries, include symbian heade

    Check this link. You will get lots of elements.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

Similar Threads

  1. How to link a Symbian application using libxml2 headers in stdapis
    By felipemalmeida in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2010-11-17, 13:53
  2. Qt Creator and Symbian c++ together
    By lukin4that in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2010-11-16, 15:07
  3. Symbian ^3 0.8 and Qt 4.6.3 wont work together without patching wont link
    By jimgilmour1 in forum Tools and SDK Feedback (Closed)
    Replies: 3
    Last Post: 2010-07-20, 08:04

Posting Permissions

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