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

Build error

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 3 Posters 1.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.
  • N Offline
    N Offline
    navya.dubey
    wrote on last edited by
    #1

    I was trying to add some icons in my project and I imported some of the .qrc files which need some more external header files and .cpp files but due to more and more error I decided to delete those qrc files but now they are giving error in rcc.exe file .
    what to do
    this is the error
    0_1501829674288_11.PNG

    1 Reply Last reply
    0
    • N Offline
      N Offline
      navya.dubey
      wrote on last edited by
      #10

      I deleted the all the moc files from .pro file and it works.

      1 Reply Last reply
      1
      • yuvaramY Offline
        yuvaramY Offline
        yuvaram
        wrote on last edited by
        #2

        Hi @navya-dubey

        I suspect, due to old build folder & moc files this would have happened.
        Delete build folder, clean, build and run.

        Yuvaram Aligeti
        Embedded Qt Developer
        : )

        N 1 Reply Last reply
        2
        • yuvaramY yuvaram

          Hi @navya-dubey

          I suspect, due to old build folder & moc files this would have happened.
          Delete build folder, clean, build and run.

          N Offline
          N Offline
          navya.dubey
          wrote on last edited by
          #3

          @yuvaram there is no build folder present shall I delete the build folder because all the moc files are present there only?

          yuvaramY 1 Reply Last reply
          0
          • N navya.dubey

            @yuvaram there is no build folder present shall I delete the build folder because all the moc files are present there only?

            yuvaramY Offline
            yuvaramY Offline
            yuvaram
            wrote on last edited by
            #4

            @navya.dubey
            Asked to delete, because you have added .qrc file and deleted, So change of existing old files.
            Can you share a sample

            Yuvaram Aligeti
            Embedded Qt Developer
            : )

            N 1 Reply Last reply
            1
            • yuvaramY yuvaram

              @navya.dubey
              Asked to delete, because you have added .qrc file and deleted, So change of existing old files.
              Can you share a sample

              N Offline
              N Offline
              navya.dubey
              wrote on last edited by
              #5

              @yuvaram what should I show you?
              that folder in which the files are saved?
              I am sorry for silly questions I am completely new to QT creator.0_1501838146189_err1.PNG

              1 Reply Last reply
              0
              • yuvaramY Offline
                yuvaramY Offline
                yuvaram
                wrote on last edited by
                #6

                Thank you for providing executed response. Share your code

                Yuvaram Aligeti
                Embedded Qt Developer
                : )

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

                  Also show the .pro file.
                  It might still reference all the QRC files you deleted.

                  N 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    Also show the .pro file.
                    It might still reference all the QRC files you deleted.

                    N Offline
                    N Offline
                    navya.dubey
                    wrote on last edited by
                    #8

                    @mrjj should I delete all the moc file references in my .pro file?

                    mrjjM 1 Reply Last reply
                    0
                    • N navya.dubey

                      @mrjj should I delete all the moc file references in my .pro file?

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

                      @navya.dubey
                      Look for the mentioned QRC files.
                      what moc files ?

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        navya.dubey
                        wrote on last edited by
                        #10

                        I deleted the all the moc files from .pro file and it works.

                        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