Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Solved] NetworkInfo and Symbian components
Qt 6.12 LTS is out! See what's new in the release blog

[Solved] NetworkInfo and Symbian components

Scheduled Pinned Locked Moved QML and Qt Quick
10 Posts 4 Posters 5.9k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    why this doesn't work together?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      What does not work together? How are you trying to make whichever two work together?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        if i create simple qml file:
        @import QtQuick 1.1
        import QtMobility.systeminfo 1.1
        import QtMobility.sensors 1.1
        import com.nokia.symbian 1.1

        Item {
        NetworkInfo {
        id: wlaninfo
        mode: NetworkInfo.WlanMode
        monitorNameChanges: true
        monitorSignalStrengthChanges: true
        }
        Text {
        id: signame
        color: "white"
        text: wlaninfo.networkName + " " +wlaninfo.networkSignalStrength
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.verticalCenter: parent.verticalCenter
        }
        }@

        ...im getting this error: Element is not creatable.
        NetworkInfo {
        ^

        removing line: import com.nokia.symbian 1.1 removes the error but means i can't use symbian components

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          import QtMobility.systeminfo 1.1

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            it's already there look at my code snipped... can you paste in your example?

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              I made it as a part of a quite big code but some basic sniplets, ici il est:

              @import QtQuick 1.1
              import com.nokia.symbian 1.1
              import QtMobility.systeminfo 1.1
              import MojeInfo 1.0

              import "gfx"

              @
              @ NetworkInfo{
              id: myNetwork
              }
              @
              @ SysListItem{
              id: sli5
              x: 110
              y: 170
              txt: "MAC: "+myNetwork.macAddress
              }@

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                seems like incorect import order:
                this works:
                @import QtQuick 1.1
                import com.nokia.symbian 1.1
                import QtMobility.systeminfo 1.1@
                this one doesn't:
                @import QtQuick 1.1
                import QtMobility.systeminfo 1.1
                import com.nokia.symbian 1.1@
                thanks for helping me out!

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  Don't remember to edit title and mark topic as [SOLVED] or [CLOSED] :D

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mlong
                    wrote on last edited by
                    #9

                    [quote author="akrynski" date="1331224430"]Don't remember to edit title and mark topic as [SOLVED] or [CLOSED] :D[/quote]

                    [Solved], not [Closed]. Closed is something different. (Its when the thread has been closed to further comments.)

                    Software Engineer
                    My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      [quote author="mlong" date="1331227384"]

                      [Solved], not [Closed]. Closed is something different. (Its when the thread has been closed to further comments.)[/quote]

                      OK. Tnx

                      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
                      • Unsolved