×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    error on run app on device:Could not start application: General OS-related error

    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
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: error on run app on device:Could not start application: General OS-related error

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