Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling errors
Forum Updated to NodeBB v4.3 + New Features

Compiling errors

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 2 Posters 3.2k 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
    seang96
    wrote on last edited by
    #1

    I get errors when compiling because the Qt Designer failed to delete parts of the button. Deleting in the debug builds work fine untill Designer reloads and adds the case back in, however removing it in the release moc file does not work that way. Is there anyway to fix this? Heres pictures of errors:

    Debug:
    !http://i.imgur.com/5WSM5iA.png!

    Release:
    !http://i.imgur.com/oeqxXHM.png!

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

      Hi and welcome to devnet,

      How did you remove the button in the first place ?

      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
      • S Offline
        S Offline
        seang96
        wrote on last edited by
        #3

        [quote author="SGaist" date="1382817297"]Hi and welcome to devnet,

        How did you remove the button in the first place ?[/quote]

        Thanks, in the Qt Designer I pressed the del key with the button selected.

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

          Then just to be sure, re-run quake to see if it helps.

          If still not, remove the build directory and rebuild

          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
          • S Offline
            S Offline
            seang96
            wrote on last edited by
            #5

            I ran qmake, clean, deleted directories, cleaned again, deleted the file, and tried this multiple times to no success.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              seang96
              wrote on last edited by
              #6

              I am still getting these errors upon compiling. Does anyone have other ideas?

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

                Another thing you can try is to remove your project.pro.user file and re-open it in Qt Creator.

                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
                • S Offline
                  S Offline
                  seang96
                  wrote on last edited by
                  #8

                  [quote author="SGaist" date="1382904771"]Another thing you can try is to remove your project.pro.user file and re-open it in Qt Creator. [/quote]

                  It still is regenerating. Any other ideas?

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

                    Are you sure your ui file doesn't contain this button ? And did you also remove the slot from your code ?

                    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
                    • S Offline
                      S Offline
                      seang96
                      wrote on last edited by
                      #10

                      [quote author="SGaist" date="1382909443"]Are you sure your ui file doesn't contain this button ? And did you also remove the slot from your code ?[/quote]

                      The slot is not in my .cpp and there is no button named pushButton. If you want ill add you on skype and we can try solving this problem faster.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        seang96
                        wrote on last edited by
                        #11

                        Well, I am still having this problem with this terribly auto generated part of qt. Anyone got any ideas?

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

                          Do you call cache() in you pro file ?

                          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

                          • Login

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