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 `findsubtitleswindow.ui', needed by `.ui/ui_findsubtitleswindow.h'.

No rule to make target `findsubtitleswindow.ui', needed by `.ui/ui_findsubtitleswindow.h'.

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 8.2k 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
    jesse.zwd
    wrote on last edited by
    #1

    Hi, I am using QT5 to run a QT4 project, an error occurs as shown above, and in the .pro file, the line "FORMS += findsubtitleswindow.ui" exists.

    What is the problem?

    thanks a lot in advance!

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Try to rerun qmake (Build->Run qmake), or, if that fails, clean the output directory and rebuild your project.
      Also make sure you have a QT += widgets in your .pro file. Qt5 moved widgets to separate library.

      1 Reply Last reply
      0
      • JeroentjehomeJ Offline
        JeroentjehomeJ Offline
        Jeroentjehome
        wrote on last edited by
        #3

        Hi, What Krzysztof says is perfect. What I usually recommend is to create a new project in QCreator that comes with Qt5. That will set all Qt library things automatic. Then a qmake execution will be done in default.
        The problem you discribe is almost always a qmake rerun or new project problem.
        Greeetz

        Greetz, Jeroen

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jesse.zwd
          wrote on last edited by
          #4

          I do as Krzysztof says, but it fails. Maybe I shall create a new object with QT5.

          Thanks a lot, you guys.

          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