×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    13

    Nokia Qt SDK and Qt Mobility - Installation Problems

    Hello Friends,

    For the last two or three weeks i am trying to configure the Qtmobility environment but unfortunately i cant success on that so i need all of yours Help. Thanks

    According to Nokia
    The Nokia Qt SDK is an easy-to-install and use development environment for Qt application developers targeting mobile platforms such as Symbian and Maemo™. Installation and setup are easy: Just download the installation file for your platform and let the Nokia Qt SDK Setup Wizard guide you through the process.
    But in my experience its a difficult task (I am new to these). I installed the Nokia Qt SDK as per this instructions http://www.forum.nokia.com/Develop/Qt/Getting_started/

    The installation done without any errors, but the real problem is starting from now. when i try to add the header file qmessage.h its gives errors



    But i can add the qmessage.h as #include <QtMessaging/qmessage.h>



    but all the examples thats available on net shows it as #include <qmessage.h>

    example http://wiki.forum.nokia.com/index.ph...g_an_SMS_in_Qt

    After some googling i find this http://bugreports.qt.nokia.com/browse/QTSDK-98

    i done according to the instructions but no results.

    After a lot of googling i found this link http://techmenia.com/2010/09/08/how-...ows-perfectly/

    i also done according to this instructions in this time once i can able to add the header file <qmessage.h>. i thought all my problems with this solved but after a restart its again works as earlier,

    so friends please help me.

    Note:- I done all this with fresh installation copies

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK and Qt Mobility - Installation Problems

    What I see on the screenshot is a warning from IDE that it's not able to locate the header. Just ignore it.

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

    Re: Nokia Qt SDK and Qt Mobility - Installation Problems

    The examples are wrong. With a very few exceptions you should ALWAYS use" #include <QMessage>" (with no ".h"). Just #include the <> file matching the Qt class you're using.

  4. #4
    Registered User
    Join Date
    Oct 2010
    Posts
    13

    Re: Nokia Qt SDK and Qt Mobility - Installation Problems

    Quote Originally Posted by divanov View Post
    What I see on the screenshot is a warning from IDE that it's not able to locate the header. Just ignore it.
    Hi Daniil,

    Its not just warning, when we debug its creates an error

    Thanks

  5. #5
    Registered User
    Join Date
    Oct 2010
    Posts
    13

    Re: Nokia Qt SDK and Qt Mobility - Installation Problems

    Quote Originally Posted by danhicksbyron View Post
    The examples are wrong. With a very few exceptions you should ALWAYS use" #include <QMessage>" (with no ".h"). Just #include the <> file matching the Qt class you're using.
    Its also generate errors

    Thanks

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

    Re: Nokia Qt SDK and Qt Mobility - Installation Problems

    Then you have a configuration problem of some sort. (Though I'm guessing you knew that already.)

  7. #7
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Nokia Qt SDK and Qt Mobility - Installation Problems

    Quote Originally Posted by napstar View Post
    Its not just warning, when we debug its creates an error
    Please, provide error message from the console output.

  8. #8
    Registered User
    Join Date
    May 2011
    Posts
    4

    Re: Nokia Qt SDK and Qt Mobility - Installation Problems

    Hi napstar,
    Let try below code in .pro file

    Code:
    CONFIG += mobility
    MOBILITY = messaging  location
    # Bearer Management API was part of Qt Mobility before Qt 4.7
    equals(QT_MAJOR_VERSION, 4):lessThan(QT_MINOR_VERSION, 7) {
        MOBILITY += bearer
    }
    Last edited by divanov; 2011-06-01 at 14:25.

  9. #9
    Regular Contributor
    Join Date
    Oct 2007
    Location
    India
    Posts
    349

    Re: Nokia Qt SDK and Qt Mobility - Installation Problems

    Quote Originally Posted by napstar View Post
    Hello Friends,
    so friends please help me.
    Things are okay... or you have still any issue....
    Feel free for discussion...

Similar Threads

  1. Replies: 35
    Last Post: 2010-09-13, 12:05
  2. Replies: 3
    Last Post: 2010-06-30, 01:17
  3. 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
  4. Qt Mobility on Nokia Qt SDK Beta
    By santijdelatorre in forum [Archived] Qt Mobility Project
    Replies: 2
    Last Post: 2010-05-19, 14:33
  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
  •