Qt for s60 Nokia

Source: Internet
Author: User
Tags qt designer

This article from: http://bbs.dospy.com/thread-5367514-1-245-1.html

 

5800 QT all effect demonstration effect is powerful !!! Download the QT software !!!

Someone has posted this before. Now I want to integrate all the demo videos.
Http://v.youku.com/v_show/id_XMTIxOTUzOTIw.html

Http://v.youku.com/v_show/id_XMTA4MzMwOTg0.html
Http://v.youku.com/v_show/id_XMTA4MzMxMjQ4.html
Http://v.youku.com/v_show/id_XMTA4MzYwMTM2.html
Http://v.youku.com/v_show/id_XMTA3Njg1MjYw.html
Http://v.youku.com/v_show/id_XMTA3Njg1MjYw.html
Http://v.youku.com/v_show/id_XMTA3Njg1OTU2.html
Http://v.youku.com/v_show/id_XMTA4MzMyMjgw.html

Qt Installation Guide
Http://v.youku.com/v_show/id_XMTA3Njg1OTU2.html
Http://v.youku.com/v_show/id_XMTA3Njg1OTU2.html

Install qtfrom Forum Nokia wiki on s60

Contents [hide]
    1 Development Environment: 2 install ide: 3 install sdks: 4 download qt sdk. 5. decompress the qt sdk. 6. Configure environment variables: 7. Configure QT for s60. 8. Compile QT for s60. 9. Run QT application 10 troubleshooting on real devices. 11. tutorials and Useful Links

  • 12 related links

Development Environment: You need a Windows PC. Currently, the s60 Development Environment on Windows XP and Windows Vista is the best supported. Check whether your PC meets the requirements of the PC environment.
Install ide: You must install at least one of the following Ides on your machine to develop the QT for s60 application.

1) carbide. c ++ v2.0.0 or later
You need carbide. c ++ v2.0.0 or later for Qt for s60 development. Qt support has been integrated into carbide. c ++, so you can read the. Pro file and use the built-in QT designer function to develop the user interface. The carbide. c ++ release also includes compilers used to build s60 simulators running on a PC, rather than applications deployed on the phone.

2) Qt creator ide
You can download QT creator from here.
To install sdks, you must install the following SDK:
1) s60 Platform SDK 3rd edition FP1 or later
You need an s60 SDK that matches the phone number you want to develop. The SDK includes documents, header files, library files of the s60 platform, and tool chains for building s60 applications based on C ++. It also includes the s60 device simulator, which allows you to test applications before deploying them over the phone.

2) Open C/C ++ for s60 3rd edition
Open C library is pre-installed on phones based on s60 3rd edition Feature Pack 2 and later. However, some bugs are fixed after the pre-installed version, so we recommend that you update it to the latest version. You can download the latest library installation package from Forum Nokia.

The phone number based on s60 3rd edition Feature Pack 1 is not pre-installed with the Open C library and the SDK is not pre-installed. Therefore, you must install these packages before using QT for s60. See installing s60 3rd edition Feature Pack 1.

Note:The wsini. ini file provided with s60 Platform SDK 5th edition v0.9 needs to be updated to solve the font rendering problem on the simulator. You can find updates here.

Download the qt sdk. A dedicated release package of QT 4.5 has been transplanted to s60. This release contains a set of pre-compiled binary files so that you do not need to compile QT from the source code. Download QT 4.5 for s60
Decompress the QT sdk.qtdistribution package to A. Zip compressed file. decompress the file to the directory where you want to install QT, for example, C:/QT /. The directory name after decompression is very long. After decompression, you may want to change it to a shorter one, for example:C:/QT/4.5.0-garden
Note 1:The QT installation disk must be the same as the drive letter of the s60 Platform SDK.NOTE 2:The installation path cannot contain any space.
Configure environment variables: Set environment variables for QT. Add C:/QT/4.5.0-garden/bin to the PATH variable. Assume that your bin directory is in C:/QT/4.5.0-garden/, on windows, path can be expanded by opening "Control Panel-> system-> advanced-> environment variable.
In addition, you must configure the environment to use the s60 simulator: Find the carbide. c ++ sub-menu in the Start menu, and then select "Configure environment for winscw command line ".

Configure QT for s60. to configure QT for s60, go to the./QT/4.5.0-garden directory and run the following command.
C:/QT/4.5.0-garden> Configure-platform win32-mwc-xplatform Symbian-abld as for other options, type configure-help to get a list of all available options.
Note:The default SDK is used to compile configuration and compilation commands. If you have installed Multiple s60 sdks, You need to compile the QT simulator versions for each SDK separately. Run the devices command to obtain the list of installed sdks. The default SDK is marked with "default. To change the default SDK, run the following command:Devices-setdefault @ <full_sdk_id>Here, full_sdk_id is the full name of the SDK listed when you run devices.
Compile QT for s60. the QT library on the real machine is pre-compiled. If you use s60 SDK of 3.x, installC:/QT/4.5.0-garden/qts60binaries/3.x/ qtlibs-4.5.0-garden.exeGo to the root directory of your s60 SDK (double-click this EXE and provide the full path), for example:C:/Symbian/9.2/s60_3rd_fp1_2/. If you use s60 SDK version 5.0, installC:/QT/4.5.0-garden/qts60binaries/5.0/qtlibs-4.5.0-garden.exeTo the s60 SDK root directory, for example:C:/s60/devices/s60_5th_edition_sdk_v0.9/
Compile QT for the simulator and input:
Make debug-winscw
Before running the QT application on a real device to run the QT application on a real machine, you must install pre-compiled and signed QT dynamic library binary files. These files are provided with the qt sdk (Qt_libs_armv5_udeb. sisx). You canC:/QT/4.5.0-garden/qts60binaries/3.xOrC:/QT/4.5.0-garden/qts60binaries/5.0Directory.
Now you can install your own application on the real machine.
Troubleshooting
Problem:Command 'configure-platform win32-mwc-xplatform Symbian-abld 'failed, error: qmake failed, return code 255.

Possible causes:In some cases, the path order in the path may cause some errors.

Solution:Try to move the bin folder of QT to the beginning of path, and move the carbide command line tool to the second one.

Problem:The error qtmain. Lib not found occurs during installation.

Possible causes:The SDK configuration may be incorrect.

Solution:Set the SDK you want to install QT for s60 to the default, and then run the 'configure-platform win32-mwc-xplatform Symbian-abld 'command from C:/qts60/4.5.0-garden '. Install the binary file in the correct location and run the 'Make debug-winscw' command from C:/qts60/4.5.0-garden '.

Problem:The compilation configuration of the simulator cannot be found.

Possible causes:It may be that you have not set the correct default device during installation.

Solution:You must set the correct default device before configuring and compiling QT.

Problem:The application cannot be opened on the real machine, or a warning occurs during the installation of component 'qtlibs pre-release' missing. Continue anyway?

Possible causes:The pre-compiled qt dll binary file with qt sdk is not installed.

Solution:Install 'qt _ libs_armv5_udeb. sisx' to the target device. You can find it in the installation package (for example, 'c:/QT/4.5.0-garden/qts60binaries/3. x' or 'C:/QT/4.5.0-garden/qts60binaries/100 ').
Tutorials and useful links this information comes from the following sites:

  • Installing QT on s60
  • Installing the s60 Platform SDK

To sum up the installation method, download the following installation package, without a signature !!!
Qt software download: http://pepper.troll.no/s60prereleases/qt-demos. Sis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.