INSTALL

Sun, 27 Apr 2014 03:51:10 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sun, 27 Apr 2014 03:51:10 +0300
changeset 735
54c321f4d102
parent 553
2418d5955421
permissions
-rw-r--r--

- when setting the current document, the GL compiler must be told that a merge is necessary *before* setting the renderer's document as setDocument will call zoomToFit which renders the scene. this rendering must trigger a merge or ldforge crashes if a new document is created when a document is already open.

You need Qt4 or Qt5 with OpenGL and networking support. On Debian and
derivatives, e.g. Ubuntu, you'll need:
	sudo apt-get install build-essential libqt4-dev libqt4-opengl-dev
		libqt4-network

You may also replace qt4 with qt5 in the above for Qt5.

To compile:
-	enter the root directory
-	enter 'qmake'
-	enter 'make release' or 'make debug'. A release build is made by default.

Troubleshooting:
- src/gldraw.h:22:21: fatal error: QGLWidget: No such file or directory
You are missing the OpenGL development package, on Debian and derivatives,
this is libqt4-opengl-dev or libqt5-opengl-dev.

mercurial