Qt Declarative 4.6.0 module

This is the Qt Declarative 4.6.0 module. It provides QML support.

It only works with Qt 4.6.0. A new module will be released for future Qt versions.

Follow the installation instructions below for your platform(s), then:

Installation on Windows

You must first install Qt 4.6.0 libraries for Windows (they are usually in C:\Qt\4.6.0).

Then in this package:

set PATH=%QTDIR%\bin;%PATH%
cd src\declarative
qmake
nmake
nmake install
xcopy /E ..\..\include\QtDeclarative %QTDIR%\include\QtDeclarative

To then install the qmlviewer:

cd tools\qmlviewer
qmake
nmake
nmake install

Installation on Max OS X

You must first install Qt 4.6.0 libraries for Mac OS X.

Then in this package:

cd src/declarative
qmake -spec macx-g++
make
make install
mkdir /Library/Frameworks/QtDeclarative.framework/Versions/4/Headers
cp -r include/QtDeclarative/* /Library/Frameworks/QtDeclarative.framework/Versions/4/Headers/

To then install the qmlviewer:

cd tools/qmlviewer
qmake -spec macx-g++
make
make install

Installation on Unix/Linux

You must first build and install the Qt 4.6.0 libraries from source code.

Then in this package:

cd src/declarative
$QTDIR/bin/qmake
make
sudo make install
sudo cp -r ../../include/QtDeclarative $QTDIR/include/
To then install the qmlviewer:
cd tools/qmlviewer
$QTDIR/bin/qmake
make
sudo make install

Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Declarative 4.6.0