Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-15934

QML app using QDeclarativeView asks for internet connection on maemo device

    XMLWordPrintable

Details

    Description

      I wrote a small qml app which uses a XmlListModel filled via an xml in a qrc file. The app runs fine in the QtSimulator. When I deploy the app onto my maemo device (n900) and start it there, the device wants to open a internet connection. The whole app has no reference to the internet. The xml does not even reference a schema

      As soon as I connect the device to the internet the applications runs fine.

      It seems to that somehow the QNetworkAccessManager makes the device think it needs an internet connection.

      I have attached a small example that illustrates the issue:

      It is a simple example using a ListView with a simple ListModel and another ListView with a XmlListModel.

      The behaviour is like that: In both cases the n900 asks for an internet connection. But only when using the simple ListModel, actual data is displayed.

      Case A: Using the XmlListModel
      1) the connection window pops up
      2) Me cancels the connection dialog
      3) the application does not display anything

      Case B: Using the simple ListModel:
      1) the connection window pops up
      2) Me cancels the connection dialog
      3) the application displays the data

      Regards,
      Markus

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bealam Bea Lam (closed Nokia identity) (Inactive)
            markus.liebe Markus Liebe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes