×

Discussion Board

Results 1 to 4 of 4

Thread: qson problem

  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    192

    Question qjson problem

    hey,

    i have a problem using qjson on symbina S60 devices using qt.
    when i add the files for parsing the json, the application work fine on the Symbian^3 devices. but it does not even open on the S60 devices.
    So i have created a simple project which inside i have only include the json headers and sources, and i did not write a line of code; and still the application doesn't open on the S60 devices 3rd edition and 5th edition.
    Any help concerning this issue would be appreciated.
    Thanks.
    Find below my .pro :
    Code:
    QT       += core gui
    
    TARGET = testingjson
    TEMPLATE = app
    
    
    SOURCES += main.cpp\
            mainwindow.cpp \
        serializerrunnable.cpp \
        serializer.cpp \
        qobjecthelper.cpp \
        parserrunnable.cpp \
        parser.cpp \
        json_scanner.cpp \
        json_parser.cc
    
    HEADERS  += mainwindow.h \
        stack.hh \
        serializerrunnable.h \
        serializer.h \
        qobjecthelper.h \
        qjson_export.h \
        qjson_debug.h \
        position.hh \
        parserrunnable.h \
        parser_p.h \
        parser.h \
        location.hh \
        json_scanner.h \
        json_parser.hh
    
    FORMS    += mainwindow.ui
    
    INCLUDEPATH += C:\QtMobility\src\global
    
    CONFIG += mobility
    MOBILITY = bearer
    
    QT += network
    
    LD_LIBRARY_PATH = C:\QtMobility\lib
    INCLUDEPATH += "c:/qjson/src"
    
    DEFINES += QJSON_MAKEDLL
    
    symbian {
        TARGET.UID3 = 0xeae19ced
        # TARGET.CAPABILITY += 
        TARGET.EPOCSTACKSIZE = 0x14000
        TARGET.EPOCHEAPSIZE = 0x020000 0x800000
        TARGET.CAPABILITY = NetworkServices \
                            ReadUserData \
                            WriteUserData \
                            ReadDeviceData \
                            WriteDeviceData \
                            LocalServices \
                            UserEnvironment \
                            TrustedUI
    }
    Last edited by lipos123; 2011-10-21 at 10:09.

  2. #2
    Registered User
    Join Date
    Jan 2011
    Posts
    192

    Re: qjson problem

    any update concerning this issue ?

    Best Regards

  3. #3
    Regular Contributor
    Join Date
    May 2010
    Posts
    362

    Re: qjson problem

    You should try making a small Helloworld example to make sure your device is properly set up.

    If you are using Qt 1.1.3 or later, building for Symbian 3rd edition does not work.
    You need to download: ftp://ftp.qt.nokia.com/qtsdk/Qt_SDK_..._v1_1_2_en.exe
    And build for 4.6.3 target. Remember to install the necessary Qt libraries and TRK on the devices too.
    Although in your case, I would imagine the problem would be you building for 4.7.x

  4. #4
    Registered User
    Join Date
    Jan 2011
    Posts
    192

    Re: qjson problem

    Quote Originally Posted by teemup View Post
    You should try making a small Helloworld example to make sure your device is properly set up.

    If you are using Qt 1.1.3 or later, building for Symbian 3rd edition does not work.
    You need to download: ftp://ftp.qt.nokia.com/qtsdk/Qt_SDK_..._v1_1_2_en.exe
    And build for 4.6.3 target. Remember to install the necessary Qt libraries and TRK on the devices too.
    Although in your case, I would imagine the problem would be you building for 4.7.x
    a helloworld test was making, and i am able to build any sort of application on all the devices.
    and also i am able to send message , retreive contacts, and access the mobility well.
    the problem is that just when i am using qjson it doesn't work, because the qjson object isn't include in the qtmobility or the qtsdk. so i have download it from this website
    Note that i am using qt4.6.3, and that the qjson wich it was downloaded doesn't contain a .pro file. it contains only .h and .cpp files.

    Best Regards

Posting Permissions

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