Build the QT development environment in eclipse

Source: Internet
Author: User
Installation and uninstallation
  • Dependencies
  • Installation on Linux
  • Uninstallation on Linux
  • Upgrading on Linux
  • Installation on Windows
  • Uninstallation on Windows
  • Upgrading on Windows

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:

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
    /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
    Eclipse/plugins directory (I. e.,/usr/local or/usr/lib in the example
    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

     eclipse -clean

    After you have unpacked the Qt Eclipse Integration ins 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 startCom. 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

     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 installerQt-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 viaStart eclipse with mingw
    Shortcut cut 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 uninstallerUninstall 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)

Related Article

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.