Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > cef33ba6420e91572a21cbcb4176dc7e > files > 1168

qcad-1.5.4-2mdk.ppc.rpm

Table of contents

 1 Installing the official QCad binary release
   1.1 Requirements
   1.2 Where to get QCad binaries
   1.3 Unpack and install
   1.4 Documentation
   
 2 Installing QCad from sources
   2.1 Requirements
   2.2 Where to get the QCad sources
   2.3 Unpack and compile

 3 Documentation



 1 Installing the official QCad binary release

   1.1 Requirements

    To run QCad for Linux you need to have Linux (http://www.linux.org) 
    installed on your computer. 

	Further you need to have the Qt library version 3.x installed.
	(Please refer to your distributor for that or download the
	developer version from: 
	http://www.trolltech.com/developer/download/qt-x11.html)
  

   1.2 Where to get QCad binaries

    You can download the latest release of QCad directly from the
    homepage of RibbonSoft at http://www.qcad.org
    The official binary is at the top of the download page. It's
    statically linked and doesn't require any libraries. It also
    comes with a graphical installation tool which guides you
    through the setup process.


   1.3 Unpack and install
  
    Unpack the archive, unless you already have:

      cd /tmp
      gunzip qcad-1.5.1-i386-setup.tar.gz
      tar xfv qcad-1.5.1-i386-setup.tar

    This creates the files you need to setup QCad.
    
    Run the install script and follow the instructions on the screen:

      ./setup.sh


   1.4 Documentation

    The online HTML documentation is installed in /usr/local/qcad/doc
    The main page is /usr/local/qcad/doc/index.html


    That's all. QCad is now installed.
    You can run it from its installation directory or use the startup 
    script "qcad.sh". Maybe you need to change the installation path 
    in the script before it fits your needs.
    
    Enjoy!




 2 Installing QCad from sources

   2.1 Requirements

    To install QCad from sources you need some knowledge about
    compilers and your console. Further you must have Qt 3.x
    developer version installed and compiled.
	(http://www.trolltech.com/developer/download/qt-x11.html)
  

   2.2 Where to get the QCad sources

    You can download the latest sources of QCad directly from the
    homepage of RibbonSoft at http://www.qcad.org


   2.3 Unpack
  
    Unpack the archive, unless you already have:

      cd /tmp
      gunzip qcad-1.4.12-src.tar.gz
      tar xfv qcad-1.4.12-src.tar

    This creates the files you need to compile QCad.
    
   2.4 Generate a makefile for your platform:
    
      $ qmake qcad.pro -o Makefile
    
   2.5 Build the binary:
      
      $ make

   2.6 If you're getting errors
   
      Please check:

	  - if QTDIR is set correctly:
	    $ echo $QTDIR
		/opt/qt-3.0.5
   
      - if you're using the correct moc version:
	    $ moc -v
	    Qt Meta Object Compiler version 19 (Qt 3.0.5)

	  - ..and libs:
	    $ ls $QTDIR/lib


3 Documentation

    The online HTML documentation is located in the ./doc sub directory
    The main page is ./doc/index.html


# EOF