I've been following the instructions for installing Qt 4.7 onto Symbian from source: http://doc.qt.nokia.com/4.7-snapshot...l-symbian.html
However I use mingw32-make instead of make. Qt built successfully for both 'debug-winscw' and 'release-armv5'. I am only interested in 'release-armv5' though, since I want to install Qt onto a device.
The problem arises when I follow the instructions to build the Qt sis files using the target 'sis'. Since I'm using mingw32-make, the command I run is:
However I recieve the following error:
mingw32-make sis QT_SIS_OPTIONS=-i QT_SIS_CERTIFICATE=MyCertificate.der QT_SIS_KEY=MyKey.pem
I traced the flow of control:
make -f Makefile ok_sis MAKEFILES=.make.cache
make: Entering directory `T:/qt-src-4.7.0/src/s60installs'
createpackage.bat -i Qt_template.pkg RELEASE-ARMV5 SEMCTestInstall.der
Error : Cannot find file : t:/epoc32/release/armv5/urel/phonon_mmf.dll
qt_release-armv5.pkg(32) : error: file I/O fault.
file I/O fault, cannot open qt_unsigned.sis.
SIS creation failed!
make: Leaving directory `T:/qt-src-4.7.0/src/s60installs'
createpackage.pl seems to have a problem when it attempts to create a sis file from the Qt_template.pkg file. I tested this by attempting to create the sis file manually using the following command.
Step 1) mingw32-make sis
Step 2) Makefile sis target
Step 3) createpackage.bat
Step 4) createpackage.pl
I received the following error:
Both errors report the phonon_mmf.dll file cannot be found. Has anyone had this problem or have any suggestions to btter track down the problem?
Error : Cannot find file : t:/epoc32/release/$(PLATFORM)/$(TARGET)/phonon_mmf.dll
Qt_template.pkg(32) : error: file I/O fault.
Update on this problem
I tried commenting out the phonon entries in Qt_template.pkg, however the error just moved to the next binary it couldn't find. So I guess it's not phonon specific, but some problem with paths, perhaps $PLATFORM and $TARGET are incorrect, leading to lines like the following causing an error:
"t:/epoc32/release/$(PLATFORM)/$(TARGET)/phonon_mmf.dll" - "c:\sys\bin\phonon_mmf.dll"