Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to install application in device
Forum Updated to NodeBB v4.3 + New Features

How to install application in device

Scheduled Pinned Locked Moved Mobile and Embedded
16 Posts 5 Posters 6.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leon.anavi
    wrote on last edited by
    #2

    Check this document about "creating mobile apps for Symbian and Maemo/MeeGo with Qt Creator":http://doc.qt.nokia.com/qtcreator-2.0-snapshot/creator-mobile-example.html#testing-on-a-symbian-device

    http://anavi.org/

    1 Reply Last reply
    0
    • S Offline
      S Offline
      swhweng
      wrote on last edited by
      #3

      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.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hitesh
        wrote on last edited by
        #4

        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.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          favoritas37
          wrote on last edited by
          #5

          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.

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hitesh
            wrote on last edited by
            #6

            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.

            1 Reply Last reply
            0
            • F Offline
              F Offline
              favoritas37
              wrote on last edited by
              #7

              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.

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hitesh
                wrote on last edited by
                #8

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

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  favoritas37
                  wrote on last edited by
                  #9

                  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.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hitesh
                    wrote on last edited by
                    #10

                    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 ?

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      hitesh
                      wrote on last edited by
                      #11

                      plz reply......

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hitesh
                        wrote on last edited by
                        #12

                        i am using following in my project.

                        in .pro

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

                        QT += core gui
                        xml
                        network
                        phonon
                        webkit

                        TARGET.CAPABILITY += NetworkServices\
                                             ReadUserData\
                                             WriteUserData
                        

                        /*************** 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.

                        1 Reply Last reply
                        0
                        • H Offline
                          H Offline
                          hitesh
                          wrote on last edited by
                          #13

                          plz reply……

                          1 Reply Last reply
                          0
                          • G Offline
                            G Offline
                            GentooXativa
                            wrote on last edited by
                            #14

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

                            http://www.developer.nokia.com/Community/Wiki/Capabilities

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

                            http://www.developer.nokia.com/Community/Wiki/Developer_Certificate_(Symbian_Signed)

                            I hope this help you.

                            Jose Vicente Giner Sanchez - Senior Mobile Developer

                            www.gigigo.com

                            C/ Dr. Zamenhof 36bis, 1ºA 28027 Madrid
                            T: +34 917431436

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              favoritas37
                              wrote on last edited by
                              #15

                              You need to see the following: https://bugreports.qt.nokia.com//browse/QTSDK-170

                              1 Reply Last reply
                              0
                              • H Offline
                                H Offline
                                hitesh
                                wrote on last edited by
                                #16

                                hi,
                                i have seen https://bugreports.qt.nokia.com//browse/QTSDK-170

                                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

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved