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. No rule to make target 'C:/... uic.exe, needed by ui_mainwindow.h
QtWS25 Last Chance

No rule to make target 'C:/... uic.exe, needed by ui_mainwindow.h

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 3 Posters 2.6k Views
  • 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.
  • J Offline
    J Offline
    Jelas
    wrote on last edited by
    #1

    Hello,
    I'm fresh in Qt programming.
    After my last Window's up to date I can not compile programs.
    I've reinstalled Qt a few times already, but it doesn's help.
    I'm receiving below message:

    C:/PROGRAMY/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'C:/Users/zadrzynski/Documents/Qt/build-test10-Desktop_Qt_5_9_3_MinGW_32bit-Debug'
    mingw32-make[1]: Leaving directory 'C:/Users/zadrzynski/Documents/Qt/build-test10-Desktop_Qt_5_9_3_MinGW_32bit-Debug'
    mingw32-make[1]: *** No rule to make target 'C:/PROGRAMY/Qt/5.9.3/mingw53_32/bin/uic.exe', needed by 'ui_mainwindow.h'. Stop.
    Makefile:36: recipe for target 'debug' failed
    mingw32-make: *** [debug] Error 2
    13:36:25: The process "C:\PROGRAMY\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project test10 (kit: Desktop Qt 5.9.3 MinGW 32bit)
    When executing step "Make"

    Thanks in advance for your help.
    Jelas

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

      HI and welcome to devnet,

      Did you check the content of Qt’s bin folder ?

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

        Hi :-)
        Thanks for your assistance first of all!

        I've just checked the bin folder and almost all files are created 17.11.2017 even the instalation was made 26.01.2018...

        How should I follow?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jelas
          wrote on last edited by
          #4

          UIC.EXE file is not existing in bin folder.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jelas
            wrote on last edited by
            #5

            One more info, important I hope.
            After re-instaling, first/new project is compiling, but if I add e.g.: push button than above mentioned error is comming and for next projects from very beginning as well.

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

              Do you have an anti-virus running ?

              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
              3
              • mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi
                the moc.exe tool is located under the compiler folder in Qt
                for vs 64 bit its
                "C:\Qt\5.10.0\msvc2015_64\bin\uic.exe"
                Do you have the same in the mingw compiler folder ?

                1 Reply Last reply
                1
                • J Offline
                  J Offline
                  Jelas
                  wrote on last edited by
                  #8

                  Hi,
                  It was anti-virus program!
                  Thank you very much for your help :-) !!!

                  1 Reply Last reply
                  2

                  • Login

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