×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2011
    Location
    Venice, IT
    Posts
    8

    Question Qt plugins deployment on Symbian

    Hi all.
    I'm absolutely new to the Qt world, and I'm trying to do my best to learn how to do things...
    I’m writing an app that make use of maps. I would like to use OpenStreet Maps as service, and find out this plugins that seems to be a good one:
    http://xf.iksaif.net/dev/qtm-geoservices-extras.html
    I was also thinking about making my one but I think I could have the same problem...
    The problem is that I’m not able to figure out how to deploy an application on Symbian that make use that plugin…I've been able to use it on the simulator by compiling sources and copying the dlls in the right \plugins\geoservices directory in windows, but how to deply the plugin on a symbian app? It looks like many have been able to do that but I'm not able to find out an how to or something similar for this

    Any advice?

  2. #2
    Registered User
    Join Date
    Nov 2008
    Location
    Chile
    Posts
    21

    Re: Qt plugins deployment on Symbian

    Hi,
    you shouldn't copy by hand a lib.

    Add to your project .pro file something like this:

    *******

    include(../relative/path/to/geoservices/lib/common.pri)

    *******

    Then qmake, rebuild. That should take care of buil the lib for winscw or symbian armv5.
    --
    Pablo

  3. #3
    Registered User
    Join Date
    May 2011
    Location
    Venice, IT
    Posts
    8

    Re: Qt plugins deployment on Symbian

    Hi pablopoo, thanks for your answer!
    So, I have a project made with QtCreator. The actual folder tree is something like this:
    Project folder
    |_ myproject.pro
    |_ some .cpp, .h .qrc.ui,... files
    |_ plugins directory
    |_ geoservices directory
    |_ common.pri, config.pri, qtm-geoservices-extra.pro files taken from the project of osm plugin on the first post
    |_ openstreetmap folder with .h and .cpp files of the project of the plugin

    On the myproject.pro file I have add the following line:
    include(plugins/geoservices/common.pri)

    But when I do
    foreach(QString s, QGeoServiceProvider::availableServiceProviders()) {
    qDebug() << s;
    }

    the only plugin written on the output is "nokia"

  4. #4
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Qt plugins deployment on Symbian

    Check out the DEPLOYMENT keyword in .pro file syntax.

Similar Threads

  1. Query on QT plugins
    By g.rkreddy in forum Qt
    Replies: 0
    Last Post: 2010-12-17, 15:41
  2. Deployment of Qt application on latest Nokia Mobile
    By dedamas in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-01-23, 12:08

Posting Permissions

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