|
|
Wiki > Main > QtBuildEnvironment (compare)
|
Difference: QtBuildEnvironment (r7 vs. r6)Qt Build EnvironmentCurrently there are two desktop tools in SVN that are based on the Qt4 framework. Qt4 is available for all major Operating Systems (Linux, Windows, MacOS X). Setup on Windows (2000, XP, Vista, 7)On Windows Qt itself support various compilers. We're only using the gcc compiler as provided by the MinGW project. You also need some additional tools that are standard on Unix systems. Qt4You need a Qt framework that is build with the MinGW gcc compiler and the used compiler. The easiest way is to install the Qt SDK which includes a pre-built Qt and the MinGW compiler. The SDK also includes the integrated development environment Qt Creator. Note: The Qt SDK does not include MinGWNote: The Qt SDK comes with MinGW bundled. If you installed the Qt SDK you don't need to install MinGW separately. If you want to go the manual route you can also install MinGW yourself (follow the instructions on the MinGW website). You then can use the "Qt libraries" from the Qt website instead or get the source and build Qt yourself. MSYS Various EnvironmentBoth MinGW and MSYS needs to be accessible from within the PATH environment variable. To do this you can
PATH list. Note: This might override some Windows programs and cause issues with other programs.
Rockbox source codeGet the source code from SVN as described in UsingSVN. Setup on Linux Qt is part of all major Linux distributions. Install the developments tools (various distributions have package groups for that) and the Qt development package (you also need Setup on Mac OS XYou need to install
Building Qt4Note: you don't need to build Qt4 yourself if you installed the Qt SDK and don't want to build statically linked binaries. To create binaries that are statically linked against Qt you need to rebuild Qt statically. A statically built Qt is used for building the binaries provided to avoid having to extract additional DLL files. (add description how to build Qt statically here) Building the programsCurrently the following desktop programs use the Qt framework: Please refer to their respective wiki pages on additional or changed build steps. If you have the build environment set up and the environment variables set correctly building usually is as simple as the following: and the environment variables set correctly building usually is as simple as the following:
If you want to build universal binaries targeting OS X 10.4 and up (configured in the program project file) you need to use the correct
You can add the (undocumented) option Using
|