Eclipse + Qt + svn

May 9, 2008 · Posted in C / C + + , Qt , Subversion

More like log personal than a tutorial, I felt the need to leave an easily accessible location, the configuration steps of the eclipse for my own use, or the installation of Eclipse and plugins that I normally use (svn and qt) .

The commands that affect directories outside of your home, need superuser permission.

If you decide to install the eclipse starting packages available in your distribution, you can skip straight to step # 2.

# Step 0: Install Java

For the eclipse work, you need the Java Runtime Environment (JRE) installed * E * configured.

The JRE can be downloaded directly from Sun's site http://java.sun.com/javase/downloads/index.jsp . Full instructions for installation and configuration can be found at http://java.sun.com/javase/6/webnotes/install/index.html , for the case of Java 6.

Step # 1: Donwload and install Eclipse

The eclipse can be easily downloaded from the downloads area on its official website: http://www.eclipse.org/downloads . After downloading, just unzip it and quit using. In my case I used:

  -xvzf eclipse-cpp-europa-winter-linux-gtk.tar.gz -C / usr / local user @ host $ tar-xvzf eclipse-cpp-europa-winter-linux-gtk.tar.gz-C / usr / local 

If everything worked the executable eclipse will be in / usr / local / eclipse / eclipse, then just create a link / shortcut / whatever in your favorite graphics environment.

Step # 2: Download and install the plugin integration with QT


Qt Eclipse Integration
Qt Eclipse Configuration

The plugin that I currently use is provided by Trolltech own. There you can manage your project files from a small graphics editor, and even if you prefer, have direct access to the file. Pro.

The can be downloaded from http://trolltech.com/developer/downloads/qt/eclipse-integration-download , and complete installation instructions which can be found at http://trolltech.com/developer/downloads/qt / qteclipse-installmanual , is extremely complicated:

  -xvzf qt-eclipse-integration-linux.x86-gcc3.3-1.4.0.tar.gz -C / usr / local user @ host $ tar-xvzf qt-eclipse-integration-linux.x86-gcc3.3-1.4.0.tar.gz-C / usr / local 

If everything went right, the plugin files are copied to the directory / usr / local / eclipse / plugins.

Note: For those who opted for the installation of the eclipse through the distribution package, attention! Inside the compressed file, the directory is eclipse / plugins / and dental him the plugin files which should be copied to the plugins directory of your eclipse installation, usually / usr / lib / eclipse / plugins.

After installation, start eclipse with the command:

  usr / local / eclipse / eclipse -clean user @ host $ / usr / local / eclipse / eclipse-clean 

Now, go to Window> Preferences> and set the Qt version and "pathes", according to your installation of Qt

To be more convenient if you invoke the eclipse directly from the command line, add the directory of your executable in $ PATH environment variable within any of the startup scripts (. Bash_profile)

  = $PATH : / usr / local / eclipse export PATH = $ PATH: / usr / local / eclipse 

Step # 3: Subversion

In eclipse go to Help> Software Updates> Find and Install. Marke the option Search for new features to install and click Next. Now add the remote sites:

Buckminster

http://download.eclipse.org/tools/buckminster/updates

Subclipse

http://subclipse.tigris.org/update_1.2.x

Mark the respective checkboxes and click Finish. After a short consultation to the Internet, just check the plugin and dependencies and run to hug.

Comments

  • and integrating Eclipse, CDT, Qt, Subversion, Perl, Web Tools Vim and only with the mouse: Blog Blabos of Blebe

    [...] Long ago in a post not too far from here, we show how to install eclipse with plugins for Qt development [...]

blog comments powered by Disqus