eclipse 下 QT 开发环境的搭建

Installation and Uninstallation

Dependencies

You need Eclipse version 3.2.1 or newer and the CDT plugin version 3.1.1 or newer to run the Qt integration plugin successfully. Both are available for download from the Eclipse project at:

http://www.eclipse.org/downloads and

http://www.eclipse.org/cdt/downloads.php

Installation on Linux

  1. Download the Qt Eclipse Integration package corresponding to your Linux distribution.

    For older gcc 3.3 systems like Ubuntu 5.04, Red Hat WS 4 or SuSE 9.3, use the package with "gcc3.3" after the version number. The other package is for newer systems like Ubuntu 6.06, SuSE 10 or Fedora Core 6.

  2. Find your eclipse/plugins folder.

    If you installed Eclipse to /usr/local, you will find the directory /usr/local/eclipse/plugins there. If you used the package management system of your Linux distribution to install Eclipse, this directory might possibly be /usr/lib/eclipse/plugins.

  3. Unpack the package.

    Go to the location where you found the eclipse/plugins directory (i.e., /usr/local or /usr/lib in the example above) and untar the Qt Eclipse Integration package; e.g.

     cd /usr/local
     tar xzf ~/Downloads/qt-eclipse-integration-linux.x86-<version>.tar.gz

    You may need to be the root user to do this.

  4. Start Eclipse with a clean configuration.

    We highly recommended that you start Eclipse once from the command line with

     eclipse -clean

    after you have unpacked the Qt Eclipse Integration plugins and feature. This will not change anything in your workspace but will clear Eclipse's caches.

Uninstallation on Linux

  1. Remove the installed plugins and feature.

    Go to the location where you installed the Qt Eclipse Integration package; e.g., /usr/local/eclipse or /usr/lib/eclipse, and remove all files/directories in plugins/ and features/ that start with com.trolltech.qtcppcpp

     cd /usr/local/eclipse
     rm -r plugins/com.trolltech.qtcppcpp*
     rm -r features/com.trolltech.qtcppcpp*
  2. Restart Eclipse with a clean configuration.

    We highly recommended that you start Eclipse once from the command line with

     eclipse -clean

    after you have removed the Qt Eclipse Integration plugins and feature. This will not change anything in your workspace but will clear Eclipse's caches.

Upgrading on Linux

To upgrade to a newer version of the Qt Eclipse Integration, first uninstall any old version as described in Uninstallation on Linux above, then install the new one.

Installation on Windows

  1. Download the installer qt-eclipse-integration-win32-<version>.exe
  2. Run the installer.

    When the installer asks you, specify the location of your Eclipse installation and where you have MinGW installed.

  3. Start Eclipse via the Start Eclipse with MinGW shortcut in the Start menu.

    This runs Eclipse with the appropriate environment settings for you to develop Qt applications with MinGW in Eclipse.

Uninstallation on Windows

Run the uninstaller Uninstall Qt Eclipse Integration in the Qt Eclipse Integration Start menu entry.

Upgrading on Windows

To upgrade to a newer version of the Qt Eclipse Integration, first uninstall any old version as described in Uninstallation on Windows above, then install the new one.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值