Difference between revisions of "Building the CLX with FPC"

From Lazarus wiki
Jump to navigationJump to search
 
Line 1: Line 1:
 +
== Introduction ==
 
There are some efforts to build the (Free)CLX with FPC, here is a short explanation how to build it.
 
There are some efforts to build the (Free)CLX with FPC, here is a short explanation how to build it.
  
 +
== Status ==
 
Current status is that not all units build yet, currently build:
 
Current status is that not all units build yet, currently build:
 
  BindHelp  QClipbrd  QGraphics  Qt
 
  BindHelp  QClipbrd  QGraphics  Qt
 
  HelpIntfs QConsts    QImgList
 
  HelpIntfs QConsts    QImgList
 +
 +
== Howto ==
 
* Build and install FPC from CVS sources: [[How_to_start]]
 
* Build and install FPC from CVS sources: [[How_to_start]]
 
* copy the clx sources to a newly created directory as well as the HelpIntfs.pas from Sources/Common
 
* copy the clx sources to a newly created directory as well as the HelpIntfs.pas from Sources/Common

Revision as of 22:19, 1 February 2005

Introduction

There are some efforts to build the (Free)CLX with FPC, here is a short explanation how to build it.

Status

Current status is that not all units build yet, currently build:

BindHelp  QClipbrd   QGraphics  Qt
HelpIntfs QConsts    QImgList

Howto

  • Build and install FPC from CVS sources: How_to_start
  • copy the clx sources to a newly created directory as well as the HelpIntfs.pas from Sources/Common
  • replace all RTLConsts with RTLConst (fix this!!)
  • create a dummy unit to build the clx:
unit buildclx;
  interface
    uses
      BindHelp,   QDBActns,   QFileCtrls, QPrinters.pas
      QActnList,  QDBConsts,  QFileDialog.pas  QSearch.pas
      QButtons,   QDBCtrls,   QForms,     QStdActns.pas
      QCheckLst,  QDBGrids,   QGraphics,  QStdCtrls.pas
      QClipbrd,   QDBLogDlg,  QGrids,     QStyle.pas
      QComCtrls,  QDBPWDlg,   QImgList,   QTypes.pas
      QConsts,    QDialogs,   QMask,      Qt.pas
      QControls,  QExtCtrls,  QMenus.pas;
  implementation
end.
  • build the CLX with fpc -S2 buildclx