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. error: no member named 'addWidget' in 'QFrame'
Forum Updated to NodeBB v4.3 + New Features

error: no member named 'addWidget' in 'QFrame'

Scheduled Pinned Locked Moved Unsolved General and Desktop
23 Posts 4 Posters 4.2k 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.
  • L lse123

    what is having two projects with same name...?

    In the first try alone I make two files ui
    mainwindow.ui
    mainwindow2.ui

    after I opened the project from book code files

    well????

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

    @lse123
    Im not sure what you mean but if
    the projects are in different folder, its not an issue that
    they have same names.

    But you really didnt answer if you did anything to the files after download as they do compile fine here?

    So if you are not using the project as it, please tell what you do.

    1 Reply Last reply
    1
    • L Offline
      L Offline
      lse123
      wrote on last edited by
      #8

      2019-11-04_07-03-34.png

      the file structure is above --- because I think i have also and VS created a new file only but in Qt not seem.
      well?

      still getting
      :-1: error: dependent '..\Chapter09\mainwindow.ui' does not exist.
      well?

      jsulmJ 1 Reply Last reply
      0
      • L lse123

        2019-11-04_07-03-34.png

        the file structure is above --- because I think i have also and VS created a new file only but in Qt not seem.
        well?

        still getting
        :-1: error: dependent '..\Chapter09\mainwindow.ui' does not exist.
        well?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #9

        @lse123 I can build Chapter09 without issues - but I only opened Chapter09 project. But I noticed that there is Webcam.pro.user after git clone - this should not be part of the repository!
        Try to delete Webcam.pro.user file, delete build directory and rebuild.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • L Offline
          L Offline
          lse123
          wrote on last edited by
          #10

          I also went update Qt Creator --- but stays on 0% Do Not download anything for the update even for 20+ min... after I stopped it...

          jsulmJ 1 Reply Last reply
          0
          • L lse123

            I also went update Qt Creator --- but stays on 0% Do Not download anything for the update even for 20+ min... after I stopped it...

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #11

            @lse123 said in error: no member named 'addWidget' in 'QFrame':

            but stays on 0%

            Do you use Qt Maintenance Tool?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lse123
              wrote on last edited by
              #12

              @jsulm said in error: no member named 'addWidget' in 'QFrame':

              Qt Maintenance Tool?

              I am trying Qt Maintenance Tool
              seems update now works

              1 Reply Last reply
              0
              • L Offline
                L Offline
                lse123
                wrote on last edited by lse123
                #13

                Again went to 0.00 bytes/sec... what to do???

                2019-11-04_12-35-21.png

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

                  I would try to change the mirror, you might be hitting a faulty one.

                  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
                  • L Offline
                    L Offline
                    lse123
                    wrote on last edited by
                    #15

                    where can do this???

                    jsulmJ 1 Reply Last reply
                    0
                    • L lse123

                      where can do this???

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #16

                      @lse123 There is this tool you can use to change the mirror: https://github.com/JKSH/QtSdkRepoChooser

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      3
                      • L Offline
                        L Offline
                        lse123
                        wrote on last edited by
                        #17

                        exist any other way???

                        mrjjM 1 Reply Last reply
                        0
                        • L lse123

                          exist any other way???

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

                          @lse123
                          Hi
                          you can also download offline installer
                          https://www.qt.io/offline-installers
                          Its bigger up front download but the same things that gets installed.

                          1 Reply Last reply
                          1
                          • L Offline
                            L Offline
                            lse123
                            wrote on last edited by
                            #19

                            this is for the update or install--- the offline installer???

                            mrjjM 1 Reply Last reply
                            0
                            • L lse123

                              this is for the update or install--- the offline installer???

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

                              @lse123
                              Install.

                              1 Reply Last reply
                              0
                              • L Offline
                                L Offline
                                lse123
                                wrote on last edited by
                                #21

                                BUT WANTED UPDATE NOT INSTALL... WELL?

                                jsulmJ mrjjM 2 Replies Last reply
                                0
                                • L lse123

                                  BUT WANTED UPDATE NOT INSTALL... WELL?

                                  jsulmJ Offline
                                  jsulmJ Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by jsulm
                                  #22

                                  @lse123 If you only want to update QtCreator and for some reason updating hangs on your machine then download recent QtCreator (not Qt!) from the link @mrjj provided and install it (you can uninstall the current one first). QtCreator is not that big.

                                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  1
                                  • L lse123

                                    BUT WANTED UPDATE NOT INSTALL... WELL?

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

                                    @lse123

                                    Hi
                                    But installing the newest version
                                    gives the same as
                                    Updating to the newest version.

                                    Anyway as @jsulm says

                                    alt text

                                    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