Install Eclipse on Linux: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(Cleanup)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{LangSwitch}}
[[Category:HowTo]]
[[Category:HowTo]]


= Eclipse 3.3.2 Installation HowTo for Linux Systems =
# Install Eclipse 3.3.2 or higher
# Install Eclipse C/C++ CDT Plugin 4.0 or higher
# Download the Qt Eclipse Integration package corresponding to your Linux distribution
# Find your eclipse/plugins folder


=== 1. Install Eclipse 3.3.2 or higher ===
If you installed Eclipse to e.g. /usr/local in step (1.), 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.


=== 2. Install Eclipse C/C++ CDT Plugin 4.0 or higher ===
5. Unpack the package
 
=== 3. Download the Qt Eclipse Integration package corresponding to your Linux distribution ===
 
=== 4. Find your eclipse/plugins folder ===
 
If you installed Eclipse to e.g. /usr/local in step (1.), you will find the directory /usr/local/eclipse/plugins there.<br />If you used the package management system of your Linux distribution to install Eclipse, this directory might possibly be /usr/lib/eclipse/plugins.
 
=== 5. Unpack the package ===


Go to the location where you found the eclipse/plugins directory (i.e. /usr/local or /usr/lib in the examples in step (4.) ) and untar the package, e.g.
Go to the location where you found the eclipse/plugins directory (i.e. /usr/local or /usr/lib in the examples in step (4.) ) and untar the package, e.g.


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


You might need to be the root user to do that.
You might need to be the root user to do that.


=== 6. Start Eclipse with a clean configuration ===
6. Start Eclipse with a clean configuration


It is highly recommended by us to start Eclipse once from the command line with<br /><pre><br />eclipse -clean<br /></pre><br />after you unpacked the Qt Eclipse Integration plugins and feature.
It is highly recommended by us to start Eclipse once from the command line with
<pre>
eclipse -clean
</pre>
after you unpacked the Qt Eclipse Integration plugins and feature.


This will not change anything in your workspace but will clear Eclipse's caches.
This will not change anything in your workspace but will clear Eclipse's caches.


= Uninstallation Instructions for Linux Systems =
== Uninstallation Instructions for Linux Systems ==


=== 1. Remove the installed plugins and feature ===
# 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.qtcpp
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.qtcpp


<pre><br />cd /usr/local/eclipse<br />rm -r plugins/com.trolltech.qtcpp*<br />rm -r features/com.trolltech.qtcpp*<br /></pre>
<pre>
cd /usr/local/eclipse
rm -r plugins/com.trolltech.qtcpp*
rm -r features/com.trolltech.qtcpp*
</pre>


=== 2. Restart Eclipse with a clean configuration ===
2. Restart Eclipse with a clean configuration


It is highly recommended by us to start Eclipse once from the command line with
It is highly recommended by us to start Eclipse once from the command line with


<pre><br />eclipse -clean<br /></pre>
<pre>
eclipse -clean
</pre>


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


= Upgrading Instructions for Linux Systems =
== Upgrading Instructions for Linux Systems ==


If you want to upgrade your Qt Eclipse Integration installation we highly recommend to first uninstall the older version:
If you want to upgrade your Qt Eclipse Integration installation we highly recommend to first uninstall the older version:


=== 1. Remove the older installed plugins and feature ===
1. Remove the older installed plugins and feature


Like described in step (1.) of the 'Uninstallation Instructions'.
Like described in step (1.) of the 'Uninstallation Instructions'.


=== 2. Install the newer Qt Eclipse Integration ===
2. Install the newer Qt Eclipse Integration


Like described in 'Installation Instructions'.
Like described in 'Installation Instructions'.


=== 3. Restart Eclipse with a clean configuration ===
3. Restart Eclipse with a clean configuration

Latest revision as of 17:23, 28 June 2015

En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh

  1. Install Eclipse 3.3.2 or higher
  2. Install Eclipse C/C++ CDT Plugin 4.0 or higher
  3. Download the Qt Eclipse Integration package corresponding to your Linux distribution
  4. Find your eclipse/plugins folder

If you installed Eclipse to e.g. /usr/local in step (1.), 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.

5. Unpack the package

Go to the location where you found the eclipse/plugins directory (i.e. /usr/local or /usr/lib in the examples in step (4.) ) and untar the package, e.g.

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

You might need to be the root user to do that.

6. Start Eclipse with a clean configuration

It is highly recommended by us to start Eclipse once from the command line with

eclipse -clean

after you unpacked the Qt Eclipse Integration plugins and feature.

This will not change anything in your workspace but will clear Eclipse's caches.

Uninstallation Instructions for Linux Systems

  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.qtcpp

cd /usr/local/eclipse
rm -r plugins/com.trolltech.qtcpp*
rm -r features/com.trolltech.qtcpp*

2. Restart Eclipse with a clean configuration

It is highly recommended by us to start Eclipse once from the command line with

eclipse -clean

after you removed the Qt Eclipse Integration plugins and feature.

This will not change anything in your workspace but will clear Eclipse's caches.

Upgrading Instructions for Linux Systems

If you want to upgrade your Qt Eclipse Integration installation we highly recommend to first uninstall the older version:

1. Remove the older installed plugins and feature

Like described in step (1.) of the 'Uninstallation Instructions'.

2. Install the newer Qt Eclipse Integration

Like described in 'Installation Instructions'.

3. Restart Eclipse with a clean configuration