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. moc: Too many input files specified
Forum Updated to NodeBB v4.3 + New Features

moc: Too many input files specified

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 4 Posters 605 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.
  • A Offline
    A Offline
    Ansgar
    wrote on last edited by Ansgar
    #1

    Re: moc: Too many input files specified problem with VS 2015 and QT 5.9.6

    First off, there's an existing topic for this, but since that one is quite old, the forum suggested opening a new thread and referencing the old, so that's what I'm doing.

    So yeah, this problem still exists in 2020, apparently.

    I have been running Qt 5.13.0, Visual Studio 2017 + Qt Plugin. Everything worked fine.
    Then I had the fateful idea to run some tests with Qt 5.15.1 and Visual Studio 2019 + Plugin, so I installed those.
    Since then, I have the moc problem - in both setups.
    I uninstalled Qt 5.15.1 again, I uninstalled VS 2019 again, I even completely un- and reinstalled Qt 5.13.0 - all to no avail, the problem is here to stay.
    It is also quite random. Sometimes a project cleanup seems to solve the problem, but it is never permanent.

    Edit: My apologies, I was able to sort it out after all. The Qt Plugin was the culprit. When I installed it for VS 2019, it was upgraded from 2.5.2 to 2.6.0. Apparently that version is buggy as hell, though. Reverting to 2.5.2 fixed my problem.

    K D 2 Replies Last reply
    0
    • A Ansgar

      Re: moc: Too many input files specified problem with VS 2015 and QT 5.9.6

      First off, there's an existing topic for this, but since that one is quite old, the forum suggested opening a new thread and referencing the old, so that's what I'm doing.

      So yeah, this problem still exists in 2020, apparently.

      I have been running Qt 5.13.0, Visual Studio 2017 + Qt Plugin. Everything worked fine.
      Then I had the fateful idea to run some tests with Qt 5.15.1 and Visual Studio 2019 + Plugin, so I installed those.
      Since then, I have the moc problem - in both setups.
      I uninstalled Qt 5.15.1 again, I uninstalled VS 2019 again, I even completely un- and reinstalled Qt 5.13.0 - all to no avail, the problem is here to stay.
      It is also quite random. Sometimes a project cleanup seems to solve the problem, but it is never permanent.

      Edit: My apologies, I was able to sort it out after all. The Qt Plugin was the culprit. When I installed it for VS 2019, it was upgraded from 2.5.2 to 2.6.0. Apparently that version is buggy as hell, though. Reverting to 2.5.2 fixed my problem.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Ansgar

      Good to know that you found and solved your issue. Did you check for a bug report on the issue?

      If there is no entry, you should enter a bug report for this. This might help others.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • A Ansgar

        Re: moc: Too many input files specified problem with VS 2015 and QT 5.9.6

        First off, there's an existing topic for this, but since that one is quite old, the forum suggested opening a new thread and referencing the old, so that's what I'm doing.

        So yeah, this problem still exists in 2020, apparently.

        I have been running Qt 5.13.0, Visual Studio 2017 + Qt Plugin. Everything worked fine.
        Then I had the fateful idea to run some tests with Qt 5.15.1 and Visual Studio 2019 + Plugin, so I installed those.
        Since then, I have the moc problem - in both setups.
        I uninstalled Qt 5.15.1 again, I uninstalled VS 2019 again, I even completely un- and reinstalled Qt 5.13.0 - all to no avail, the problem is here to stay.
        It is also quite random. Sometimes a project cleanup seems to solve the problem, but it is never permanent.

        Edit: My apologies, I was able to sort it out after all. The Qt Plugin was the culprit. When I installed it for VS 2019, it was upgraded from 2.5.2 to 2.6.0. Apparently that version is buggy as hell, though. Reverting to 2.5.2 fixed my problem.

        D Offline
        D Offline
        Dima077
        wrote on last edited by
        #3

        @Ansgar Hi, can you tell where you have downloaded 2.5.2?

        K 1 Reply Last reply
        0
        • D Dima077

          @Ansgar Hi, can you tell where you have downloaded 2.5.2?

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @Dima077

          Probably from here https://download.qt.io/archive/vsaddin/

          Vote the answer(s) that helped you to solve your issue(s)

          D 1 Reply Last reply
          0
          • K koahnig

            @Dima077

            Probably from here https://download.qt.io/archive/vsaddin/

            D Offline
            D Offline
            Dima077
            wrote on last edited by
            #5

            @koahnig Thanks! I installed 2.6.0 instead of 2.6.0-rev.06. It solved the issue. Probably rev 06 has bugs. Spent 2 hours trying to understand where the problem is.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              seandr
              wrote on last edited by
              #6

              Thanks for the info, upgrading to Qt Plugin 2.6.0.7 seems to have fixed this issue for me.

              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