[Development] Tips needed on doing cross-platform building/testing
Mitch Curtis
mitch.curtis at digia.com
Fri Sep 27 15:37:03 CEST 2013
On 09/27/2013 01:57 PM, Mandeep Sandhu wrote:
> Hi All,
>
> I'm a Linux (Ubuntu) user. I've recently made some changes for a bug
> report and wanted to test them on Windows as well.
>
> For that I've installed Windows (I've installed 7, do I need to test on
> other versions as well?) inside VirtualBox.
>
> Now I was thinking what was the easiest way to get my Qt repo inside
> that VM instance. There are 2 ways I thought of:
>
> * Share the git repo on my Linux host with the VM
> * Push my changes to my Gerrit remote and then clone from there inside
> the VM.
>
> The first option seems to be the simplest. However, can I build the Qt
> sources (using developer mode) in the same dir as where my host (Linux)
> build is? With developer build there's no 'install' dir that's created
> and the built libs/bins are present in the root dir only (qtbase).
>
> I'm sure people here already have setups for handling this scenario, so
> whats the preferred way for doing this?
>
> Thanks,
> -mandeep
I'd just push the patch to gerrit as work in progress (with a WIP prefix
in the commit message) and clone any relevant repos on the VM, then use
the checkout feature of gerrit to checkout the patch. Ideally you should
test your changes on the supported platforms [1], but it's expected that
there may be problems when trying to integrate patches on platforms that
you don't have access to; but that's what CI is for.
http://qt-project.org/doc/qt-5.1/qtdoc/supported-platforms.html#reference-configurations
More information about the Development
mailing list