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. [Solved] Cross-compilation Issue
Forum Updated to NodeBB v4.3 + New Features

[Solved] Cross-compilation Issue

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 1.7k 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.
  • M Offline
    M Offline
    mcpolandc
    wrote on last edited by
    #1

    Hi everyone,

    I am trying to get up and running with Qt and have installed Creator 5.1.1 for Windows 8.1 and Ubuntu 12.04 so far (want to install on mac os x as well). I have decided to run Ubuntu as a VM on the Windows machine that I am developing on. So I have written a small HelloWorld app on Windows and tried to open the same project on Linux and build it. I am getting an error saying that the project has a modification time in the future and it refuses to build.

    Is this a common problem or is there something else I should be doing?

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

      Hi and welcome to devnet,

      Check the clock of your virtual machine and ensure it's the same as your main machine

      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
      • M Offline
        M Offline
        mcpolandc
        wrote on last edited by
        #3

        Hey,

        Thanks for replying. With great difficulty, I have manually synchronisd the clock on the host machine and the VM (kind of a ridiculous thing to have to do :P). It didn't make any difference at all. I restarted the host machine and VM a few times to see if it made a difference. The actual number that it is reporting is 2e+04s.

        I said before that it was an error but it is actually a warning but qmake gets in a loop and reports it over and over again which stops it from building.

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

          Are you sure both clock follow the same time zone ?

          Anyway you can try to "touch" all files once, then they should be in a better "time state"

          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
          • M Offline
            M Offline
            mcpolandc
            wrote on last edited by
            #5

            [quote author="SGaist" date="1384727654"]Are you sure both clock follow the same time zone ?

            Anyway you can try to "touch" all files once, then they should be in a better "time state"[/quote]

            Hmmmm... touching them all seemed to work :) Now to deal with my other 50 million warnings. I will probably be a regular poster here :P

            Thanks for your help!

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

              You're welcome !

              This forum is made to ask question :) Well, Qt related ones :D

              Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

              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