×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    13

    Qt & Skyhook API

    Anybody know if it is possible to use the Skyhook LBS API with Qt Creator?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Qt & Skyhook API

    Quote Originally Posted by Ismb View Post
    Anybody know if it is possible to use the Skyhook LBS API with Qt Creator?
    it is possiable but you need to contact Skyhook

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    13

    Re: Qt & Skyhook API

    I downloaded the Core Engine SDK of skyhook and I followed the instruction to integrate the library into qt creator (http://www.skyhookwireless.com/devel...ntegration.php).

    So I compiled the wpsapitest.cpp example provided from skyhook but the compiler says me the following error: undefined reference to WPS_location.

    I think the linker doesn't find the implementation of the function but I linked the library in the .pro file:

    Code:
    SOURCES += \
        wpsapitest.cpp
    
    INCLUDEPATH += c:/QtSDK/Symbian/SDKs/Symbian1Qt473/epoc32/include/wpsapi.h
    
    LIBS += c:/QtSDK/Symbian/SDKs/Symbian1Qt473/epoc32/release/armv5/urel/wpsapi.lib
    
    symbian: {
        TARGET.EPOCALLOWDLLDATA = 1
    }
    Anybody know what is the problem?

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Qt & Skyhook API

    it should be like this

    Code:
    symbian: {
        TARGET.EPOCALLOWDLLDATA = 1
        LIBS += -lwpsapi
    }

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Qt & Skyhook API

    -- 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

  6. #6
    Registered User
    Join Date
    Dec 2010
    Posts
    13

    Re: Qt & Skyhook API

    I installed the final release of Qt SDK 1.1 and I understood that it contains a lot of API of Symbian C++, in order to develop mixing Symbian C++ and Qt languages.

    After compiling a short example, I get errors like this: undefined reference to RFile::Flush().

    The Using_Symbian_C++_in_the_Qt_SDK wiki, says that some API are not present in the Qt SDK, but there is no list.

    I think there are some missing library like imut.lib and ezlib.lib, but my sdk hasn't got those files. So I installed Symbian sdk but nothing changed.

    Any idea to solve the problem?

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Qt & Skyhook API

    Quote Originally Posted by Ismb View Post
    I installed the final release of Qt SDK 1.1 and I understood that it contains a lot of API of Symbian C++, in order to develop mixing Symbian C++ and Qt languages.

    After compiling a short example, I get errors like this: undefined reference to RFile::Flush().

    The Using_Symbian_C++_in_the_Qt_SDK wiki, says that some API are not present in the Qt SDK, but there is no list.

    I think there are some missing library like imut.lib and ezlib.lib, but my sdk hasn't got those files. So I installed Symbian sdk but nothing changed.

    Any idea to solve the problem?
    as the Symbian SDK and Qt SDK installs in different paths you need to copy from Symb SDK to your Qt SDK manually.

  8. #8
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: Qt & Skyhook API

    Quote Originally Posted by ltomuta View Post
    Very very good link indeed
    Keep it simple, stupid
    borg - http://store.ovi.com/content/116105

Similar Threads

  1. Qt Mobility API not working with Nokia Qt SDK + incomplete docs
    By remy_david in forum [Archived] Qt Mobility Project
    Replies: 15
    Last Post: 2011-06-10, 14:38
  2. Camera API missing from Qt SDK 1.1's Qt Mobility APIs
    By darkandchoco in forum [Archived] Qt Mobility Project
    Replies: 11
    Last Post: 2011-03-14, 11:15
  3. python + skyhook
    By szallah in forum Symbian
    Replies: 0
    Last Post: 2008-06-19, 18:48
  4. 可以通过电脑向手&
    By jllts2000 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2004-12-02, 10: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
  •