Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Begining Qt !!!
Forum Updated to NodeBB v4.3 + New Features

Begining Qt !!!

Scheduled Pinned Locked Moved General and Desktop
22 Posts 6 Posters 6.6k Views 5 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.
  • SGaistS SGaist

    No it's not, Qt's a C++ toolkit. There was even Java binding at some point. Qt Jambi if memory serves well

    M Offline
    M Offline
    mcosta
    wrote on last edited by
    #9

    @SGaist said:

    There was even Java binding at some point. Qt Jambi if memory serves well

    But the trolls left the Dark Side some years ago :D :D

    Once your problem is solved don't forget to:

    • Mark the thread as SOLVED using the Topic Tool menu
    • Vote up the answer(s) that helped you to solve the issue

    You can embed images using (http://imgur.com/) or (http://postimage.org/)

    1 Reply Last reply
    0
    • M Mnabil

      seriously, its not like Java :|

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by JKSH
      #10

      Hi,

      @Mnabil said:

      seriously, its not like Java :|

      No, it's not:

      • A Java compiler produces bytecode. Different platforms use the same bytecode, but your users need to install the Java Virtual Machine.
      • A C++ compiler produces native code. Different platforms use different native code, but your users don't need to install a virtual machine.

      Most of the time, native code has superior performance to bytecode.

      @Mnabil said:

      Why do I need Visual Studio isn't Qt platform independent?

      You install Visual Studio to get the C++ compiler. Just like how you install the Java SDK to get the Java compiler.

      Also:

      • In Java, "platform independence" means you can run the same bytecode on different platforms.
      • In C++, "platform independence" means you can compile the same source code for different platforms.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

        "Java is not platform-independent. Java is a platform."

        JKSHJ 1 Reply Last reply
        0
        • ? A Former User

          "Java is not platform-independent. Java is a platform."

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #12

          @Wieland said:

          "Java is not platform-independent. Java is a platform."

          Fine. "Gadget" then. ;)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • ? A Former User

            @Mnabil said:

            seriously, its not like Java :|

            Thank god it's not! :-D

            M Offline
            M Offline
            Mnabil
            wrote on last edited by
            #13

            @Wieland I mean a self contained compiler+IDE, like that steup Java SDK + Netbeans IDE :D

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

              As previously suggested: Qt MinGW version, it includes the compiler

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

              M 1 Reply Last reply
              1
              • SGaistS SGaist

                As previously suggested: Qt MinGW version, it includes the compiler

                M Offline
                M Offline
                Mnabil
                wrote on last edited by
                #15

                @SGaist That what supposed a cross Operating Systems platform to be

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mcosta
                  wrote on last edited by
                  #16

                  @Mnabil I don't agree.

                  A really cross OS C++ platform should use the standard OS compiler.
                  We using the same code to build for

                  • Windows (Visual C++)
                  • Linux (gcc)
                  • Mac (clang)
                  • iOS (clang-ios)
                  • Android

                  In that way you get the best for the native compiler

                  Once your problem is solved don't forget to:

                  • Mark the thread as SOLVED using the Topic Tool menu
                  • Vote up the answer(s) that helped you to solve the issue

                  You can embed images using (http://imgur.com/) or (http://postimage.org/)

                  M 1 Reply Last reply
                  1
                  • M Mnabil

                    @Wieland I mean a self contained compiler+IDE, like that steup Java SDK + Netbeans IDE :D

                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #17

                    @Mnabil said:

                    @Wieland I mean a self contained compiler+IDE, like that steup Java SDK + Netbeans IDE :D

                    Microsoft doesn't allow us to include their compiler with the Qt installer. If you want the compiler included, get the MinGW version, not the MSVC version.

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply
                    0
                    • M mcosta

                      @Mnabil I don't agree.

                      A really cross OS C++ platform should use the standard OS compiler.
                      We using the same code to build for

                      • Windows (Visual C++)
                      • Linux (gcc)
                      • Mac (clang)
                      • iOS (clang-ios)
                      • Android

                      In that way you get the best for the native compiler

                      M Offline
                      M Offline
                      Mnabil
                      wrote on last edited by
                      #18

                      @mcosta does that mean I've to have all platforms to compile for them, or I write once and Qt website will compile my project to various Operating Systems?

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mcosta
                        wrote on last edited by
                        #19

                        @Mnabil In theory you can also cross-compile using GCC but if you want use the native compiler you have to build in the platform.

                        I have a Mac with Windows and Linux Virtual machines so I can compile my code for all platform I need

                        Once your problem is solved don't forget to:

                        • Mark the thread as SOLVED using the Topic Tool menu
                        • Vote up the answer(s) that helped you to solve the issue

                        You can embed images using (http://imgur.com/) or (http://postimage.org/)

                        1 Reply Last reply
                        1
                        • M Offline
                          M Offline
                          Mnabil
                          wrote on last edited by
                          #20

                          Thank you all for kind help now things running well

                          Last thing would you please recommend books or resources to depend to move on Qt as much quick as possible, specially in Business/Finance/Mathematical oriented applications

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mcosta
                            wrote on last edited by
                            #21

                            Hi,

                            the only book I know is enough updated is http://qmlbook.github.io/ but is about QtQuick.

                            pecially in Business/Finance/Mathematical oriented applications

                            Qt is a generic framework so, once you got some basic skills, you can adapt it to your domain.

                            Once your problem is solved don't forget to:

                            • Mark the thread as SOLVED using the Topic Tool menu
                            • Vote up the answer(s) that helped you to solve the issue

                            You can embed images using (http://imgur.com/) or (http://postimage.org/)

                            1 Reply Last reply
                            0
                            • JKSHJ Offline
                              JKSHJ Offline
                              JKSH
                              Moderators
                              wrote on last edited by JKSH
                              #22

                              Here are two titles form Packt Publishing:

                              • https://www.packtpub.com/application-development/application-development-qt-creator
                              • https://www.packtpub.com/application-development/qt5-blueprints

                              I haven't read them though, so I can't comment on their quality.

                              Anyway, there are some very good resources online too. For example, a "Getting Started" tutorial from the official documentation: https://doc.qt.io/qt-5/gettingstartedqt.html

                              Search YouTube for "Qt 5" videos.

                              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                              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