Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QTimer.moc missing in Qt 5.2.0 shadow build on Win 7 x64 and VS2013
Qt 6.11 is out! See what's new in the release blog

QTimer.moc missing in Qt 5.2.0 shadow build on Win 7 x64 and VS2013

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 2.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.
  • F Offline
    F Offline
    FlawedLogic
    wrote on last edited by
    #1

    Hi,

    I've got Qt 5.2.0-beta1 building in place OK, but when I try to do a shadow build it fails because qtimer.moc cannot be found.

    The .moc directory of the in place build does have this file and the shadow doesn't. There are other differences as well (e.g. qstatemachine.moc is also missing).

    Also, if I compare the generated Makefile.Debug and Makefile.Release files for corelib from the two areas there are a number of file differences over and above the expected path differences. This suggests there is an issue with shadow building with the beta, however, I'm quite new to Qt so I'm quite prepared to accept I'm doing something wrong.

    Can anyone throw some light on this?

    Thanks.

    Stephen

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      How did you configure Qt to build ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • F Offline
        F Offline
        FlawedLogic
        wrote on last edited by
        #3

        The configure options I used were:

        configure -prefix C:\Qt\5.2.0\Win32 -debug-and-release -platform win32-msvc2013 -opensource -qt-style-windowsxp -qt-style-windows -developer-build -confirm-license -opengl desktop

        I used the same options, sans -prefix, for the in place build which works OK.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Since you configure a developer-build just call configure directly from the directory where you want to have your Qt built and remove prefix
          e.g.

          @cd C:\Qt\5.2.0
          C:\Qt\qt_sources_path\configure -options_you_want
          nmake or jom.exe@

          And you should be good to go

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • F Offline
            F Offline
            FlawedLogic
            wrote on last edited by
            #5

            Tried that, same result.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              I missed the fact that you are using the beta1, you should rather take the latest 5.2 version (at least RC1)

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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