Qt4: Use eclipse to develop QT applications
Let's take a look at the overall image.
Eclipse is a great ide. It is especially difficult to get started with netbeans, especially in Java development. it not only serves as an integrated development environment for Java, but also supports integrated development of C/C ++. qiququ also provides a dedicated integrated tool for its development of QT. the following describes how to use this tool.
Compared with qdevelop, eclipse does not use ctags as a code prompt tool. Therefore, code prompts are faster and fewer CPU resources are occupied. In addition, the prompt content in eclipse is more accurate and complete.
1. download the software:
1) eclipse download, you can go to the eclipse website. Address: http://www.eclipse.org/downloads.
Note: It is best to download a CD plug-in package without any trouble. For example, my next example is eclipse-cpp-europa-fall2-win32.zip.
2) download QT eclipse integration tool: File Name: qt-eclipse-integration-win32-1.0.0.exe
: Bytes
2. Software Installation
1). eclipse can be directly decompressed for use and decompressed to the C:/eclpose folder.
2). Integration is an executable file for direct installation. During the installation process, you will be asked about the location of eclipse and you can specify C:/eclipse.
3. software startup:
Start --> program --> QT eclipse Integration --> Start eclipse with mingw
4. Import existing projects:
You cannot double-click the project file pro to open the QT project.
The method is file --> Import. Open the project import dialog box and complete it step by step as required.
5. The imported project cannot be debugged and executed immediately. You can only write code.
If you want to run the project by using the following methods:
1. Run --> open run dialog fill in the relevant information of the project
6. Common shortcut keys:
1) Save quickly: Ctrl + S
2) Quick run: Ctrl + B