Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error No rule to make target
Qt 6.11 is out! See what's new in the release blog

Error No rule to make target

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 2 Posters 1.6k 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.
  • DQUY05D Offline
    DQUY05D Offline
    DQUY05
    wrote on last edited by
    #1

    Hi,

    I am using the old version of Qt, the project works fine, when I install the new version, I change the default path to C:\Qt\Qt_\5.15.2, but get the message as below, I see the difference in the installation path, but I don't know how to change it
    can someone help me !

    Thanks

    3d2ef695-c70c-434f-84b5-ff3986c89618-image.png

    No rule to make target 'C:\Qt\QT5.15\5.15.2\android\bin\uic.exe', needed by 'ui_mainwindow.h'. Stop.

    Axel SpoerlA 1 Reply Last reply
    0
    • DQUY05D DQUY05

      Hi,

      I am using the old version of Qt, the project works fine, when I install the new version, I change the default path to C:\Qt\Qt_\5.15.2, but get the message as below, I see the difference in the installation path, but I don't know how to change it
      can someone help me !

      Thanks

      3d2ef695-c70c-434f-84b5-ff3986c89618-image.png

      No rule to make target 'C:\Qt\QT5.15\5.15.2\android\bin\uic.exe', needed by 'ui_mainwindow.h'. Stop.

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      @DQUY05

      Can you show your CMake arguments or your .pro file?

      Software Engineer
      The Qt Company, Oslo

      DQUY05D 1 Reply Last reply
      0
      • Axel SpoerlA Axel Spoerl

        @DQUY05

        Can you show your CMake arguments or your .pro file?

        DQUY05D Offline
        DQUY05D Offline
        DQUY05
        wrote on last edited by
        #3

        @Axel-Spoerl Thank you sir, after I reinstalled, I am getting an error that android kits are not listed, even though I have enough JDK, NDK, SDK, so I think I should move this topic to Installation and Deployment, thank you for your help !

        https://forum.qt.io/topic/144751/android-installation-error?_=1682838534287

        450ca6ee-a015-4c60-97fd-f146201e9ec4-ok2.png

        85d44165-33aa-436d-ad93-2e596bd28140-ok3.png

        Axel SpoerlA 1 Reply Last reply
        0
        • DQUY05D DQUY05

          @Axel-Spoerl Thank you sir, after I reinstalled, I am getting an error that android kits are not listed, even though I have enough JDK, NDK, SDK, so I think I should move this topic to Installation and Deployment, thank you for your help !

          https://forum.qt.io/topic/144751/android-installation-error?_=1682838534287

          450ca6ee-a015-4c60-97fd-f146201e9ec4-ok2.png

          85d44165-33aa-436d-ad93-2e596bd28140-ok3.png

          Axel SpoerlA Offline
          Axel SpoerlA Offline
          Axel Spoerl
          Moderators
          wrote on last edited by
          #4

          @DQUY05
          What’s the error displayed in the Qt Versions with the red icon? Probably they don’t know a suitable qmake version…

          Software Engineer
          The Qt Company, Oslo

          DQUY05D 1 Reply Last reply
          0
          • Axel SpoerlA Axel Spoerl

            @DQUY05
            What’s the error displayed in the Qt Versions with the red icon? Probably they don’t know a suitable qmake version…

            DQUY05D Offline
            DQUY05D Offline
            DQUY05
            wrote on last edited by
            #5

            @Axel-Spoerl said in Error No rule to make target:

            What’s the error displayed in the Qt Versions with the red icon? Probably they don’t know a suitable qmake version…

            Dear Sir,

            I have very red line

            a0745439-3e2b-4671-a3bc-18bc5274068a-image.png

            DQUY05D 1 Reply Last reply
            0
            • DQUY05D DQUY05

              @Axel-Spoerl said in Error No rule to make target:

              What’s the error displayed in the Qt Versions with the red icon? Probably they don’t know a suitable qmake version…

              Dear Sir,

              I have very red line

              a0745439-3e2b-4671-a3bc-18bc5274068a-image.png

              DQUY05D Offline
              DQUY05D Offline
              DQUY05
              wrote on last edited by
              #6

              hi,
              after installing and restarting the computer everything worked fine
              Thanks

              1 Reply Last reply
              0
              • DQUY05D DQUY05 has marked this topic as solved on

              • Login

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