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. How/where to learn enough QT to build an application idea [info in post]
Forum Updated to NodeBB v4.3 + New Features

How/where to learn enough QT to build an application idea [info in post]

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 5 Posters 1.2k Views 2 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.
  • johnratiusJ Offline
    johnratiusJ Offline
    johnratius
    wrote on last edited by
    #1

    I quickly dove into Qt to understand graphical programming aside from OpenGl and feel like that was a bit of a mistake and have gotten lost in the framework. I want to start making desktop app/game that will allow a user to create custom tile maps/platform games. Similar to Tiled map creator. This is the closest example I could find to what I am wanting to make.

    My question: Where do I start?

    I have looked at many tutorials, including the documentation for Qt and to me, everything seems to suggest to start at a different place. One many tell me to use Designer, and one just to program it all, in either C++, QML, or Qt Quick (I don't even know the differences between them well). I get mixed up of the type of layout, or view type to use. There's choices between box layouts, panes, stacked, not stacked, and to be honest, I am not sure what the differences between them all.

    I could continue to read the documentation, or to buy a book and study that until I know a little bit of everything, but that will take time I don't have. I would like to learn what I need to to get this project done, but I am stuck not sure where to begin. I have tried looking at examples, but there are so many each with their own unique variation, and I end up lost.

    I am looking for some guidance to know where I should begin in Qt to complete this project. I had the idea of this project to help me learn Qt, but it has turned out a lot more difficult than I originally thought. Is there any useful articles or resources, that can explain not really how to write Qt, but how to know how it works? How each class and component work together, build off each other, etc...? Any leads where to start will be greatly appreciated!

    john

    sierdzioS 1 Reply Last reply
    0
    • johnratiusJ johnratius

      I quickly dove into Qt to understand graphical programming aside from OpenGl and feel like that was a bit of a mistake and have gotten lost in the framework. I want to start making desktop app/game that will allow a user to create custom tile maps/platform games. Similar to Tiled map creator. This is the closest example I could find to what I am wanting to make.

      My question: Where do I start?

      I have looked at many tutorials, including the documentation for Qt and to me, everything seems to suggest to start at a different place. One many tell me to use Designer, and one just to program it all, in either C++, QML, or Qt Quick (I don't even know the differences between them well). I get mixed up of the type of layout, or view type to use. There's choices between box layouts, panes, stacked, not stacked, and to be honest, I am not sure what the differences between them all.

      I could continue to read the documentation, or to buy a book and study that until I know a little bit of everything, but that will take time I don't have. I would like to learn what I need to to get this project done, but I am stuck not sure where to begin. I have tried looking at examples, but there are so many each with their own unique variation, and I end up lost.

      I am looking for some guidance to know where I should begin in Qt to complete this project. I had the idea of this project to help me learn Qt, but it has turned out a lot more difficult than I originally thought. Is there any useful articles or resources, that can explain not really how to write Qt, but how to know how it works? How each class and component work together, build off each other, etc...? Any leads where to start will be greatly appreciated!

      john

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @johnratius said in How/where to learn enough QT to build an application idea [info in post]:

      My question: Where do I start?

      With some simple test apps. Make a small QtWidgets app, even something super simple like morse code translator, or comic strip display app. Then do the same in QML.

      Experience from even 2-3 simple apps will give you a much better picture of what is possible, how and which technologies you prefer.

      One many tell me to use Designer, and one just to program it all, in either C++, QML, or Qt Quick (I don't even know the differences between them well)

      In practice Qt Quick and QML are the same and both terms are used interchangeably.

      I get mixed up of the type of layout, or view type to use. There's choices between box layouts, panes, stacked, not stacked, and to be honest, I am not sure what the differences between them all.

      I think in your case, it completely does not matter. To create a tiled map you need custom painting (in OpenGL, or QPainter, or using SceneGraph) - no ready-made layout, stack widget or component will help you here. It will be hard and that is even stronger reason to try some simpler examples first.

      (Z(:^

      johnratiusJ 1 Reply Last reply
      6
      • FluentCodingF Offline
        FluentCodingF Offline
        FluentCoding
        wrote on last edited by FluentCoding
        #3

        I've started building my first QT application around 2 weeks ago. I already had major programming experience in Java and I knew the basics of C++ in theory. This application is a bit bigger and I still won't have this project finished in 4 weeks but every problem I came across during development helped me to understand QT more and more. Now, I can say that I am completely able to make every easy and mid-hard application, just because of this project.

        1 Reply Last reply
        3
        • sierdzioS sierdzio

          @johnratius said in How/where to learn enough QT to build an application idea [info in post]:

          My question: Where do I start?

          With some simple test apps. Make a small QtWidgets app, even something super simple like morse code translator, or comic strip display app. Then do the same in QML.

          Experience from even 2-3 simple apps will give you a much better picture of what is possible, how and which technologies you prefer.

          One many tell me to use Designer, and one just to program it all, in either C++, QML, or Qt Quick (I don't even know the differences between them well)

          In practice Qt Quick and QML are the same and both terms are used interchangeably.

          I get mixed up of the type of layout, or view type to use. There's choices between box layouts, panes, stacked, not stacked, and to be honest, I am not sure what the differences between them all.

          I think in your case, it completely does not matter. To create a tiled map you need custom painting (in OpenGL, or QPainter, or using SceneGraph) - no ready-made layout, stack widget or component will help you here. It will be hard and that is even stronger reason to try some simpler examples first.

          johnratiusJ Offline
          johnratiusJ Offline
          johnratius
          wrote on last edited by
          #4

          @sierdzio
          Thank you for your response. Do you know if there is a list somewhere that has a list of small project ideas like you suggested that can give me this experience?

          Pl45m4P sierdzioS 2 Replies Last reply
          0
          • johnratiusJ johnratius

            @sierdzio
            Thank you for your response. Do you know if there is a list somewhere that has a list of small project ideas like you suggested that can give me this experience?

            Pl45m4P Offline
            Pl45m4P Offline
            Pl45m4
            wrote on last edited by Pl45m4
            #5

            @johnratius

            Your Map Editor could be a good project to start with, if you start simple. You can extend it further as you gain more and more knowledge and experience.

            Think about where to start and what you need (logical, not actual Qt stuff, you might not know yet). Of course you need to know the basics of C++ (the more you know about C++, the easier it gets).

            In addition you can have a look at the Qt Examples and try to re-build similar stuff on your own. So you get used to the basic Qt widgets.

            You can find all examples here


            If debugging is the process of removing software bugs, then programming must be the process of putting them in.

            ~E. W. Dijkstra

            Please_Help_me_DP 1 Reply Last reply
            2
            • johnratiusJ johnratius

              @sierdzio
              Thank you for your response. Do you know if there is a list somewhere that has a list of small project ideas like you suggested that can give me this experience?

              sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              @johnratius said in How/where to learn enough QT to build an application idea [info in post]:

              @sierdzio
              Thank you for your response. Do you know if there is a list somewhere that has a list of small project ideas like you suggested that can give me this experience?

              I don't know any such list but I am sure they are out there. I think I've seen some "app ideas" applications on Google's Play Store. For sure there are some available on the web, too.

              A few ideas from me:

              • Morse code translator
              • Photo library organiser (move photos to year/month/date folder structure)
              • Conway's game of life implementation

              (Z(:^

              1 Reply Last reply
              1
              • Pl45m4P Pl45m4

                @johnratius

                Your Map Editor could be a good project to start with, if you start simple. You can extend it further as you gain more and more knowledge and experience.

                Think about where to start and what you need (logical, not actual Qt stuff, you might not know yet). Of course you need to know the basics of C++ (the more you know about C++, the easier it gets).

                In addition you can have a look at the Qt Examples and try to re-build similar stuff on your own. So you get used to the basic Qt widgets.

                You can find all examples here

                Please_Help_me_DP Offline
                Please_Help_me_DP Offline
                Please_Help_me_D
                wrote on last edited by Please_Help_me_D
                #7

                @Pl45m4 when I started Qt (a half of a year ago) I knew only Matlab which is way different stuff...
                I would recommend you to start coding your application and every little question post on the forums (like this or more general C++ forum).
                I would have threw away the idea to learn Qt if such forums wouldn't helped me.
                The main task is to fully describe (in detail) the every problem you are struggling with. Step by step.
                Start it, good luck :)

                1 Reply Last reply
                2

                • Login

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