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. Learning qt5 and qml on android tablet with c4 droid
Forum Updated to NodeBB v4.3 + New Features

Learning qt5 and qml on android tablet with c4 droid

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 1.8k 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.
  • D Offline
    D Offline
    DaReal_ApacheOmega
    wrote on 3 Dec 2014, 20:32 last edited by
    #1

    Hello!
    I’m using C4droid and learning qt for the first time. I just want to know if:
    A. Could I still use qt 3 or qt 4 gui and programming examples? The reason I ask because I typed in this basic of all codes example
    [Code]
    #include <qapplication.h>
    #include <qlabel>

    int main(int argc, char *argv[])
    {
    QApplication app(argc, argv);
    QLabel *label = new QLabel("Hello Qt!", 0);
    app.setMainWidget(label);
    label->show();
    return app.exec();
    }
    [/Code]
    And got this Message:

    //No such file or directory #include <qapplication.h>

    I even tryed to remove the dot h and still the same results

    question B.

    Where can I get all the examples on qt 5.3 Gui desidn and programming and also tutorials on how to intergrate c++ code with qml code also
    Thank You
    AO!

    P.s. do I need to purchase the full version for all this?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Dec 2014, 20:54 last edited by
      #2

      Hi and welcome to devnet,

      For your question A, use

      @
      #include <QApplication>
      #include <QLabel>
      @

      Though the basics are the same, Qt 3 examples might contain classes long gone since Qt 4. However most Qt 4 example translate easily to Qt 5.

      For question B, Qt's documentation and sources.

      What purchase are you asking about ? c4droid ?

      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
      • D Offline
        D Offline
        DaReal_ApacheOmega
        wrote on 3 Dec 2014, 23:00 last edited by
        #3

        Yes c4droid
        i just wanna be able to learn on the go

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DaReal_ApacheOmega
          wrote on 3 Dec 2014, 23:03 last edited by
          #4

          What are some good plug ins for c4droid?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 3 Dec 2014, 23:51 last edited by
            #5

            For these two questions, you should rather contact the c4droid developer(s)

            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

            1/5

            3 Dec 2014, 20:32

            • Login

            • Login or register to search.
            1 out of 5
            • First post
              1/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved