Install QT And QCAD Manually

After Seven hours I have install Qt And Qcad popularly

Follow this simple steps for installation

  1. Check that you have the following (including dependencies) installed:
    • gcc version 4
    • make
    • libx11-dev
    • libxext-dev
    • libxrender-dev
    • libglu1-mesa-dev (Ubuntu)
    • libfreetype6-dev (Ubuntu)
    • libfontconfig1-dev (Ubuntu)
    • libssl-dev (Ubuntu)
    • libdbus-1-dev (Ubuntu)
    • libsm-dev (Ubuntu)
    • Mesa-devel (OpenSUSE)
    • dbus-1-devel (OpenSUSE)
    • libsm-devel (OpenSUSE)
    • glu-devel (OpenSUSE)
  2. If you wish to compile / run QCAD 3 32bit on a 64bit Linux installation, you will also need:
    • ia32-libs
    • Mesa-32bit (OpenSUSE)
  3. Download and install Qt 4.8.4:
    • Configure Qt:
      cd qt-everywhere-opensource-src-4.8.4
      ./configure -fast -opensource -release -no-qt3support -fontconfig -dbus \
      -sm -qt-libpng -qt-libjpeg -qt-libmng -qt-zlib -openssl -opengl desktop \
      -xrender -webkit -confirm-license
    • Compile Qt:
      make
    • Add ~/opt/qt-everywhere-opensource-src-4.8.4/bin to your PATH environment variable:
      export PATH=~/opt/qt-everywhere-opensource-src-4.8.4/bin:$PATH
  4. Configure QCAD:
    cd ~/qcad
    qmake -r
  5. Compile QCAD:
    make
  6. Launch QCAD:
    cd release
    LD_LIBRARY_PATH=. ./qcad-bin
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s