Difference between revisions of "ERCP/build/HowToBuildeSWTforQt"

From Eclipsepedia

Jump to: navigation, search
 
Line 10: 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