Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ERCP/build/HowToBuildeSWTforQt"

(New page: 1. Environment setup * Java SE 5 SDK for Linux install : apt-get install sun-java5-jdk * Qt for Linux install : apt-get install libqt4-dev * Ant install :...)
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  1.  Environment setup
+
=How To Build eSWT for Qt=
          * Java SE 5 SDK for Linux install : apt-get install sun-java5-jdk
+
#Environment setup
          * Qt for Linux install : apt-get install libqt4-dev
+
##Java SE 5 SDK for Linux install: <code>apt-get install sun-java5-jdk</code>, <code>emerge =dev-java/sun-jdk-1.5*</code>
          * Ant install : apt-get install ant  
+
##Qt for Linux install (Requires Qt 4.5 or better): <code>apt-get install libqt4-dev</code>, <code>emerge qt-webkit</code>
  2. Environment variables
+
##Ant install : <code>apt-get install ant</code>, <code>emerge dev-java/ant</code>
          * export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
+
##Checkout <code>org.eclipse.swt</code> and <code>org.eclipse.ercp.swt.qt.linux.x86</code> from CVS using <code>:pserver:anonymous@dev.eclipse.org:/cvsroot/rt</code>.
  3. eSWT compilation
+
#Environment variables
          * cd org.eclipse.ercp.swt.qt.linux.x86
+
##<code>export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun</code>
          * ant build
+
#eSWT compilation
 +
##<code>cd org.eclipse.ercp.swt.qt.linux.x86</code>
 +
##<code>ant build</code>
 +
 
 +
 
 +
 
 +
[[Category:eRCP]]

Latest revision as of 11:11, 6 October 2009

How To Build eSWT for Qt

  1. Environment setup
    1. Java SE 5 SDK for Linux install: apt-get install sun-java5-jdk, emerge =dev-java/sun-jdk-1.5*
    2. Qt for Linux install (Requires Qt 4.5 or better): apt-get install libqt4-dev, emerge qt-webkit
    3. Ant install : apt-get install ant, emerge dev-java/ant
    4. Checkout org.eclipse.swt and org.eclipse.ercp.swt.qt.linux.x86 from CVS using :pserver:anonymous@dev.eclipse.org:/cvsroot/rt.
  2. Environment variables
    1. export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
  3. eSWT compilation
    1. cd org.eclipse.ercp.swt.qt.linux.x86
    2. ant build

Back to the top