Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:doc:test_dev_version [28/08/2008 21:49] – xavierqet | en:doc:test_dev_version [20/11/2014 14:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Testing the development version of QElectroTech ====== | ||
+ | |||
+ | ===== Step 1: install the Qt 4.4 library ===== | ||
+ | QElectroTech uses the OpenSource edition of the Qt 4.4 library. | ||
+ | ==== Under Windows ==== | ||
+ | Go to [[http:// | ||
+ | * the MinGW compiler: C: | ||
+ | * the Qt utilities: C: | ||
+ | To change your environment variables, go to Start > System > Advanced (a tab) > Environment variables (a button). Edit the PATH variable for your user. Reboot if necessary. | ||
+ | |||
+ | If it works, open a prompt (Start > Launch > write ' | ||
+ | < | ||
+ | Using Qt version 4.4.0 in C: | ||
+ | Another test: type mingw32-make. You should see: | ||
+ | < | ||
+ | |||
+ | At that stage, you have successfully installed the Qt library. | ||
+ | ==== Under Debian Lenny/Sid ==== | ||
+ | |||
+ | Qt 4.4 is available in Debian repositories: | ||
+ | < | ||
+ | apt-get install libqt4-core libqt4-dev libqt4-gui | ||
+ | </ | ||
+ | ==== Under other Linux/Unix ==== | ||
+ | |||
+ | If the package system of your system does not provide Qt 4.4, you should compile it yourself. Go to [[http:// | ||
+ | Piece of advice: Install the X libraries headers (already installed under some systems like Slackware and PC-BSD). | ||
+ | <code bash> | ||
+ | # Archive decompression | ||
+ | tar xzvf qt-x11-opensource-src-4.4.0.tar.gz | ||
+ | # Compilation configuration | ||
+ | cd qt-x11-opensource-src-4.4.0 | ||
+ | ./configure | ||
+ | # compilation | ||
+ | make | ||
+ | # installation: | ||
+ | make install | ||
+ | </ | ||
+ | Edit also your environment variable PATH in order to include the Qt binaries directory (typically: / | ||
+ | <code bash> | ||
+ | export PATH="/ | ||
+ | </ | ||
+ | |||
+ | ===== Step 2: download the QElectroTech sources===== | ||
+ | ==== With Subversion (SVN): ==== | ||
+ | |||
+ | If you already know [[subversion|Subversion]] (or even CVS), you should be familiar with that: | ||
+ | <code bash> | ||
+ | # version 0.2 official | ||
+ | svn export svn:// | ||
+ | # trunk (version 0.2 + some improvements) | ||
+ | svn export svn:// | ||
+ | # branche 0.3 (experimentations version 0.3) | ||
+ | svn export svn:// | ||
+ | </ | ||
+ | |||
+ | Subversion is a version control system, i.e. a tool that allows you to keep track of all changes that have been done to the sources during the development of the project. These commands allow to extract different ' | ||
+ | |||
+ | If you plan to recompile QET on a regular basis, substitute co to export (for checkout). That will enable you to update your sources with svn up. You should however remove the directory .svn (or after, but in the installation direcory) before doing a 'make install', | ||
+ | |||
+ | <code bash> | ||
+ | ==== Other method: ==== | ||
+ | It is possible to easily extract the source of Subversion repository in the form of an archive with the tool [[http:// | ||
+ | |||
+ | Load and decompress the desired archive: | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ===== Stage 3: compile and launch QElectroTech ===== | ||
+ | ==== Under Windows ==== | ||
+ | |||
+ | Open a command prompt: | ||
+ | |||
+ | < | ||
+ | # go to the appropriate directory (there is a *.pro in the name), e.g.: | ||
+ | cd /d C: | ||
+ | # generate the Makefile | ||
+ | qmake | ||
+ | # compile | ||
+ | mingw32-make | ||
+ | # set up the executable files | ||
+ | move /Y release\qelectrotech.exe . | ||
+ | copy " | ||
+ | # run QET | ||
+ | " | ||
+ | </ | ||
+ | ==== Under Debian-based distributions ==== | ||
+ | |||
+ | The method is the same than the other Linux/UNIX. There is only one difference: the utility qmake is probably named qmake-qt4 (that can be very confusing, if you were wrong, do a 'rm Makefile' | ||
+ | ==== Under other Linux/Unix ==== | ||
+ | <code bash> | ||
+ | # go to the appropriate directory (ther is *.pro in the name) | ||
+ | cd qelectrotech | ||
+ | # generate le Makefile | ||
+ | qmake | ||
+ | # compile | ||
+ | make -f Makefile.Release | ||
+ | # installation | ||
+ | make -f Makefile.Release install | ||
+ | # execute QET | ||
+ | qelectrotech | ||
+ | </ | ||
+ | |||
+ | After that you should be able to test QElectroTech. Do not hesitate to contact us for a bug, a suggestion, or what ever.. |