QT4: Developing QT applications with eclipse
Let's look at the overall image first.
Eclipse This IDE I think it's a very recent hit, especially in Java development, and NetBeans. Not only can it be used as a Java integrated development environment, it is also capable of of integrated development. Funny company is to provide a special integration tool, so that it can carry out the development of QT. Let me introduce you to the use of this tool.
Compared with qdevelop eclipse does not use ctags as a code hint tool, so it is faster and consumes less CPU resources as it prompts for code. And the hints in eclipse are more accurate and complete.
1. Download the software:
1 Eclipse's downloads can go to Eclipse's website. Address: Http://www.eclipse.org/downloads.
Note: It is best to download with the CDT plug-in package to avoid trouble. For example, I'm eclipse-cpp-europa-fall2-win32.zip.
2) Download Qt's Eclipse consolidation tool: File name: Qt-eclipse-integration-win32-1.0.0.exe
Download Address: Http://trolltech.com/developer/download/qt-eclipse-integration-win32-1.0.0.exe If you want the latest, please go to the homepage of the fun company to download: http:// Www.trolltech.com
2. Software Installation
1. Eclipse is available for immediate decompression, unzip it to the C:/eclpose folder
2. Integration is a direct installation of the executable file, the installation process will ask the location of Eclipse, specify a c:/eclipse on it.
3. Start of software:
Start--> program-->QT Eclipse integration-->start Eclipse with MinGW
4. Import of existing projects:
You cannot open QT engineering by double-clicking the project file Pro
The method is: File-->import Open the Project Import dialog box to complete as required
5. Imported items cannot be debugged and executed immediately, only code is written.
If you want to execute the project method:
1.run--> Open Run dialog fill in the relevant information for this project
6. Common shortcut keys:
1) Fast Save: Ctrl+s
2) Fast running: ctrl+b