Initial trial of open-source project development-initial compensation QT Project Development

Source: Internet
Author: User

Recently, I like QT project development, not only because of its cross-platform and other features, but also its convenience and my curiosity about mobile phone development, so I started the QT path after work. As the saying goes, everything is difficult at the beginning. It is a bit true. For QT development, it takes a week to build a development environment.

Start by opening the QT homepage of Nokia to download the SDK. Windows, Linux, and Mac sdks are available on various platforms. The current version is 4.6.3. It is great to develop C ++ by yourself using vs2008. Qt provides the vs2008 SDK. Fortunately, you can seeVisual Studio add-inNeedless to say, it must be an integrated plug-in with vs. OK. Download it directly.

Then, install qtsdk for vs2008 and then vs addin. After the installation is complete, there will be an extra QT menu in vside. When creating a project, there will also be more options for qt4 projects. It is very easy to do QT development in. However, only desktop can be created.ProgramDevelopment. To develop a program under symbianos, it seems that there is no Symbian simulator. Because your mobile phone is symbianos, You can't google it. However, this information is rare.

Finally, I found a document on my official wiki:

Install the QT Symbian Development Environment

How to install wiki is quite clear. However, I would like to mention the following points:

1. Many components are required for installation:

JRE
ActivePerl
Symbian SDK
Carbide. c ++
Symbian s60 SDK
Open C/C ++
Qt for Symbian SDK

Because open-source software is rarely used for development, the new component version is always better than the old one. So I chose a new version for downloading ActivePerl, but the problem is that the subsequent installation script cannot be executed? Dizzy. You have to wait for version 5.6.1, and the subsequent installation will be normal.

2. installation path

When the Symbian s60 SDK is installed, the file is automatically prompted to install in c: \ s60 \ devices \.... Because I want to install s60 Version 3 and s60 version 5th. Therefore, we naturally want to separate them, so we changed the path to D: \ s603rd \ s60 \ devices and D: \ s605td \ s60 \ devices. As a result, the simulator cannot be started. Then I uninstalled and reinstalled it. After a few twists and turns, I changed the drive letter according to the original path, and it was OK. It's really speechless ..

The above is my own interface.

 

Summary:

The most terrible issue in the development of open-source software is the development environment. There are many components, and there is no good integration. It is very troublesome to build the environment. The same is true when I used to learn java. If the component version is incorrect, a problem may occur. In addition, a higher version of a component may not be compatible with another component. It must be a one-to-one correspondence. If a component has a new version, you must wait for the corresponding version of other related components, or you still cannot use the new features of the component. This problem rarely occurs in the integration environment of PS and Ms. Generally, the higher version is compatible with the lower version.

 

 

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.