Qmake setup: Difference between revisions
Jump to navigation
Jump to search
(Uus lehekülg: '== Setting up QMake == * Install qtcreator from qt homepage === Setting up ARM toolchain for QMake === * If you don't have ARM toolchain, [[Arm linux toolchain|'''install it first''…') |
(No difference)
|
Latest revision as of 11:11, 24 August 2009
Setting up QMake
- Install qtcreator from qt homepage
Setting up ARM toolchain for QMake
- If you don't have ARM toolchain, install it first.
- Open folder
cd /usr/share/qt4/mkspecs
- Create folder named:
arm-none-linux-gnueabi-g++
- Create file named:
qmake.conf
- Insert the following text to file:
# # qmake configuration for CodeSourcery G++ ( arm-none-linux-gnueabi-g++ ) # # Target Systems: # Systems running "full" Linux, i.e., Linux on CPUs with an MMU. Use Sourcery G++ to build both the Linux kernel and applications. # MAKEFILE_GENERATOR = UNIX TEMPLATE = app CONFIG += warn_on release incremental # These defines are available in every file during compilation DEFINES += GATEWAY6_ARM MULTI_THREADING QMAKE_INCREMENTAL_STYLE = sublib include(../common/g++.conf) include(../common/linux.conf) QMAKE_CXX = arm-none-linux-gnueabi-g++ QMAKE_LINK = arm-none-linux-gnueabi-g++ load(qt_config)