Important: Please read the Qt Code of Conduct -

How to install application in device

  • hi,
    i am new in Qt.
    i have developed a simple "hello world" project of "Mobile Qt application".
    it work fine on Qt simulator.
    now i want to test it on Nokia Device.
    how i can install my project in device.
    please help.

  • Check this document about "creating mobile apps for Symbian and Maemo/MeeGo with Qt Creator":

  • Basically you need to add Mobile OS device to targets in Projects tab in Qt Creator , then select necessary build configuration in Edit Build Configuration drop down menu in the tab. Then build and run. You should see USB connection as COMX port in Qt Creator under device , run.

  • i have connect the device to pc.
    in target i have select the "symbian device-run".
    now when i click on run.
    then it show an error.

    :-1: error: Failed to find package 'D:/testfordevice/testfordevice_installer.sis': Package file not found

    how to solve this.
    plz show me the correct way to install application.

  • It will probably get solved if you clean the project, close it, re-import the .pro file in the Qt Creator and select as target platform a Symbian version.

  • thanks for reply,

    it create two .sis file.
    testfordevice.sis & testfordevice_installer.sis

    when i am try to install this testfordevice.sis file.
    it gives an error msg on device.

    unable to install .qt version 4.07
    newer is required.

    how to solve this issue.

  • As the message indicates, your device has installed a Qt version older than the one needed by your application. Since it automatically generates the _installer.sis then use that. It is a Smart Installer package which will first search for all the dependencies of your program, download any library missing and finally install your application.

    If you want it manually, go to the installation folder of the Nokia SDK in the Symbian SDKs and install the appropriate .sis file with the Qt version required ( for example the default path of what i mention is: C:\QtSDK\Symbian\sis\SymbianX\Qt\4.7.X ). Then try to install once again your application.

    The installer method is suggested since you will save time and effort. The only thing you need to take a look at is if your device supports the version of Qt you are going to use. For that we can help you if you reply with the model name.

    Any way try installer and get back.

  • thanks for reply.
    i have try _installer.sis.
    now new issue is there.
    a msg is show
    reverting changes
    then got a msg
    Device not supported.

    i am using Qt4.7.4
    Device is "N95 8GB".

  • N95 8Gb has S60 3rd Edition, Feature Pack 1. That is only supported by Qt 4.6. So your only option is to build your program against Qt 4.6.3. By default, the 4.6 version is not installed with Nokia SDK. You need to go in Qt Creator -> Help -> Start Updater -> Package Manager -> Development Tools -> Symbian Toolchains -> S60 5th -> Qt 4.6.3

    After it gets installed, go under the following path: "C:\QtSDK\Symbian\sis\S60_5th_Edition\Qt\4.6.3" and install Qt-4.6.3-for-S60v5.sis to your device. Now cross your fingers and hope that it works.

    Bare in mind that Qt 4.6 has less things compared to Qt 4.7 so if you are using one of those features, your program needs to be refactored to remove the dependencies.

  • Thanks dear for help.
    now i can install the project "testfoedevice" in device.

    i have an another application
    i can install this application.

    i am not getting the launching msg of application.
    and when i am try to launch the application.
    i am getting the msg.
    feature not supported.

    how to solve it ?

  • plz reply......

  • i am using following in my project.

    in .pro

    /******in .pro file/

    QT += core gui

    TARGET.CAPABILITY += NetworkServices\

    /*************** and in .h & .cpp file***********/

    #include <QWidget>
    #include <QObject>
    #include <QtNetwork/QNetworkReply>
    #include <QtNetwork/QNetworkAccessManager>
    #include <QFile>
    #include <QProgressDialog>
    #include <QProgressBar>
    #include <QMessageBox>
    #include <QFileInfo>
    #include <QDir>
    #include <QtCore>
    #include <QMovie>
    #include <QTimer>
    #include <phonon/mediaobject.h>
    #include <phonon/audiooutput.h>
    #include <Phonon/SeekSlider>
    #include <QLabel>
    #include <QString>
    #include <QList>
    #include <QMainWindow>
    #include <QtGui/QMainWindow>
    #include <QUrl>
    #include <QNetworkAccessManager>
    #include <QPushButton>
    #include <QtGui/QWidget>
    #include <QtGui/QApplication>
    #include <QtCore/QTimerEvent>
    #include <QtGui/QShowEvent>
    #include <QtGui/QIcon>
    #include <QtCore/QBasicTimer>
    #include <QtGui/QAction>
    #include <phonon/backendcapabilities.h>
    #include <phonon/effect.h>
    #include <phonon/effectparameter.h>
    #include <phonon/effectwidget.h>
    #include <phonon/seekslider.h>
    #include <phonon/videowidget.h>
    #include <phonon/volumeslider.h>
    #include <QKeyEvent>
    #include <QLineEdit>
    #include <QtXml/QXmlAttributes>
    #include <QTreeView>
    #include <QStandardItemModel>
    #include <QListWidget>
    #include <QtWebKit/QWebView>
    #include <Phonon/MediaObject>
    #include <phonon/MediaSource>
    #include <Phonon/VideoWidget>
    #include <Phonon>
    #include <QVBoxLayout>
    #include <phonon/mediasource.h>
    #include <QTime>
    #include <QtGui>
    #include <QPixmap>
    #include <QSplashScreen>
    #include "mainwindow.h"
    #include <QtCore/QCoreApplication>
    #include <QNetworkReply>
    #include <QNetworkRequest>
    #include <QStringList>
    #include <QBuffer>
    #include <QDesktopServices>
    #include <QFrame>
    #include <QtXml/QXmlInputSource>
    #include <QPushButton>
    #include <QHBoxLayout>
    #include <QDebug>
    #include <QBoxLayout>
    #include <QXmlInputSource>
    #include <QVector>

    plz tell me which one feature is not supported.

  • plz reply……

  • ReadUserData/WriteUserData need a developer certificate to sign the application.

    You can get a developer certificate to use it on your devices, check that link and follow the steps:

    I hope this help you.

  • You need to see the following:

  • hi,
    i have seen

    as per this i have used division.c in my project.
    now i can install & launch my application.

    but it gives following warning when creating .sis file.

    cc1.exe:-1: error: warning: command line option "-Wno-ctor-dtor-privacy" is valid for C++/ObjC++ but not for C

    cc1.exe:-1: error: warning: command line option "-fvisibility-inlines-hidden" is valid for C++/ObjC++ but not for C

Log in to reply