[Solved] Cross-compilation Issue
-
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?
-
Hi and welcome to devnet,
Check the clock of your virtual machine and ensure it's the same as your main machine
-
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.
-
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 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!
-
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 :)