[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Moving MXE directory
From: |
Martin Gerhardy |
Subject: |
Re: [Mingw-cross-env-list] Moving MXE directory |
Date: |
Wed, 25 Jun 2014 16:14:52 +0200 |
hi
you can not do that easily because the (absolute) paths are compiled into some
binaries, pkg files and most likely a lot of other files. you have to rebuild
them on your desktop with the same paths the ci env is using. then you should
be able to copy it. but they have to exactly match.
martin
Am 25.06.2014 um 11:00 schrieb Arthur Toussaint <address@hidden>:
> Hello,
>
> I'm trying to cross-compile a Qt app using mxe, I've managed to build it
> on my desktop environment, but now I'm trying to build on a CI
> environment, the problem is that if I rebuild the mxe environment at
> each commit, the build on the CI environment is too long (>1h), so I
> decided to make a tarball with the mxe I built on my desktop environment
> and download it on the CI.
>
> The problem is that when I do a qmake, I get "QMAKESPEC has not been
> set, so configuration cannot be deduced". So I set QMAKESPEC to
> <mxe_path>/usr/i686-w64-mingw32.shared/qt/mkspecs/win32-g++ and the
> qmake worked, but when I try to make, I get "fatal error: QString: No
> such file or directory".
>
> I think it is a weird path problem or somthing like that, but I really
> don't know where the problem is. I tried to move the mxe folder in my
> desktop environment and I got the same problem
>
> Thanks in advance for your help
>