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
Qt 6.11 is out! See what's new in the release blog

GUI help

Scheduled Pinned Locked Moved Solved General and Desktop
87 Posts 5 Posters 40.6k 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 caca0o

    Finally, I do not know if it will look like this in the GUI final. But it's about learning how to have a central widget in more variants. If it works.

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

    @caca0o
    Hi
    You should also have a look at
    http://doc.qt.io/qt-5/qstackedwidget.html

    It makes it easy to have a design where on part of the window can be turned
    back and forth like pages in a book.
    Each "page" is a normal widget and can contain other widgets.
    So in effect it would be like many central widgets.

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

      StackedWidget is a good idea. But I was wondering how to make more central widgets. I still thought how to make a panel. Do you have any instructions?

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

        QStackedWidget is used as a "container widget" where you put all the other widgets you are going to use.

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

          I would still have one question

          alt text

          it does not work with debug. how can I fix it?

          mrjjM 1 Reply Last reply
          0
          • C caca0o

            I would still have one question

            alt text

            it does not work with debug. how can I fix it?

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

            @caca0o
            hi
            Seems you have chosen Qt for visual studio.
            Did you also install the compiler from microsoft site ?
            (or had it already installed)
            Unlike the mingw version, the compiler is not included with Qt
            and must be installed separately by user.

            If yes, did you also install the debug tools?
            for getting a debugger.
            http://doc.qt.io/qtcreator/creator-debugger-engines.html

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

              hi ... do you mean this link?

              https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

              mrjjM 1 Reply Last reply
              0
              • C caca0o

                hi ... do you mean this link?

                https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

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

                @caca0o
                Hi
                Nope, the actual compiler
                https://www.visualstudio.com/downloads/
                If you dont want the whole IDE, you can use
                http://landinghub.visualstudio.com/visual-cpp-build-tools

                If you dont need to use visual studio , you might consider removing the VS qt
                and install the mingw Qt instead. It comes with compiler and debugger and is ready to go.
                alt text
                Tool is located in
                "C:\Qt\MaintenanceTool.exe"

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

                  now I install. I hope that it's correct. Build Tools for Visual Studio 2017

                  alt text

                  if not. you can inform me of the wrong procedure

                  mrjjM 1 Reply Last reply
                  0
                  • C caca0o

                    now I install. I hope that it's correct. Build Tools for Visual Studio 2017

                    alt text

                    if not. you can inform me of the wrong procedure

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

                    @caca0o
                    Hi
                    Hopefully. it looks right but im not sure due to the language.

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

                      it did not help. when I click to run. do I have anything to set up?

                      alt text

                      or sketch something else on the offer. if you had an offer in English .. I would prove it

                      mrjjM 1 Reply Last reply
                      0
                      • C caca0o

                        it did not help. when I click to run. do I have anything to set up?

                        alt text

                        or sketch something else on the offer. if you had an offer in English .. I would prove it

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

                        @caca0o
                        What about just going with mingw then ?
                        It has all included and works out of the box.

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

                          with qt-opensource-windows-x86-mingw530-5.8.0.exe

                          alt text

                          I really do not think it could be?

                          mrjjM 1 Reply Last reply
                          0
                          • C caca0o

                            with qt-opensource-windows-x86-mingw530-5.8.0.exe

                            alt text

                            I really do not think it could be?

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

                            @caca0o
                            Can you please try a default gui project so we know the setup works ?
                            File -> New Project -> New Widget Application

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

                              to start a new project

                              alt text

                              1 Reply Last reply
                              0
                              • mrjjM Offline
                                mrjjM Offline
                                mrjj
                                Lifetime Qt Champion
                                wrote on last edited by
                                #23

                                Ok. so there really is something up with the kits.
                                But this is VS 2015
                                I though you would use only mingw ?

                                did you UNINSTALL visual studio Qt to avoid it playing tricks on you ?

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

                                  now I do not understand what to do?

                                  mrjjM 1 Reply Last reply
                                  0
                                  • C caca0o

                                    now I do not understand what to do?

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

                                    @caca0o

                                    Did you install the mingw too?

                                    If you create new project , it does NOT offer to make project with that compiler ?

                                    You still seems to be using visual studio. ( and it seems kit still broken)

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

                                      I uninstall all
                                      I wondered if it would be possible if you had given me a link to download and install

                                      mrjjM 1 Reply Last reply
                                      0
                                      • C caca0o

                                        I uninstall all
                                        I wondered if it would be possible if you had given me a link to download and install

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

                                        @caca0o

                                        Hi, just use the online installer and ONLY
                                        select the mingw version as i shown in the picture.

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

                                          this is it? qt-opensource-windows-x86-mingw482_opengl-5.3.2.exe

                                          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