Difference between revisions of "ERCP/build/HowToBuildeSWTforQt"

From Eclipsepedia

Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
=How To Build eSWT for Qt=
 
#Environment setup
 
#Environment setup
 
##Java SE 5 SDK for Linux install: <code>apt-get install sun-java5-jdk</code>, <code>emerge =dev-java/sun-jdk-1.5*</code>
 
##Java SE 5 SDK for Linux install: <code>apt-get install sun-java5-jdk</code>, <code>emerge =dev-java/sun-jdk-1.5*</code>
##Qt for Linux install: <code>apt-get install libqt4-dev</code>, <code>emerge qt-webkit</code>
+
##Qt for Linux install (Requires Qt 4.5 or better): <code>apt-get install libqt4-dev</code>, <code>emerge qt-webkit</code>
 
##Ant install : <code>apt-get install ant</code>, <code>emerge dev-java/ant</code>
 
##Ant install : <code>apt-get install ant</code>, <code>emerge dev-java/ant</code>
 +
##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>.
 
#Environment variables
 
#Environment variables
 
##<code>export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun</code>
 
##<code>export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun</code>
Line 8: Line 10:
 
##<code>cd org.eclipse.ercp.swt.qt.linux.x86</code>
 
##<code>cd org.eclipse.ercp.swt.qt.linux.x86</code>
 
##<code>ant build</code>
 
##<code>ant build</code>
 +
 +
 +
 +
[[Category:eRCP]]

Latest revision as of 11:11, 6 October 2009

[edit] 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