I've missed out two important prerequisites which are stated here http://doc.qt.nokia.com/4.7-snapshot/requirements-symbian.html
The software which you must install is Carbide and Active Perl. The other requirements are installed as part of the steps in my previous post. On Tue, Jun 15, 2010 at 9:33 PM, Jack Wootton <[email protected]> wrote: > Hi Sacha, > > With the help from people on various Qt Mailing lists and colleagues I have > a QML demo using WebView running on an N97. The plan is to post a very > detailed guide on forum.nokia with screen-shots of the entire process. > However a company review process means that I can't post it yet. But I will > post the steps I took to get an environment setup, including the things > which I had to do but aren't mentioned in the Qt documentation. > > I recommend you have a look at the documentation available here: > http://doc.qt.nokia.com/4.7-snapshot/index.html > Look for the "Getting started" and "Installation & first steps" links. > > Here are some instructions on how I set up my environment. I use Qt 4.7. > i've assumed you know about subst'ing a drive etc. > > 1.Download and install the N97 SDK. Google 'Nokia N97 SDK' > and download it from www.forum.nokia.com. > > 2. Subst a drive to the N97 SDK such that epoc32 is in the > root of the subst drive. > > 3. Install Open C library plugin by Nokia. The installer > should pick up the installed N97 SDK. Google 'Nokia > open C plugin' and download from www.forum.nokia.com. > > 4.Run 'epoc' from the command line and check the emulator launches. > > 5. Install Qt for Symbian binary to the subst drive, for > example Qt root for me is V:\Qt\4.7.0-beta1 and Qt bin > is V:\Qt\4.7.0-beta1\bin. > > Download the binary from > http://qt.nokia.com/developer/qt-qtcreator-prerelease#download. > > IMPORTANT: Ensure you select the drive letter of your subst > drive when installing Qt. Ensure you tick the option to > install Qt source code (this may come in useful if you > need to build components). > > 6. Install QtCreator to any drive and accept the option to > install the MinGW compiler. > > Download the binary from > http://qt.nokia.com/developer/qt-qtcreator-prerelease#download > > 7. Everything is now installed BUT, you need to build the Qt Examples and > Demos: > > 8. The Qt EXAMPLES and DEMOS need to be built manually for > them to show on the emulator. The EXAMPLES in > V:\Qt\Qt-47-beta1\examples can be built by running 'qmake' > to generate the make files, followed by 'make' to actually > buid the EXAMPLES. Then cd into 'demos' and run 'qmake' > followed by 'make' to build the DEMOS. > > Here are some additional steps that are required: > > 9. Modify devices.xml > (C:\Program Files\Common Files\Symbian\devices.xml) so > the N97 SDK path uses the subst drive and not the physical > location on C: or D:. > > 10. In Creator, check the SDK is listed under the subst > drive (Tools > Options > QT4 > S60 SDKs) and not on C: > > 11. In Creator, configure a Qt version using a subst drive > (Tools > Options > QT4 > Qt Versions). You should have an > autodetected entry which looks something like > "Nokia_N97_SDK_Version_1.0(Qt4.7)". This should be using > your subst drive. For me the values are: > > Version name: Nokia_N97_SDK_Version_1.0(Qt4.7) > qmake location: V:\Qt\4.7.0-beta1\bin > S60 SDK: V:\ > CSL/GCCE directory: [EMPTY] > Carbide Directory: C:\Program Files\Nokia\Carbide.c++ v2 > > Note: You will need to add the Carbide directory, but > everything else should be correct. Don't worry that > the debugger helper library hasn't built - it isn't > required. > > 12. Now you can add a Symbian Emulator target in the > Creator 'Projects' tab. However you will need to > modify a few things: > > a. Modify 'Build Steps' to override the Make command so that it includes > your subst drive, > my Override Make values is 'V:\epoc32\tools\make.exe' > > b. Modify 'Clean Steps' to override the Make command so that it includes > your susbt drive, > my Override Make values is 'V:\epoc32\tools\make.exe' > > c. Modify 'Build Environment' to overide the PATH > environment variable in Creator. The PATH value > should already contain the entries 'epoc32\' and > 'epoc32\tools' and '\epoc32\gcc\bin'. These need > to be modified to include the subst drive letter > otherwise Creator gets confused. So I modified my > values to 'V:\epoc32' and 'V:\epoc32\tools\' and > 'V:\epoc32\gcc\bin'. Note, this will NOT modify the > actual environment variable on Windows - it's just a > temporary modification for this sepecific build target > in Creator. > > > On Tue, Jun 15, 2010 at 8:48 PM, Sacha Zyto <[email protected]> wrote: > >> Hi everyone, >> >> I've been lent a Nokia N97 to test my QML application. However, I >> couldn't find detailed instructions online on how to run QML code from >> an N97 (i.e. on a device running Symbian S60 5th edition). I guess the >> problem is that QML requires a QDeclarativeEngine component, which is >> only available on Qt4.7, and that the Qt libraries for Symbian are still >> at 4.6.3. >> >> Have anyone managed to install Qt 4.7 on their symbian device (and run a >> application that uses QML) ? >> >> If so, simple and detailed instructions on how to do so would be very >> appreciated :) I've seen a couple of posts such as >> http://lists.trolltech.com/pipermail/qt-qml/2010-May/000366.html, but >> what I'm looking for is a set of detailed step by step instructions >> (i.e. tutorial-style) in order to help newbie qml programmers like me. >> >> Best, >> Sacha >> _______________________________________________ >> Qt-qml mailing list >> [email protected] >> http://lists.trolltech.com/mailman/listinfo/qt-qml >> > > > > -- > Regards > Jack > -- Regards Jack
_______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
