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. I'm starting to study QT, question inside :)
Forum Updated to NodeBB v4.3 + New Features

I'm starting to study QT, question inside :)

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 4 Posters 1.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.
  • A Offline
    A Offline
    aeroxr1
    wrote on last edited by
    #1

    HI :)
    I have posted a question on this forum related at Unity and QT, but now I ask you if you can suggest me a guide for learn QT programming :D

    I know C++ and I want to study QT for do a multiplatform app :)

    I want to do an android app , but before to study qt I want to do some question for understand if QT is adapt for do what I want to do :)

    With QT We can use all android's API ?
    If a library is compatible with QT is automatically compatible with android ?

    Because I know use android framework, but is interesting to do an multiplatform app without I have to know Window phone's programming language or IOS programming language ;)

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

      For basics, I recommend the Qt book ("link":http://qt-project.org/books/view/c_gui_programming_with_qt_4_2nd_edition_the_official_c_qt_book), or a newer one: "link":http://qmlbook.org/.

      Android is Java-based, and Qt is C++. There are ways to use the Android API, but it is not very straightforward.

      [quote]If a library is compatible with QT is automatically compatible with android ?[/quote]

      No. Only official Qt modules are required to run on all primary platforms. Even official add-on modules do not have that requirement. You need to the library documentation, or ask the developers to be sure.

      (Z(:^

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bibincr
        wrote on last edited by
        #3

        Android provides two ways to create android application

        1. Android SDk
        2. Android NDK

        Qt internally uses Android NDK and it is C++ based .

        If a library is compatible with QT is automatically compatible with android ?
        Some of the Qt libraries are compatible with android and some are not for e.g. Qt WebKit, Qt NFC, Qt Serial Port these modules are Qt modules are not supported :(

        Thanks & Regards
        Bibin

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

          Hi,

          Just some additional information:

          QSerialPort on Android is officially supported since 5.3

          WebKit is another problem, since AFAIK, it can't be built due to dependencies missing on Android. But you should be able to use a native web element if you need it. On iOS, it's one of the store rules that you can't use an external version of WebKit so again you have to use a native element.

          Currently the NFC module only has support for BlackBerry

          On a side not, it's Qt, QT stands for Apple QuickTime (that you might also want to learn ;))

          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
          • A Offline
            A Offline
            aeroxr1
            wrote on last edited by
            #5

            Thanks :)
            Now I start to read this" http://qmlbook.org/ch01/index.html#preface":http://qmlbook.org/ch01/index.html#preface
            (qml and qt is the same thing O.o )

            My target is do an android app, and the problem are two :

            1. in this app I have to plot a graph in real time
              and for do this I thought to use QTcustomplot, but i don't know if are compatible with android.

            2. I have to animate a rigged model and for do this I need to use a 3d library , but on QT I think is difficult , right ?

            Last question :

            • is possible to merge part of application write in QT library and part of application write with Android framework ?

            Thanks you very much :) You are the best :)

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

              [quote author="aeroxr1" date="1401197297"](qml and qt is the same thing O.o )[/quote]

              Not really, no. But you can start with assumption they are, and change it later ;-)

              QML is a language for rapid, modern and extremely easy implementation of User Interfaces. Qt offers much more than that: the classic QWidgets, lots of core capabilities (strings, regular expressions, date and time, command line), database connections, XML and JSON handling, etc.

              [quote]in this app I have to plot a graph in real time
              and for do this I thought to use QTcustomplot, but i don't know if are compatible with android.[/quote]

              You indeed need to check that yourself (ask the author, maybe?), but if they are using QPainter or the scenegraph to paint the plot, then it is most probably compatible with Android.

              [quote]I have to animate a rigged model and for do this I need to use a 3d library , but on QT I think is difficult , right?[/quote]

              Qt already offers a lot of OpenGL classes. And it will receive a major boost in that area in 5.4 or 5.5, by adding Qt3D module (you can check out the WIP version on Gitorious, the code is already available).

              [quote]is possible to merge part of application write in QT library and part of application write with Android framework?[/quote]

              It is possible, although not necessarily easy. But perhaps I am wrong - I have not done that myself yet.

              (Z(:^

              1 Reply Last reply
              0
              • A Offline
                A Offline
                aeroxr1
                wrote on last edited by
                #7

                "You indeed need to check that yourself (ask the author, maybe?), but if they are using QPainter or the scenegraph to paint the plot, then it is most probably compatible with Android."

                Yes, I sent e-mail to the author, now I'm also looking for other libraries for real time plot. For now I found nothing .

                For the 3d OpenGL ES are compatible with android, but i think is more difficult to move a rigged model with OpenGL ES, because online there aren't a lot of tutorials :/

                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