Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    send me your code, I will try check at my side. my id is kkrish121@gmail.com

  2. #17
    Registered User dj.pravs's Avatar
    Join Date
    Mar 2012
    Posts
    13
    Hi Krish,

    Sent you the file.

    dj!

  3. #18
    Registered User dj.pravs's Avatar
    Join Date
    Mar 2012
    Posts
    13
    Mail bouncing from your id!! Is this correct: kkrish121@gmail.com

  4. #19
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    I got the email.

    Just made two changes its working fine. do the changes, if it won't work I will send the modified code back to you.
    main.cpp
    //viewer.setMainQmlFile(QLatin1String("qml/QTMOB/MainPage.qml"));
    viewer.setMainQmlFile(QLatin1String("qml/QTMOB/main.qml"));

    MainPage.qml
    before
    import QtQuick 1.1
    import QtMobility.systeminfo 1.1
    import com.nokia.symbian 1.1

    Now:
    import QtQuick 1.1
    import com.nokia.symbian 1.1
    import QtMobility.systeminfo 1.1

  5. #20
    Registered User dj.pravs's Avatar
    Join Date
    Mar 2012
    Posts
    13
    //viewer.setMainQmlFile(QLatin1String("qml/QTMOB/MainPage.qml"));
    viewer.setMainQmlFile(QLatin1String("qml/QTMOB/main.qml"));I had intentionally pointed to MainPage

    This change:
    import QtQuick 1.1
    import com.nokia.symbian 1.1
    import QtMobility.systeminfo 1.1

    Worked!! Unbelievable!! what's the magic behind this?? Any idea?

    And Kkrish, thanks a lot!!

  6. #21
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    Can't say what is the reason but from the error I can say, systeminfo package was not imported

  7. #22
    Registered User dj.pravs's Avatar
    Join Date
    Mar 2012
    Posts
    13
    Is there any good book on QtMobile + Symbian native coding? I couldn't find books on QML too..
    I have the link to nokia's docs!

  8. #23
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    Check the learning section you will get very good stuff.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. aptana调试一个Widget 总是报未知插件 application/x-systeminfo-widget这个错误,
    By kevinweijun in forum Web Technologies and Multimedia Content- Web 技术和多媒体内容
    Replies: 3
    Last Post: 2011-02-18, 02:28
  2. Qt Mobility missing libqtm-systeminfo
    By Sasler in forum Nokia N9
    Replies: 3
    Last Post: 2010-06-30, 11:43
  3. Undefined values with SystemInfo Service API (WRT 1.0)
    By jappit in forum Symbian Web Runtime
    Replies: 2
    Last Post: 2010-04-19, 12:29
  4. SystemInfo Service API
    By shankx in forum Symbian Web Runtime
    Replies: 3
    Last Post: 2009-09-14, 08:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved