Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to install application in device
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.
leon.anavi last edited by
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
swhweng last edited by
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
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 ?
i am using following in my project.
/******in .pro file/
QT += core gui
TARGET.CAPABILITY += NetworkServices\ ReadUserData\ WriteUserData
/*************** and in .h & .cpp file***********/
plz tell me which one feature is not supported.
GentooXativa last edited by
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: https://bugreports.qt.nokia.com//browse/QTSDK-170
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