Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Where can I get the missing QtLogo and Patch classes of "Hello GL" Example?
Forum Updated to NodeBB v4.3 + New Features

Where can I get the missing QtLogo and Patch classes of "Hello GL" Example?

Scheduled Pinned Locked Moved Game Development
13 Posts 3 Posters 7.5k 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.
  • S Offline
    S Offline
    sasmaster
    wrote on 12 Sept 2011, 09:51 last edited by
    #1

    Where can I get the missing QtLogo and Patch classes of "Hello GL" Example?
    Thanks.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      ludde
      wrote on 12 Sept 2011, 11:59 last edited by
      #2

      What makes you think "QtLogo" is missing and there is a need for "Patch classes"?
      I have no problems building the Hello GL example.

      Maybe if you told us which version of Qt you are using, and on which platform, it would be easier to provide some useful help.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sasmaster
        wrote on 12 Sept 2011, 12:03 last edited by
        #3

        Tell me if I am wrong: I go to Qt 4.7 Home -> Examples -> Hello GL Example .There I have got 6 files with classes and headers.None of them contains Patch or QtLogo classes.May be I should look for the source files in a different location?

        Thanks.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          ludde
          wrote on 12 Sept 2011, 12:14 last edited by
          #4

          You can find them in the ../shared/qtlogo.[h,cpp] files. If you look at the .pro file, you can see that it uses ../shared for some (I guess) shared files.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sasmaster
            wrote on 12 Sept 2011, 12:21 last edited by
            #5

            Can you be so kind and point out where "/shared " is located ?Because I can't find it.Also searched the whole SDK installation directory fot qtlogo.cpp and found none.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              ludde
              wrote on 12 Sept 2011, 12:27 last edited by
              #6

              The shared folder should be right next to the hellogl folder, in the opengl folder.
              I have it there on both my Windows and my Linux installations.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sasmaster
                wrote on 12 Sept 2011, 12:30 last edited by
                #7

                Are we talking about the same version of SDK? I have no opengl directory inside the SDK installation folder...

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  ludde
                  wrote on 12 Sept 2011, 12:39 last edited by
                  #8

                  Well, you never told us which version you are using, nor which platform you are using it on.
                  I'm using Qt Creator 2.3.0 with Qt 4.7.3 on Windows, and on Linux I'm using a fairly recently updated QtSDK with Qt Creator 2.3.0 and Qt 4.7.4.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sasmaster
                    wrote on 12 Sept 2011, 12:43 last edited by
                    #9

                    I downloaded the SDK yesterday.So it is probably the latest one.I run Windows 7 64bit.

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      ludde
                      wrote on 12 Sept 2011, 13:01 last edited by
                      #10

                      Seems like something is broken in that build, then. I don't use the SDK on Windows, because I need to build the Qt libraries myself, so things look a bit differently here. Don't think I can provide any more help on this, sorry...

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        sasmaster
                        wrote on 12 Sept 2011, 13:03 last edited by
                        #11

                        Thanks for your help anyways.I will try to download the ZIP version of the SDK.

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          sasmaster
                          wrote on 12 Sept 2011, 13:07 last edited by
                          #12

                          Yes! this is it .The zipped build contains all the source code for the examples.

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            kupoholicarka
                            wrote on 19 Sept 2011, 09:35 last edited by
                            #13

                            this information we have been helpful thank you!

                            1 Reply Last reply
                            0

                            1/13

                            12 Sept 2011, 09:51

                            • Login

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