Enable Qt Creator to support Windows Phone 8 Development and qtcreator

Source: Internet
Author: User

Enable Qt Creator to support Windows Phone 8 Development and qtcreator

Enable Qt Creator to support Windows Phone 8 Development

 

Recently, QtCreator3.2 has fixed some bugs, which are better than the previous version 3.1.2. The previous version (which comes with Qt for WinRT) has some bad packaging problems. So today I download this IDE and try it. At first, I wanted to set the development environment for Windows Phone 8, but it was never set up successfully. Finally, I found a way to use this method to smoothly set up Qt Creator that supports the Windows Phone 8 development environment.

Open Qt Creator. At first, no devices except the desktop devices were found.

However, I have read that the Qt Creator provided by Qt forWinRT can display the installed Windows Phone and Windows Phone Emulator devices. Why?

The original function was to create a folder in the built-in QtCreator, and a folder named QtProject in the $ {QTCREATOR}/share/qtcreator folder. The newly installed QtCreator does not exist. The solution is to copy and paste the built-in folder to the corresponding location of the newly installed Qt Creator. Start the newly installed Qt Creator, and the corresponding device will be available:

Then you need to open a platform Plug-In winrt of QtCreator. Here:

Restart and enable QtCreator. Both "option build and run build Kit (Kit)" and "QtVersions" correctly set the Windows RT/Windows Phone version of Qt.

The function of the winrt plug-in is the same as that of the Android plug-in. It is used to automatically set the Qt version and build the suite. Once enabled and the device is ready, the Qt version and build suite are automatically generated.


What are the differences between the QT Creator development environment and the QT library?

Creator is a development environment that integrates some development tools for convenient development. If there is no development environment, compile and debug it in the command line. The Qt library is encapsulated code that can be called directly. When writing the Qt program, you need to include the required library.

How to run the QT program designed on QTCREATOR ON THE DEVELOPMENT BOARD

My personal suggestion: Use QT creator for development in linux, and then add the Qmake and ARM cross compilers of the QT version you need in the environment settings of QT creator, in this way, the DEBUG file can be placed on the development board. Wish you success.

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.