×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    22

    QtMobility headers working on simulator but not on symbian.

    Hi.

    Today I decided to uninstall Nokia Qt SDK beta and installed and updated Nokia Qt SDK 1.0. Something went wrong apparently because now headers won't work when changing from Simulator to Symbian device, apps also won't build if I choose symbian.

    With beta I had no problem with headers. Any clue why headers won't work on symbian? Struggled whole day with this problem with no success.

    Versions after maintenance tool update are QtMobility for symbian 1.0.1-2, Qt Creator and symbian sdk 4.6.3-2


    edit. found Nokia QT SDK 1.0 beta installer from my computer and decided to give it a shot and now everything works fine. Didn't even have to configure anything for it to work. Would still be nice to know why mobility headers won't work on symbian debug mode on release version because smartinstaller automatically downloads QtMobility 1.0.1 so I have to manually install 1.0.0 to get apps working.
    Last edited by Harmiih; 2010-08-03 at 07:02.

  2. #2
    Registered User
    Join Date
    Dec 2008
    Posts
    3

    Re: QtMobility headers working on simulator but not on symbian.

    Hi,

    Even I am facing the same issue. I tried to execute a simple application to get the accelerometer reading.

    I was successful in getting the values in Simulator mode.

    Where as in Symbian debug mode, i could not compile the code.

    I get the following error message :

    .
    .
    .
    make -s -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\QTCode\SimpleApp\SIMPLEAPP_0XE52A9336\GCCE\SIMPLEAPP_0XE52A9336.GCCE" UDEB
    main.cpp
    In file included from /NokiaQtSDK/Symbian/SDK/epoc32/include/e32std.h:13,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/arch/qatomic_symbian.h:46,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qatomic_symbian.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/arch/qatomic_arch.h:86,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qatomic_arch.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/thread/qbasicatomic.h:227,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qbasicatomic.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/thread/qatomic.h:46,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qatomic.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/tools/qbytearray.h:45,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qbytearray.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/tools/qstring.h:46,
    .
    .
    .
    .
    In file included from /NokiaQtSDK/Symbian/SDK/epoc32/include/e32cmn.h:6691,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/e32std.h:13,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/arch/qatomic_symbian.h:46,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qatomic_symbian.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/arch/qatomic_arch.h:86,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qatomic_arch.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/thread/qbasicatomic.h:227,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qbasicatomic.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/thread/qatomic.h:46,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qatomic.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/tools/qbytearray.h:45,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qbytearray.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/tools/qstring.h:46,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qstring.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/kernel/qobject.h:48,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qobject.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qcoreapplication.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/QCoreApplication:1,
    from /QTCode/SimpleApp/main.cpp:1:
    /NokiaQtSDK/Symbian/SDK/epoc32/include/e32cmn.inl: In member function 'SSecureId:perator const TSecureId&() const':
    /NokiaQtSDK/Symbian/SDK/epoc32/include/e32cmn.inl:6975: warning: returning reference to temporary
    /NokiaQtSDK/Symbian/SDK/epoc32/include/e32cmn.inl: In member function 'SVendorId:perator const TVendorId&() const':
    /NokiaQtSDK/Symbian/SDK/epoc32/include/e32cmn.inl:7015: warning: returning reference to temporary
    In file included from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_alloc.h:60,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/memory:32,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_string.h:25,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/string:45,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/tools/qstring.h:60,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qstring.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/kernel/qobject.h:48,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qobject.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qcoreapplication.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/QCoreApplication:1,
    from /QTCode/SimpleApp/main.cpp:1:
    /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_new.h: At global scope:
    /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_new.h:150: warning: 'void* operator new(unsigned int, const std::nothrow_t&)' redeclared without dllimport attribute: previous dllimport ignored
    /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_new.h:152: warning: 'void* operator new [](unsigned int, const std::nothrow_t&)' redeclared without dllimport attribute: previous dllimport ignored
    /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_new.h:154: warning: 'void operator delete(void*, const std::nothrow_t&)' redeclared without dllimport attribute: previous dllimport ignored
    /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_new.h:156: warning: 'void operator delete [](void*, const std::nothrow_t&)' redeclared without dllimport attribute: previous dllimport ignored
    In file included from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_num_get.h:308,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_istream.c:33,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_istream.h:335,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_stream_iterator.h:57,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/iterator:47,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/tools/qlist.h:50,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qlist.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/kernel/qobject.h:50,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qobject.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qcoreapplication.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/QCoreApplication:1,
    from /QTCode/SimpleApp/main.cpp:1:
    /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_num_get.c: In function 'bool std::__get_integer(_InputIter&, _InputIter&, int, _Integer&, int, bool, char, const std::string&, const std::__true_type&)':
    /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_num_get.c:236: warning: suggest explicit braces to avoid ambiguous 'else'
    In file included from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_tree.h:594,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_map.h:34,
    from /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/map:38,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/tools/qmap.h:50,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qmap.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/kernel/qvariant.h:49,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qvariant.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/animation/qvariantanimation.h:48,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qvariantanimation.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/../../src/corelib/animation/qpropertyanimation.h:45,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/qpropertyanimation.h:1,
    from /NokiaQtSDK/Symbian/SDK/include/QtCore/QtCore:7,
    from /QTCode/SimpleApp/main.cpp:2:
    /NokiaQtSDK/Symbian/SDK/epoc32/include/stdapis/stlport/stl/_tree.c: In static member function 'static std::_Rb_tree_node_base* std::_Rb_global<_Dummy>::_Rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*&, std::_Rb_tree_node_base*&, std::_Rb_tree_node_base*&)':
    .
    .
    .
    EDIT >> I don't have the Beta version with me now, i deleted it .. Is it possible to get that online? I tried using google to find the beta version but no help.. Thanks in advance..
    Last edited by thevoidin; 2010-08-03 at 07:26.

  3. #3
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    73

    Re: QtMobility headers working on simulator but not on symbian.

    Hi
    I'm working with the full version (Nokia Qt SDK 1.0) since the beginning and have the very same problem. Simulator works, device not. Here is a solution posted, but it didn't work for me http://bugreports.qt.nokia.com/browse/QTSDK-98. Also the todays update of QtMobility (to 1.0.2) didn't fixed the problem.

  4. #4
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: QtMobility headers working on simulator but not on symbian.

    I don't see any error messages listed, just the somewhat usual warnings.

Similar Threads

  1. QtMobility not installed with Qt Creator 2.0 for Symbian
    By AS.Sri in forum [Archived] Qt SDKs and Tools
    Replies: 8
    Last Post: 2010-09-06, 12:16
  2. QtMobility 1.1.0 for Symbian preview
    By metaio in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-07-21, 07:59
  3. Error with QtMobility 1.0 after succesfully intall QtMobility tp2
    By Estel in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-06-21, 21:21
  4. QtMobility on Windows for Symbian header file problem
    By anothertest in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-06-17, 09:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×