Mobile Video Surveillance (2)-Prototype Development-decorative QT on the prototype cross-platform Interface

Source: Internet
Author: User

1. The clients of the two operating systems have been completed. Now I will try to use some interface tools to modify it. SDL is of course a very simple interface library, but it is too troublesome to write the interface, the amount of code is too large, it is simply to re-write a set of interface library, because there is no interface control, window elements, manual encapsulation is feasible, but the workload is quite high.

2. Use the commonly used QT. Based on past project experience, QT is perfect on Mac, winodows, and Linux. (does the memory occupy a lot? Is it perfect in the world? No). Port it to wince/Symbian. Check the feasibility first. As far as I know, WinCE has a commercial version and can also compile the source code by myself. QT for Symbian now has a garden version, of course, a touch screen system such as 5800xm has the greatest significance, because QT re-code the interface, rather than keeping too many UI styles of each OS. We look forward to the future Symbian touch screen.

3. It is troublesome to compile QT for wince using the source code. You can refer to this article for more information on the Internet.

4. I used the QT for Windows tool to write the for Windows interface in vs2005, and then export the files that can be compiled by QT. the Pro project file is then compiled using CE's qmake, but exported in the middle. the Pro file and qmake cannot correctly identify some of the items. For example, to link other libraries, you must manually modify the MAKEFILE file in the middle.

5. After compilation is completed, you must use the module dependency tools to view the dependent libraries of the running files, and then find them one by one. Otherwise, if you put them on the mobile platform, an inexplicable error will be reported, for example, it is really nonsense to say "There may be missing components" and "insufficient memory,

6. Keep in mind that you 'd better put the QT Library and the Target Program of release, or your phone's memory will be insufficient. I encountered this situation several times and it took a lot of time to find out the cause.

7. After running the program, I found that the window style is really QT. If the window is too big to see the border, the operation can be performed correctly at. If there is no touch screen on Symbian, you will not be dizzy.

Today, we will first port the QT interface of the video monitoring client from the Windows platform to the wince platform. We will have time tomorrow to restructure the program architecture. And then start adding new features.

 

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.