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. GUI help
Forum Updated to NodeBB v4.3 + New Features

GUI help

Scheduled Pinned Locked Moved Solved General and Desktop
87 Posts 5 Posters 36.3k Views 3 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.
  • C Offline
    C Offline
    caca0o
    wrote on last edited by
    #54

    ok. but I can not find a file to download so I can create the db in it

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

      Because it's up to you to setup your system with PostgresSQL, MySQL or whatever database system you want/need that is supported by Qt.

      SQLite doesn't required any external stuff as it's using a file for the database itself.

      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
      • C Offline
        C Offline
        caca0o
        wrote on last edited by
        #56

        ok I understand it. of course, I can insert db from SQLite into GUI and qt
        I hope I do not have much questions

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

          Take a look at the module and classes documentation as well as the examples. They use SQLite so developers don't need to install anything special to run them.

          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
          • C Offline
            C Offline
            caca0o
            wrote on last edited by
            #58

            I'm still asking. do i make a qt gui game for a sports manager?

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

              That wasn't your original question. Anyway, why wouldn't you ?

              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
              • C Offline
                C Offline
                caca0o
                wrote on last edited by
                #60

                I would like to work on the introductory menus. when I have a button start game and then select options etc. do I have to do it as new sources? here is probably not the stacked widget.

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

                  Don’t try to fit everything in one widget. That would end up a sort of Frankenmonster.

                  Take the time to cut your application in logical pieces. Then write your widgets.

                  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
                  • C Offline
                    C Offline
                    caca0o
                    wrote on last edited by
                    #62

                    so you recommend more Sources cpp files. I understand it well?

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

                      If recommend a clean design so yes you are going to end up with several classes and thus several header and source files.

                      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
                      • C Offline
                        C Offline
                        caca0o
                        wrote on last edited by
                        #64

                        OK thank you. so it is good to separate this apart. for example, the main menu from the game and the main menus from select options.

                        I would be interested.
                        gui game itself is about to work well through the stacked widget. when it comes to a game of sports manager

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          caca0o
                          wrote on last edited by
                          #65

                          I would still be interested. are they going to combine the .pro files, or do I need them or do I need to have the whole game in .cpp?

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            caca0o
                            wrote on last edited by
                            #66

                            or whether they are going to combine two projects into one another

                            mrjjM 1 Reply Last reply
                            0
                            • C caca0o

                              or whether they are going to combine two projects into one another

                              mrjjM Offline
                              mrjjM Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on last edited by
                              #67

                              @caca0o
                              In most cases , if apps are not related they will have their own .pro files.

                              1 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                caca0o
                                wrote on last edited by
                                #68

                                and so can two projects be linked together?

                                mrjjM 1 Reply Last reply
                                0
                                • C caca0o

                                  and so can two projects be linked together?

                                  mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #69

                                  @caca0o
                                  In what way linked ?

                                  1 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    caca0o
                                    wrote on last edited by
                                    #70

                                    with two new projects. connected together.
                                    as one project (menu) two project (game gui).

                                    or I have to be a more cpp file.?

                                    mrjjM 1 Reply Last reply
                                    0
                                    • C caca0o

                                      with two new projects. connected together.
                                      as one project (menu) two project (game gui).

                                      or I have to be a more cpp file.?

                                      mrjjM Offline
                                      mrjjM Offline
                                      mrjj
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #71

                                      @caca0o
                                      well a normal design would be game in own .h and .cpp files with .pro file and
                                      menu also as own project.
                                      Would u need files from game inside menu ?

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        caca0o
                                        wrote on last edited by
                                        #72

                                        just ask what is the best solution
                                        if the game was done in c ++

                                        mrjjM 1 Reply Last reply
                                        0
                                        • C caca0o

                                          just ask what is the best solution
                                          if the game was done in c ++

                                          mrjjM Offline
                                          mrjjM Offline
                                          mrjj
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #73

                                          @caca0o
                                          Normally keep all separate in .cpp and .h and own .pro files is the
                                          normal way to do it.
                                          They can still share some files for shared features if needed.

                                          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