Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qml network can't work on device?
Forum Updated to NodeBB v4.3 + New Features

Qml network can't work on device?

Scheduled Pinned Locked Moved QML and Qt Quick
12 Posts 6 Posters 6.0k 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.
  • T Offline
    T Offline
    tobias.hunger
    wrote on last edited by
    #3

    What kind of device is it?

    If it is symbian you will need the networking capability set.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sujun.deng
      wrote on last edited by
      #4

      I use N8 device.

      when I launch the application,will use wlan or cmnet to connect network,but have no result.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sujun.deng
        wrote on last edited by
        #5

        Add NetworkServices Capability ,but not load the remote picture.BTW,my device could connect the internet correctly.

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

          I heard there was an issue accessing "remote images" on the n900. Maybe it is not limited to it.

          Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jpetrell
            wrote on last edited by
            #7

            The above application example works fine on my N8, though you do need the NetworkServices capability if you're using Qt 4.7.1. From the upcoming Qt 4.7.2 onwards NetworkServices will be automatically appended to Symbian Qt applications that use declarative or webkit.

            Are you able to use networking on other Qt applications like weatherinfo demo? The demo can be found under Qt subdirectory demos\embedded\weatherinfo.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sujun.deng
              wrote on last edited by
              #8

              Thanks everyone.

              I study qml with rssnews demo in demos\declarative\rssnews example,and modify that project to Symbian c++ project,it could run and download the pictures and texts from remote server(yahoo server) on pc with Qt Creator IDE.But when I compile and make a sisx to install on N8,it could launch the app,but can't download pictures and texts.

              Because of that,I doubt something wrong with qml download remote resouces,so I did this simple test.Unfortionally,it has the same issuse with Rssnews demo.

              1 Reply Last reply
              0
              • H Offline
                H Offline
                huluyige
                wrote on last edited by
                #9

                @sujun.deng hi, i run into the same problem, did you get the solution?

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  andre
                  wrote on last edited by
                  #10

                  Did you add networking capabilities for Symbian? You need to specify that explicitly.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    huluyige
                    wrote on last edited by
                    #11

                    Andre, i did add

                    @TARGET.CAPABILITY = NetworkServices Location ReadUserData WriteUserData@

                    But I can download files using QNAM, what i dont understand is that : what's the difference between QNAM and default QNAM for QDeclarativeEngine.

                    You could find my thread having the similar problem "here":http://developer.qt.nokia.com/forums/viewthread/5639

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andre
                      wrote on last edited by
                      #12

                      ok, sorry, then I don't know.

                      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