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. Qml or widget for mobile app
QtWS25 Last Chance

Qml or widget for mobile app

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 3 Posters 2.5k Views
  • 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.
  • M Offline
    M Offline
    mkdh
    wrote on last edited by
    #1

    I want to create a mobile app like painter or simple photoshop (Some of algorithm for filling graph, etc, will be used). I had a simple widget code for desktop now.

    We want to use the mobile app(ios and android) to connect linux system by wifi( or BLE) in the future.

    And we want to create a code for linux system again after finishing the mobile app. Qml seems more hot then widget for mobile app.

    What should I use?Qml or widget ?

    Does Qt for android and ios support wifi and BLE?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Yes, WiFi was always supported, and BLE support was added in Qt 5.4, IIRC.

      For a painter app I would personally choose QtWidgets module and QGraphicsView class. But it is also doable in QML using Canvas API or maybe some custom QQuickItem.

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mkdh
        wrote on last edited by
        #3

        Thanks for your reply and suggestion.

        I will use Mac pro to develop Qt Code for android and ios mobile app simultaneously.

        Do you know the wifi and BLE sample code for Qt 5.4 ?

        I doubt that.( android and ios is so different...@^.^@)

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          WiFi just works. Use any of classes from QtNetwork module (QNetworkAccessManager, QTcpSocket, etc.) and it will simply use the system connection.

          For Bluetooth, see this: "link":http://doc.qt.io/qt-5/qtbluetooth-module.html.

          (Z(:^

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mkdh
            wrote on last edited by
            #5

            I am confused.

            Bluetooth is not supported yet on iOS??
            "https://qt-project.org/forums/viewthread/47987.":https://qt-project.org/forums/viewthread/47987

            But I just want to connect to linux system or some storage from my mobile app now.

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              No, as far as I am aware, it is not supported on iOS.

              (Z(:^

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi,

                Should be there for "5.5":http://qt-project.org/wiki/New-Features-in-Qt-5.5

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mkdh
                  wrote on last edited by
                  #8

                  Is there a simple source code for the WiFi connection?

                  My boss has now asked me to connect a storage by WiFi from the iOS/Android app.

                  After the connection, I must upload file to the storage. This is another question for me. But It happens after the WiFi connection.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    There's nothing particular you must do with Qt for the WiFi connection, just configure your device to access the network you need.

                    What is it for a network storage ? What protocol does it use ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mkdh
                      wrote on last edited by
                      #10

                      It is usb storage+wifi.

                      ref. "https://qt-project.org/forums/viewthread/52955/":https://qt-project.org/forums/viewthread/52955/

                      But we will layout one for ours.

                      BTW, I will try the WiFi.

                      QTcpSocket or Bearer Manager API etc?.....I am pretty much a newbie to Qt.

                      Does Qt REALLY support WiFi for ios and android ???

                      My Storage is WiFi direct.

                      Someone say Qt not support.

                      http://stackoverflow.com/questions/24096295/does-qt-support-wi-fi-direct-p2p-connections-on-mobile-platforms

                      my storage's document:

                      http://icirround.com/en/ishowdrive/

                      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