Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. General OS-related error
Forum Updated to NodeBB v4.3 + New Features

General OS-related error

Scheduled Pinned Locked Moved Mobile and Embedded
11 Posts 3 Posters 4.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fortik
    wrote on last edited by
    #1

    In my simple Hello World application i included #include <QAccelerometer> in the h file and

    sensor = new QAccelerometer(this);

    bool ret = sensor->start();

    in the constructor.

    It compiles correctly but when i try to debug on my Nokia5800 it gives me

    General OS-related errore.

    Anyone knows what is the problem?

    I received from OV store the sis, crt and key.

    Regards

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      [quote author="fortik" date="1306824078"]
      General OS-related errore.
      [/quote]

      Hi,

      Please find more details regarding the error as there are may OS-related errors. I have experienced the same problem due to problems with certificate and signing or with the Qt compatibility on the device.

      Best regards,
      Leon

      http://anavi.org/

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fortik
        wrote on last edited by
        #3

        Unfortunately i have only a message box with General-OS related error. And no more. I think that the problem is using the QAccelerometer functions. If i do not include there is not error. Maybe i am not allowed to run accelerometer on Nokia5800? Regards

        1 Reply Last reply
        0
        • I Offline
          I Offline
          imrrk
          wrote on last edited by
          #4

          Hi fortik,as u have said that u have certificate and key,U should check whether the latest qt4.7 and qt mobility has been installed in your Nokia5800..

          regards
          imrrk

          1 Reply Last reply
          0
          • L Offline
            L Offline
            leon.anavi
            wrote on last edited by
            #5

            [quote author="fortik" date="1306825995"]Maybe i am not allowed to run accelerometer on Nokia5800? Regards[/quote]

            OK. Check what "capabilities":http://wiki.forum.nokia.com/index.php/Capabilities are required to run the accelerometer in Symbian and add them to the pro file of your project.

            http://anavi.org/

            1 Reply Last reply
            0
            • F Offline
              F Offline
              fortik
              wrote on last edited by
              #6

              On my Phone i have installed QT 4.07(3), QT installer 4.07 (3) QT mobility 1.00(2)

              On my project there is

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

              What TARGET.CAPABILITY should i put just to read the accelerometer.

              I registered to OVI, i suppose i could use all except Manufacturer-approved capabilities.

              Is it correct. Regards

              [EDIT: code formatting, please wrap in @-tags, Volker]

              1 Reply Last reply
              0
              • L Offline
                L Offline
                leon.anavi
                wrote on last edited by
                #7

                [quote author="fortik" date="1306828058"]
                I registered to OVI, i suppose i could use all except Manufacturer-approved capabilities.

                Is it correct. Regards [/quote]

                No, Nokia and Ovi are signing app for free only if the app does not use the following capabilities:
                To meet express-signed levels the content cannot make use any of the following capabilities: AllFiles, DRM, TCB, CommDD, DiskAdmin, NetworkControl, and MultimediaDD. For more info visit "Forum Nokia":http://www.forum.nokia.com/Distribute/Packaging_and_signing.xhtml

                If an app is using any of these capabilities it requires Certified signing by a testing house.

                http://anavi.org/

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  fortik
                  wrote on last edited by
                  #8

                  I signed to Nokia paying 1 euro.

                  Is there any way to read accelerometer on my Nokia5800, do a sample program and that's it?

                  I can include compile and so on, when i try to debug and install on Phone, always General-OS related error.

                  Regards

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    leon.anavi
                    wrote on last edited by
                    #9

                    [quote author="fortik" date="1306833343"]I signed to Nokia paying 1 euro.

                    Is there any way to read accelerometer on my Nokia5800, do a sample program and that's it?
                    [/quote]

                    Please use Google (or alternative search engine) before asking :) There is an example at Forum Nokia: http://wiki.forum.nokia.com/index.php/Qt_Mobility_example_application:_Fall_Detector

                    The following capabilities are required for the example:
                    @
                    CAPABILITY = Location NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment ReadDeviceData WriteDeviceData
                    @

                    http://anavi.org/

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      fortik
                      wrote on last edited by
                      #10

                      Thank you very much, i could not find the sample. Very helpful. Just last question, i loaded the sample on QT and needed to put my crt and key to compile and let it work. Is it correct or should it be possible to compile also with the self signed option. Anyway i am already happy it works perfectly.
                      Regards.
                      Thread close

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        leon.anavi
                        wrote on last edited by
                        #11

                        [quote author="fortik" date="1306835687"] Is it correct or should it be possible to compile also with the self signed option. [/quote]

                        Depends on the capabilities. Btw compiling is not connecting to signing. You can self sign applications if they have only basic capabilities.

                        http://anavi.org/

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved