This is the fundamental and basic article of Qt for s60. This article gives knowledge of how to install Qt package in the computer. Also this article shows step wise process in carbide c++. The steps in carbide C++ are given with picture which is very useful and consume less time to understand. Also this article include basic program for using push button and text inside Qt.
Contents |
I installed everything as described, but after opening the .ui file, the QT-Designer Plugin gets out with a Nullpointer. I Installed the QT Eclipse Intergration also, with nor effect.. The Default QT Version is correct, but just the Designer doesnt du his job. Has anyone seen this before?
java.lang.NullPointerException at com.trolltech.qtcppdesigner.views.embedded.FormWindowW.addFormWindowWListener(FormWindowW.java:356) at com.trolltech.qtcppdesigner.editors.UiEditor.createPartControl(UiEditor.java:102) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) ... at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
____________________________________________________________________
Hi,
I created a sample Hello program in QT as per given in GETTING STARTED WITH QT FOR S60
i follwed the steps correctly.
and when i build using armv5, showing error.
cannot find file: E:\symbian\S60_5th_Edition_SDK_v0.9_3\epoc32\release\armv5\udeb\Hello.exe
Can you help me with this...
Thanks&Regards, Bala
E:\symbian\S60_5th_Edition_SDK_v0.9_3\epoc32\release\gcce\urel\Hello.exe
--Kiran10182 22:13, 25 February 2009 (EET)
hi, i'm following step by step to install Qt. but after installing qt when i enter "bldmake bldfiles" in ther cmd mode, i see this message:
"To use Symbian OS tools without specifying a device name, a default device must be set using the devices -setdefault command."
please help me!
--Kiran10182 12:03, 3 March 2009 (EET)
I installed s60_3rd_fp1_2 SDK, i install every things in the help step by step when i use devices commande in the cmd, there is no any devices, but i intall s60_3rd_fp1_2 sdk in the c:\symbian\9.2\s60_3rd_fp1_2\ i create a new device by this command: "devices -add C:\Symbian\9.2\S60_3rd_FP1_2 C:\Symbian\9.2\S60_3rd_ FP1_2\S60Tools @'1:s60_3rd_fp1_2'" and make this device default by this: "devices -setdefault @'1:s60_3rd_fp1_2" now when i use the "bldmake bldfiles" in the cmd i see this message: "Sorry, \epoc32\tools\bldmake.bat is not supported in this release. Please use a different device. Use 'devices' to view the available devices."
Hello First Check your devices.xml page. This is the Page which contains important information about your SDKs. You can find this file at "c:\\Program Files\\Common Files\\Symbian".
The devices.xml page contains some information like your device id and epocroot. After getting this file open your carbide go to "windows-->Preferences-->Carbide C++ -->SDK Preferences"
Now here you can add your SDK manually by entering the information like SDK id and EPOCROOT from the devices.xml.
After doing this check using the command Devices and open the default device using epoc.
Hope now this helps you.
Gargi Das
Hello Gargi Das Thanks. at first after I installes SDK, Carbide.c++, QT and others... when i type in the cmd "devices" i didn't have any device. I added manually my device: devices -add C:\Symbian\9.2\S60_3rd_FP1_2 C:\Symbian\9.2\S60_3rd_FP1_2\S60Tools @1:s60_fp1_fp2
this is my devices.xml:
<?xml version="1.0" ?>
- <devices version="1.0"> - <device id="1" name="s60_3rd_fp1_2" default="yes" userdeletable="yes">
<epocroot>C:\Symbian\9.2\S60_3rd_FP1_2</epocroot> <toolsroot>C:\Symbian\9.2\S60_3rd_FP1_2\S60Tools</toolsroot> </device> </devices>
these are informations of the device which i added manually In the carbide I have this SKD. I have another promblem for recommend QT bin path to carbide.c++, when I go to the Windows->preferences->QT->Add i set version name: 4.4.4 , Bin Path: C:\Qt\4.4.4-temple\bin , Include path: C:\Qt\4.4.4-temple\include. but i see this message: "Bin Path is invalid"
Please Help me !!!
--Kiran10182 10:28, 4 March 2009 (EET)
Yes, I checked it, It's realy C:\Qt\4.4.4-temple I extarced qt-embedded-s60-commercial-src-4.4.4-temple.zip in this folder.
I downloaded QT 4.4.4 for s60 from : http://pepper.troll.no/s60prereleases/packages/qt-embedded-s60-commercial-src-4.4.4-temple.zip
Hi, I have only this files in c:\qt\4.4.4-temple\bin\ :
build_bin_package.pl createpackage.bat findtr patch_capabilities.pl syncqt syncqt.bat
I don't have qmake, moc, etc.
I downloaded Qt 4.4.4 for s60 from http://pepper.troll.no/s60prereleases/packages/qt-embedded-s60-commercial-src-4.4.4-temple.zip
when i want to configure Qt for S60 by: configure -platform win32-mwc -xplatform symbian-abld -qconfig symbian
at the end i see this page:
"Running syncqt... Can't find syncqt on PATH. Creating qmake... mwccsym2 -gccinc -stackcommit 1024000 -stackreserve 1024000 -w all -w nonotused -w nonotinlined -w noimplicit -w nopadding -w noemptydecl -w nounusedexpr -c -o project.o -O -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\ mac -Igenerators\symbian -IC:\Qt\4.4.4-temple\include -IC:\Qt\4.4.4-temple\inclu de\QtCore -IC:\Qt\4.4.4-temple\include -IC:\Qt\4.4.4-temple\include\QtCore -IC:\ Qt\4.4.4-temple\src\corelib\global -IC:\Qt\4.4.4-temple\mkspecs\win32-mwc -DQT_N O_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -DQT_NODLL -D QT_NO_STL -DQT_NO_COMPRESS -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -D QT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -IC:\Qt\4. 4.4-temple\include\QtScript -IC:\Qt\4.4.4-temple\corelib\xml -DQT_BOOTSTRAPPED p roject.cpp process_begin: CreateProcess((null), mwccsym2 -gccinc -stackcommit 1024000 -stac kreserve 1024000 -w all -w nonotused -w nonotinlined -w noimplicit -w nopadding -w noemptydecl -w nounusedexpr -c -o project.o -O -I. -Igenerators -Igenerators\ unix -Igenerators\win32 -Igenerators\mac -Igenerators\symbian -IC:\Qt\4.4.4-temp le\include -IC:\Qt\4.4.4-temple\include\QtCore -IC:\Qt\4.4.4-temple\include -IC: \Qt\4.4.4-temple\include\QtCore -IC:\Qt\4.4.4-temple\src\corelib\global -IC:\Qt\ 4.4.4-temple\mkspecs\win32-mwc -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE _COMPONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DHAVE_QCONFIG_C PP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_ DATASTREAM -DQT_NO_LIBRARY -IC:\Qt\4.4.4-temple\include\QtScript -IC:\Qt\4.4.4-t emple\corelib\xml -DQT_BOOTSTRAPPED project.cpp, ...) failed. make (e=2): The system cannot find the file specified. C:\Symbian\9.2\S60_3rd_FP1\epoc32\tools\make.exe: *** [project.o] Error 2 Creating makefiles in src... Generating Makefiles... execute: File or path is not found (C:\Qt\4.4.4-temple\bin\qmake) Qmake failed, return code -1"
every one can solve my problem please?
For all having problems like the one above - add bin folder from Qt installation to your PATH. Go look on the web how to do it. This is part of developing application so you should know it. Reading error messages also. --Warjan 22:52, 2 September 2009 (UTC)
This article explained all the steps (with image) to create simple application in Qt for Symbian, after successful installation. Basic step to install and start developing application are explained graphically, like how to add Qt version to carbide and how to create new projects. Article also explained how to use signal and slot mechanism to for communication between incompatible objects. A beginner must read these steps to successfully develop an application in Qt S60.
--kamlesh sangani 14:52, 4 September 2009 (UTC)
Article is a tutorial of creating first simple Qt for S60 application. I like that there are a lot of pictures. One is missing though.
It's nice to see that application code is attached to article - this makes it even easier to get a working app. I also see that author is committed to his work by helping his peers with getting the code running.
Overall good howto. --Warjan 22:52, 2 September 2009 (UTC)
Easy and illustrated article teaching to start with Symbian QT for S60. Very compreensive, I recommend.
This Article is such a nice for beginner..
I Really thank to the creater of this article..
This article is for beginners who want to start development. This article explained all the steps to create simple application in Qt for Symbian. It's nice to see that application code is attached to article. [[--Fasttrack 14:22, 11 September 2009 (UTC)]]