Error in building project for symbian devices
Hi all,
I am new to QT. I have just started the development using the QT SDK 1.2.1 I followd the getting started guide to build the hello world example both for simulator and symbian devices. For the emulator, the build was successful and it ran successfully. However whe I try to build for symbian devices, I get the following errors
[CODE]
14:48:26: Starting: "F:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\tools\make.exe" release-gcce -w
make.exe: Entering directory `F:/Qtprojects/NewTest'
sbs -c arm.v5.urel.gcce4_4_1
qt-tools : F:\Qtprojects\NewTest\moc\moc_qmlapplicationviewer.cpp [arm.v5.urel.gcce4_4_1]
mifconv : BITMAP [arm.v5.urel.gcce4_4_1]
resource : epoc32\build\newtest\c_a41b85c31e27897d\NewTest_exe\NewTest_NewTest.rsc [arm.v5.urel.gcce4_4_1]
resource : epoc32\build\newtest\c_a41b85c31e27897d\NewTest_reg_exe\NewTest_reg_NewTest_reg.rsc [arm.v5.urel.gcce4_4_1]
compile : main.cpp [arm.v5.urel.gcce4_4_1]
In file included from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32cmn.h:1114,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32std.h:25,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic_symbian.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic_arch.h:86,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qbasicatomic.h:227,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qbytearray.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qstring.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qobject.h:48,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qcoreapplication.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtGui/qapplication.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtGui/QApplication:1,
from F:/Qtprojects/NewTest/main.cpp:1:
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32des8.h:224: note: the mangling of 'va_list' has changed in GCC 4.4
In file included from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32cmn.h:6794,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32std.h:25,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic_symbian.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic_arch.h:86,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qbasicatomic.h:227,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qbytearray.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qstring.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qobject.h:48,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qcoreapplication.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtGui/qapplication.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtGui/QApplication:1,
from F:/Qtprojects/NewTest/main.cpp:1:
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32cmn.inl: In member function 'SSecureId::operator const TSecureId&() const':
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32cmn.inl:7109: warning: returning reference to temporary
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32cmn.inl: In member function 'SVendorId::operator const TVendorId&() const':
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32cmn.inl:7149: warning: returning reference to temporary
In file included from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_num_put.h:194,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_ostream.c:26,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_ostream.h:385,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_string_io.h:23,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/string:38,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qstring.h:60,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qobject.h:48,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qcoreapplication.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtGui/qapplication.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtGui/QApplication:1,
from F:/Qtprojects/NewTest/main.cpp:1:
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_num_put.c: In function '_OutputIter stlp_priv::__copy_integer_and_fill(const _CharT*, ptrdiff_t, _OutputIter, int, std::streamsize, _CharT, _CharT, _CharT)':
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_num_put.c:162: warning: suggest parentheses around '&&' within '||'
In file included from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_istream.h:355,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_string_io.h:27,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/string:38,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qstring.h:60,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qobject.h:48,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qcoreapplication.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtGui/qapplication.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtGui/QApplication:1,
from F:/Qtprojects/NewTest/main.cpp:1:
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_istream.c: In function 'std::streamsize stlp_priv::__read_buffered(std::basic_istream<_CharT, _Traits>*, std::basic_streambuf<_CharT, _Traits>*, std::streamsize, _CharT*, _Is_Delim, _Scan_Delim, bool, bool, bool)':
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/stdapis/stlportv5/stl/_istream.c:650: warning: suggest parentheses around '&&' within '||'
compile : moc\moc_qmlapplicationviewer.cpp [arm.v5.urel.gcce4_4_1]
In file included from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32cmn.h:1114,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32std.h:25,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic_symbian.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic_arch.h:86,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qbasicatomic.h:227,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qbytearray.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qstring.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qdatetime.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtDeclarative/qdeclarativeview.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtDeclarative/QDeclarativeView:1,
from F:/Qtprojects/NewTest/moc/../qmlapplicationviewer/qmlapplicationviewer.h:14,
from F:/Qtprojects/NewTest/moc/moc_qmlapplicationviewer.cpp:10:
F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32des8.h:224: note: the mangling of 'va_list' has changed in GCC 4.4
In file included from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32cmn.h:6794,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/epoc32/include/e32std.h:25,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic_symbian.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic_arch.h:86,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qbasicatomic.h:227,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qatomic.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qbytearray.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qstring.h:46,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtCore/qdatetime.h:45,
from F:/QtSDK/Symbian/SDKs/Symbian3Qt474/include/QtDeclarative/qdeclarativeview.h:45,
......
Run time 11 seconds
sbs: build log in F:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\build\Makefile.2012-09-20-14-48-27.2-5644.log
make.exe: Leaving directory `F:/Qtprojects/NewTest'
14:48:38: The process "F:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\tools\make.exe" exited normally.
[/CODE]
I want to know how to correct these errors. Please help me out.
thanks and regards,
kumarsai
Re: Error in building project for symbian devices
Hi
there is no errors in your log, perhaps you have posted something not relevant to your problem. If you confused by warnings in your log -- they do not affect build process -- it seems it has succeeded