GCF InstallationThe best way to install GCF is from its source code. You can either download the source code of GCF from its website (http://www./products/gcf) or by checking out a copy of the code from its SVN server (https:/svn2.hosted-projects.com/vcreatelogic/GCF2/tags/GCF/2.5.0/) Once you have a copy of GCF source code on your computer, you can compile it just like any other Qt library and/or application. In the following sections we explain how GCF can be compiled on Windows and Linux platforms. Setting up GCF on WindowsTo compile GCF on Windows, you will need to ensure that you have either of the following configurations
Compiling GCF on Windows using Visual Studio 2008Launch the Visual Studio command prompt and execute the following commands after changing into the GCF source code directory. C:\VCreateLogic\GCF-2.5.0-Source> qmake -recursive "CONFIG += debug_and_release build_all" C:\VCreateLogic\GCF-2.5.0-Source> nmake Compiling GCF on Windows using MinGWLaunch the Qt Command Prompt that was installed while setting up Qt for MinGW on your computer. Execute the following commands after changing into the GCF source code directory. C:\VCreateLogic\GCF-2.5.0-Source> qmake -recursive "CONFIG += debug_and_release build_all" C:\VCreateLogic\GCF-2.5.0-Source> ming32-make Post Compile Setup for WindowsIn order to use GCF as an SDK (just as you would use Qt), we recommend that you set up the following environment variables.
GCFDIR = C:\VCreateLogic\GCF-2.5.0-SourceQMAKEFEATURES += %GCFDIR%\qmake_prf PATH += %GCFDIR%\bin
Once the environment variables are setup, we recommend that you log out and log back in. Once the above is done, you can now make use of Qt Creator and/or any other IDE to begin programming with GCF. You can now proceed with Getting started with GCF. Setting up GCF on LinuxTo compile GCF on Linux, start terminal and change into the GCF directory. Then execute the following commands ~/GCF-2.5.0-Source# qmake -recursive "CONFIG += debug_and_release build_all" ~/GCF-2.5.0-Source# make -j2 Post Compile Setup for LinuxAfter the compiliation is done, we recommend that you a few environment variables in order to be able to use GCF as an SDK. To set the environment variables, you will need to edit the export GCFDIR=~/GCF-2.5.0-Source export PATH=$GCFDIR/bin:$PATH export LD_LIBRARY_PATH=$GCFDIR/bin:$GCFDIR/lib:$LD_LIBRARY_PATH export QMAKEFEATURES=$GCFDIR/qmake_prf After appending the above lines, save the file. It is recommended that you log out and log in once in order to ensure that the settings are committed and used by the Linux system. You can now make use of Qt Creator and/or any other IDE to begin programming with GCF. You can now proceed with Getting started with GCF. |
|