×

Discussion Board

Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    (First of all I would like to apologies for creating this thread when there are similar existing ones, but I have a feeling that the issue I'm having could be related to Windows 7 64 bit, so I thought a new thread would be good.)

    My problem is that while Qt Mobility works with Maemo and Qt Simulator using Qt Creator (2.0.0), it doesn't work with Symbian. It simply doesn't find the libraries. I've tried to using some code examples directly, but the result is always the same.

    I'm using the newest Nokia Qt SDK with the latest updates on my Windows 7 64 bit computer. I've tried with two different computers running the same operating system. Both have the same result.

    For the record, I've just installed Nokia Qt SDK with all the updates. I haven't done any additional installations for Qt Mobility. Many Wiki pages point to Setting up environment for Qt Mobility API, but I'm under the impression that this is no longer needed for Nokia Qt SDK. Please correct me if I'm wrong.

    Would someone please help me get Qt Mobility working on Symbian. It would be very much appreciated.

    Cheers

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Do you have Qt Mobility libraries installed on your test phone?

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Quote Originally Posted by divanov View Post
    Do you have Qt Mobility libraries installed on your test phone?
    I don't have a Symbian test phone yet. I'm just trying to build the package, so that I can use it in Remote Device Access. But it won't even build it, as it will stop with Qt Mobility errors. It simply doesn't recognise it.

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Quote Originally Posted by Sasler View Post
    I don't have a Symbian test phone yet. I'm just trying to build the package, so that I can use it in Remote Device Access. But it won't even build it, as it will stop with Qt Mobility errors. It simply doesn't recognise it.
    Ok, can we see these errors?

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Quote Originally Posted by divanov View Post
    Ok, can we see these errors?
    Well even adding the following line will give an error in Qt Creator (brownish underline, that is):

    Code:
    using namespace QtMobility;
    The error is:

    expected namespace
    Or when I try to add some libraries like:

    Code:
    #include <QSystemDeviceInfo>
    I get:

    QSystemDeviceInfo: not such file or directory
    And yes, I do have the following in the .pro file:

    Code:
    CONFIG += mobility
    MOBILITY += bearer \
        systeminfo
    As for the errors when I try to build it, they are all similar:

    undefined reference to 'QtMobility::Qt...

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Could you search your hard drive(s) for file with name QSystemDeviceInfo.

  7. #7
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Quote Originally Posted by divanov View Post
    Could you search your hard drive(s) for file with name QSystemDeviceInfo.
    I found it in 3 different locations:

    C:\NokiaQtSDK\Simulator\QtMobility\mingw\include\QtSystemInfo\
    C:\NokiaQtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-1030-slim\usr\include\QtSystemInfo\
    C:\NokiaQtSDK\Symbian\SDK\epoc32\include\middleware\

  8. #8
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Thus, it's available for Symbian target.

  9. #9
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Quote Originally Posted by divanov View Post
    Thus, it's available for Symbian target.
    Yeah, but it doesn't work.

  10. #10
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    What about qsysteminfo.h?

  11. #11
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Are the errors during build coming out of the compile steps or the link steps?

  12. #12
    Registered User
    Join Date
    Dec 2005
    Posts
    63

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Just want to tell Sasler that i have exactly the same errors and same wondering with Xp.

  13. #13
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Quote Originally Posted by danhicksbyron View Post
    What about qsysteminfo.h?
    Yes, they are there. Same places.

  14. #14
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Quote Originally Posted by pkarpion View Post
    Just want to tell Sasler that i have exactly the same errors and same wondering with Xp.
    Well this is very odd, but in my laptop it started working now! I'm not sure what I did and I think I did exactly the same things with my other computer. Anyway, this is what I THINK I did: I uninstalled Nokia Qt SDK, then I manually deleted all the remaining files and folders, including the ones in AppData. I also deleted all the existing Qt folders I had previously installed. I need to try this again an my other computer when I get the time and I'll post more info.

    Thanks to all for your help

  15. #15
    Registered User
    Join Date
    Dec 2005
    Posts
    63

    Re: How to get Qt Mobility working for Symbian on Nokia Qt SDK in Windows 7 64 bit?

    Check what building target you have. (I was also glad until I noticed that it worked right only with simulator.)

Page 1 of 3 123 LastLast

Similar Threads

  1. Qt Creator code completion not working with Qt Mobility for Symbian
    By ceefour in forum [Archived] Qt Mobility Project
    Replies: 4
    Last Post: 2011-09-10, 05:02
  2. QT SDK not installing in Windows 7 64 bit
    By pjmlp in forum [Archived] Qt SDKs and Tools
    Replies: 7
    Last Post: 2010-08-23, 12:21
  3. Replies: 3
    Last Post: 2010-06-30, 01:17
  4. Nokia Qt SDK missing QT Mobility - messaging
    By Zeddeh in forum [Archived] Qt SDKs and Tools
    Replies: 5
    Last Post: 2010-06-07, 08:46
  5. Is QT mobility part of Nokia QT SDK ?
    By ashwin_h in forum [Archived] Qt SDKs and Tools
    Replies: 7
    Last Post: 2010-05-04, 17:45

Posting Permissions

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