Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Main.moc:No file or directory

Main.moc:No file or directory

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 3 Posters 3.0k 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.
  • E Offline
    E Offline
    extremist
    wrote on last edited by
    #1

    Hi, newbie here. After installing Qt Creator in Windows 7, I tried building examples(Animated Tiles). And I get this error(the title). Google gave me nothing. I have chosen installing mingw compiler, if it helps.

    1 Reply Last reply
    0
    • ZlatomirZ Offline
      ZlatomirZ Offline
      Zlatomir
      wrote on last edited by
      #2

      You build from Creator?
      Try Run qmake from Build menu and then rebuild

      If you build from cmd, have you run qmake?

      https://forum.qt.io/category/41/romanian

      1 Reply Last reply
      0
      • E Offline
        E Offline
        extremist
        wrote on last edited by
        #3

        Yes, I am building from qt creator.

        Before I waste your time, I must say I am completely new on windows build enviroment. I was following the qt in education lectures where it was suggested to try building with ctrl+r.

        To use the command line approach, I don't even know where the examples are saved.

        Ok, I tried running "qmake" from Build menu. That works without complaint. However, when I click "run" from the Build menu, same error comes back.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          l.v.p
          wrote on last edited by
          #4

          Did you set proper paths in Tools->Options->Qt4 for mingw and qmake?

          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