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. [SOLVED] Invalid use of incomplete type 'class UI::MainWindow'
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Invalid use of incomplete type 'class UI::MainWindow'

Scheduled Pinned Locked Moved General and Desktop
incomplete typemainwindowqt5.5header cpp qtinclude
30 Posts 4 Posters 57.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.
  • L Lorence

    and tile_list is the ones to choose from ?

    yes, it is a list of Tile which is inheriting QLabel

    Dont worry. I programmed c++ for 20 years and it still kicks me ;)

    woaaaaa, me is about a year, and started this QT last week, i choose this for my tile engine's interface from SFML, i still have more ways to go !^_^

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

    @Lorence said:
    welcome on board to Qt. its a nice frame work.

    Oh so its some sort of game editor your are making ?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Lorence
      wrote on last edited by
      #20

      welcome on board to Qt. its a nice frame work.

      Yes my first choice is wxwidget and windows form application, but signals and slots mechanism of qt makes me decide to choose qt

      Oh so its some sort of game editor your are making ?
      yes exatcly, like the rpg maker vx ace of steam

      mrjjM 1 Reply Last reply
      0
      • L Lorence

        welcome on board to Qt. its a nice frame work.

        Yes my first choice is wxwidget and windows form application, but signals and slots mechanism of qt makes me decide to choose qt

        Oh so its some sort of game editor your are making ?
        yes exatcly, like the rpg maker vx ace of steam

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

        @Lorence
        Well IMHO Qt is more feature rich than wxwidget even I did like that also.

        Oh. Wow. thats a huge project. !
        So its an editor and and tile engine for making tile games. Pretty cool.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Lorence
          wrote on last edited by
          #22

          Well IMHO Qt is more feature rich than wxwidget even I did like that also.
          yea, in other forum's debation, QT always win, whats IMHO?

          Oh. Wow. thats a huge project. !
          yes this is a huge project for me XD,
          and i still got no idea about integrating script language into this project

          mrjjM 1 Reply Last reply
          0
          • L Lorence

            Well IMHO Qt is more feature rich than wxwidget even I did like that also.
            yea, in other forum's debation, QT always win, whats IMHO?

            Oh. Wow. thats a huge project. !
            yes this is a huge project for me XD,
            and i still got no idea about integrating script language into this project

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

            @Lorence
            IMHO = In my humble opinion
            Well I tested both and choose Qt.

            Would also be huge for me to make as single person if we are talking full
            game editor and engine :)

            I would have a good look at http://doc.qt.io/qt-5/qtscript-index.html
            Should be fast enough and quite easy to mix c++ and script.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              Lorence
              wrote on last edited by
              #24

              I see

              Im planning to finish this as in 100%

              I would have a good look at http://doc.qt.io/qt-5/qtscript-index.html
              Should be fast enough and quite easy to mix c++ and script.

              thanks!

              We have group on skype do you want to join?

              mrjjM 1 Reply Last reply
              0
              • L Lorence

                I see

                Im planning to finish this as in 100%

                I would have a good look at http://doc.qt.io/qt-5/qtscript-index.html
                Should be fast enough and quite easy to mix c++ and script.

                thanks!

                We have group on skype do you want to join?

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

                @Lorence
                ok. to make it a full product? To sell or make games and sell ?

                -- We have group on skype do you want to join?
                Oh thanks for the offer but I only use skype at work as I sit in the living room and
                taking in mics drives the others crazy :)
                So no Team Speak for me either :)

                So you are a group of people making this?

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  Lorence
                  wrote on last edited by
                  #26

                  ok. to make it a full project ? To sell or make games and sell ?
                  I want to sell the whole project. i dont want wasting time doing things that is unrelated to programming so i dont want to make games and sell.

                  okay i see np.

                  So you are a group of people making this?
                  No im the only one making this. the skype group is a group of programmers experts and newbies. just for teaching things

                  mrjjM 1 Reply Last reply
                  0
                  • L Lorence

                    ok. to make it a full project ? To sell or make games and sell ?
                    I want to sell the whole project. i dont want wasting time doing things that is unrelated to programming so i dont want to make games and sell.

                    okay i see np.

                    So you are a group of people making this?
                    No im the only one making this. the skype group is a group of programmers experts and newbies. just for teaching things

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

                    @Lorence
                    Ok, a game maker product.
                    You should also consider how to handle support.
                    Takes more time than one realizes.

                    Ah, that way. Did not know skype has such forums/groups.

                    Really good luck with it.

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      Lorence
                      wrote on last edited by
                      #28

                      yea thanks.

                      Ah, that way. Did not know skype has such forums/groups.
                      oh no, im really bad at explaining things. i mean
                      you can create a conversation group in skype and invite people as many as you can. so i just found this group and then i joined

                      okay thanks again :)

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SherifOmran
                        wrote on last edited by
                        #29

                        my friends,i had a similar case and found this happens when you mix different versions of Qt to compile the project
                        they simply change the ui_*.h files or sometimes they empty it and thus this happens. Occured at least with me ..

                        1 Reply Last reply
                        0
                        • mrjjM mrjj

                          @Lorence said:

                          grassyTile

                          What type is that ?

                          "use of incomplete type" often means a include file is missing
                          or you forwarded a class
                          like
                          class SomeClass;

                          And try to use it in a context where it needs to be fully defined.
                          Like adding to some template lists.

                          Not sure what you tried to define here ?

                          std::array<Tile,1> tile_list <---- ; missing here?
                          {
                          ui->grassyTile // heres where error coming from
                          };

                          P Offline
                          P Offline
                          Purvi
                          wrote on last edited by
                          #30

                          @mrjj Thanks, you are right for saying that some header files might be missing.

                          1 Reply Last reply
                          1

                          • Login

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