Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    General and Desktop
    3
    4
    8053
    Loading More Posts
    • 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
      jesse.zwd last edited by

      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 Reply Quote 0
      • Chris Kawa
        Chris Kawa Moderators last edited by

        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 Reply Quote 0
        • Jeroentjehome
          Jeroentjehome last edited by

          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 Reply Quote 0
          • J
            jesse.zwd last edited by

            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 Reply Quote 0
            • First post
              Last post