PDA

View Full Version : Mobile extensions compiling problem



Andrewshkovskii
9th June 2010, 16:47
Hello all! I got a problem with mobile extension. Here is my conf :
i downloaded QT Nokia SDK (offline version), installed it, tested with small simple application in emulator - everything work's fine. Now i downloaded and installed mobile extension from here http://wiki.forum.nokia.com/index.php/Mobile_Extensions and try to compile project with Telephony. I edited the .pro file of example , and i got an undefined error :


Exited with code 0.
Configuration unchanged, skipping qmake step.
Starting: D:/storage/programming/MinGW/bin/mingw32-make.exe -w
mingw32-make: Entering directory `D:/storage/programming/QtSymbian/XQ/extensions/examples/TelephonyEx-build'
D:/storage/programming/MinGW/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `D:/storage/programming/QtSymbian/XQ/extensions/examples/TelephonyEx-build'
uic ..\telephonyex\telephonyexwindow.ui
compiling ../telephonyex/main.cpp
compiling ../telephonyex/telephonyexwindow.cpp
moc ..\telephonyex\telephonyexwindow.h
compiling debug/moc_telephonyexwindow.cpp
linking debug\TelephonyEx.exe
mingw32-make[1]: Leaving directory `D:/storage/programming/QtSymbian/XQ/extensions/examples/TelephonyEx-build'
mingw32-make: Leaving directory `D:/storage/programming/QtSymbian/XQ/extensions/examples/TelephonyEx-build'
debug/telephonyexwindow.o: In function `TelephonyExWindow':
D:\storage\programming\QtSymbian\XQ\extensions\exa mples\TelephonyEx-build/../telephonyex/telephonyexwindow.cpp:9: undefined reference to `_imp___ZN11XQTelephonyC1EP7QObject'
D:\storage\programming\QtSymbian\XQ\extensions\exa mples\TelephonyEx-build/../telephonyex/telephonyexwindow.cpp:12: undefined reference to `_imp___ZN11XQTelephony19startMonitoringLineEv'
D:\storage\programming\QtSymbian\XQ\extensions\exa mples\TelephonyEx-build/../telephonyex/telephonyexwindow.cpp:9: undefined reference to `_imp___ZN11XQTelephonyC1EP7QObject'
D:\storage\programming\QtSymbian\XQ\extensions\exa mples\TelephonyEx-build/../telephonyex/telephonyexwindow.cpp:12: undefined reference to `_imp___ZN11XQTelephony19startMonitoringLineEv'
debug/telephonyexwindow.o:D:\storage\programming\QtSymbi an\XQ\extensions\examples\TelephonyEx-build/../telephonyex/telephonyexwindow.cpp:32: undefined reference to `_imp___ZN11XQTelephony4callERK7QString'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\TelephonyEx.exe] Error 1
mingw32-make: *** [debug] Error 2
Exited with code 2.
Error while building project TelephonyEx (target: Qt Simulator)
When executing build step 'Make'

That is the problem? debug and release version error's are same..

After that ..
I uninstalled all Qt stuff, cleaned registry for qt and symbian..
Reinstalled :
1. Carbide + ActivePerl + Symbian S60 SDK + CSL;
2. Setuped Nokia QT SDK (full)
3. Setuped Mobile Extensions (like said in wiki)
and projects still wont compile... In wiki said what :

# Simpler usage:

* "system include" directory containing all public headers added
* Only LIBS += xq* is needed in .pro files


But i tryed to do that

#-------------------------------------------------
#
# Project created by QtCreator 2010-06-09T14:02:42
#
#-------------------------------------------------

QT += core gui

TARGET = QXTest
TEMPLATE = app
LIBS += xqtelephony
SOURCES += main.cpp\
widget.cpp
INCLUDEPATH += D:\storage\programming\QtSymbian\MEP3\extensions\i nclude
HEADERS += widget.h

FORMS += widget.ui

And nothing.. just error :

:: error: xqtelephony: No such file or directory
What i'am doing wrong?