Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor waelfarouk's Avatar
    Join Date
    Jan 2009
    Posts
    171
    Dear All,
    We are trying to start with QT some application with GPS

    The application is working fine
    but when we try to location code to the application we get this error "Could not start application: General OS-related error"

    it happen when we add this code

    locationA = QGeoPositionInfoSource::createDefaultSource(this);

    if (!locationA) {
    ui->label->setText("location fail");



    }
    else
    {
    ui->label->setText("location ok");


    locationA->setUpdateInterval(15000);

    connect(locationA, SIGNAL(positionUpdated(QGeoPositionInfo)),
    this, SLOT(positionUpdated(QGeoPositionInfo)));

    locationA->startUpdates();


    }

    Kindly advice

  2. #2
    Regular Contributor waelfarouk's Avatar
    Join Date
    Jan 2009
    Posts
    171
    Problem Resolved by installing QtMobility
    but i have a concern how come N8 does need QtMobility ?/ i was assume it is installed on mobile?
    Will this happen with end user when try to install my application??


    Regards
    Wael

Similar Threads

  1. Replies: 6
    Last Post: 2011-02-28, 11:28
  2. Could not start application: General OS-related error
    By adi007me in forum [Archived] Qt Mobility Project
    Replies: 23
    Last Post: 2010-12-02, 17:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved