×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Jan 2009
    Location
    ભારત->ગુજરાત->ભાવનગર
    Posts
    279

    Question How to configure mobile extension with QT??

    hi
    Actually i don't know how to configure Mobile extension with QT-4.5??

  2. #2
    Registered User
    Join Date
    Jan 2009
    Posts
    15

    Re: How to configure mobile extension with QT??

    refer to http://wiki.forum.nokia.com/index.php/Mobile_Extensions

    I have used the qt contacts apis, copy the source codes and add them to your project. Should be very easy to add other extensions.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    9

    Re: How to configure mobile extension with QT??

    Hi all,
    I too am a little confused about the installation of the Qt mobile extensions. Once you download the Mobile_extensions_preview_2.zip, how exactly do you use the examples in Carbide? In a previous post the expression "copy the source codes" was used? Where do you copy them to?

    Thanks.

  4. #4
    Regular Contributor
    Join Date
    May 2007
    Posts
    468

    Re: How to configure mobile extension with QT??

    Hi,
    the best way to get started is to have a look at the examples. Each of the APIs has an example, f.ex extensions\contacts\example. Import the pro file to carbide and you can run it.

    About using the APIs in your own application, developing with the APIs consists of two steps:

    1) Adding the needed source and headers files as part of your project
    2) Adding needed configurations to .pro file

    There are two ways to do this
    a) By using Carbide class templates the needed source and hearer files will be added as part of your project. In addition you’ll need to add the libraries and capabilitities to the .pro file. An example from the camera API
    symbian:LIBS += -lmediaclientaudio \
    -lmediaclientaudioinputstream
    symbian:TARGET.CAPABILITY += UserEnvironment
    b) Another option is NOT to use the Carbide class templates but to copy the API implementation (sources and headers) to your project folder and add the headers and sources to .pro file. Also the needed libraries and capabilities need to be defined (same as with the Carbide class templates).

    In the API documentation refer to the implementation notes that shows the needed additions to the .pro file for each of the APIs.

    Cheers,
    Jack

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

    Re: How to configure mobile extension with QT??

    I recently downloaded Mobile_extensions_preview_3.zip. This has all the files which is needed for compilation. Include files and Libs.
    It also has some examples to show. Pre compiled sis as well as the source code. I tried the sis examples. But that does not execute at all. I already installed the qt_mobile_ext_libs.sisx to the device. Prior to that I had installed qt_selfsigned.sis from Qt 4.6 package. Whi readme.txt of Extn says that u need 4.5.
    "
    NOTE: Before installing any of these items, first ensure that you have
    Qt for S60 4.5.2-Tower release installed on your device.
    See http://www.qtsoftware.com/developer/...iew-qt-for-s60
    "

    But the link is not valid anymore. Can anyone help?

    Thanks in advance.
    Shashi.

  6. #6
    Registered User
    Join Date
    May 2010
    Posts
    19

    Smile Re: How to configure mobile extension with QT??

    Hi everyone,

    I just downloaded the cameraexample project from the site but I cant find the mobile_extensions_preview_3.zip file anywhere on the internet? Where did you download it from?

    Thanks and regards,
    Ashish.

  7. #7
    Registered User
    Join Date
    May 2010
    Posts
    19

    Smile Re: How to configure mobile extension with QT??

    Hi again! I found the include files in the CameraWrapper directory and copied them to the "inc" directory. Now, the only error I am getting is for "the file 'CameraExample_0xEF24C10A.rsg' cannot be opened"
    I cannot find this .rsg file anywhere. Can anyone please help. I am using carbide.c++ of course.

    Regards,
    Ashish.

  8. #8
    Registered User
    Join Date
    Jun 2010
    Location
    Bangalore,India
    Posts
    21

    Re: How to configure mobile extension with QT??

    Hello,

    I was trying to use the qt mobile extension library in s60 sdk along with Qt for symbian and qt creator,As per the instruction copied all the library into epoc32 folder of sdk,but when i tried to do a sample program using these libraries then,the BUILD is successful the program is starting and suddenly exiting with some error code..

    .Pro file:-

    QT += core gui

    TARGET = test_mobile_extensions
    TEMPLATE = app

    INCLUDEPATH += C:\QtMobileExtensions\extensions\include
    SOURCES += main.cpp\
    mainwindow.cpp

    HEADERS += mainwindow.h

    FORMS += mainwindow.ui

    CONFIG += mobility
    MOBILITY =
    symbian:LIBS += -lxqmessaging

    symbian:TARGET.CAPABILITY = NetworkServices \
    LocalServices \
    ReadUserData \
    WriteUserData \
    UserEnvironment \
    ReadDeviceData \
    WriteDeviceData

    symbian {
    TARGET.UID3 = 0xe8253c9d
    # TARGET.CAPABILITY +=
    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x020000 0x800000
    }

    .cpp file:-
    #include "mainwindow.h"
    #include "ui_mainwindow.h"
    #include<XQMessaging>
    MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
    {
    ui->setupUi(this);
    }

    MainWindow::~MainWindow()
    {
    delete ui;
    }

    void MainWindow:n_pushButton_clicked()
    {
    XQMessaging* messaging = new XQMessaging(this);

    // Connect error signal and slots
    connect(messaging, SIGNAL(error(XQMessaging::Error)), this, SLOT(messagingError(XQMessaging::Error)));

    QStringList receivers;
    receivers << "+35801234567" << "+35807654321";

    QString messageBody("Hello!");

    // Create message
    XQMessage message(receivers, messageBody);

    // Send message
    messaging->send(message);


    }


    Out put
    Starting C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\winscw\udeb\test_mobile_extensions.exe...
    C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\winscw\udeb\test_mobile_extensions.exe exited with code -1073741512

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

    Re: How to configure mobile extension with QT??

    You don't have to copy anything. Everything should be available in Nokia Qt SDK.

  10. #10
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: How to configure mobile extension with QT??

    I had a query, Is mobile extension is also available with nokia Qt SDK?
    Jajal Mehul

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

    Re: How to configure mobile extension with QT??

    Sorry, I've mixed Qt Mobility and Mobile Extensions. Then Mobile Extensions are deprecated, use Qt Mobility instead and again there is no need to install anything.

  12. #12
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: How to configure mobile extension with QT??

    I think there is no final version of the mobile extension was released only the Tech-preview was released. So you want find any more developement towards this side. So using
    Qt mobility would be better option.
    Jajal Mehul

Similar Threads

  1. Fix problem on WLAN ad hoc between PC and Mobile
    By jusore in forum Mobile Web Server
    Replies: 0
    Last Post: 2008-06-30, 16:11
  2. channel for going to market
    By matrix241 in forum News and Announcements
    Replies: 12
    Last Post: 2008-04-05, 17:42
  3. Replies: 11
    Last Post: 2007-10-03, 19:46
  4. sonify.org to focus on mobile device audio
    By hp3 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-10-16, 16:39

Posting Permissions

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