On Friday, 30 de December de 2011 12.35.44, Thiago Macieira wrote:
> I have an ARM and a MIPS cross-compilation builds. My host machine is a
> 64-bit x86-64. Configure was run with no flags related to V8.
> 
> It told me:
> V8 module .............. yes
> 
> mkspecs/qconfig.pri's QT_CONFIG contains "v8" but not "v8snapshot".

Turns out that v8snapshot is not necessary for building V8. So the attached 
one-line (thus, not copyrightable) patch fixes the problem.

The question still stands though: doesn't anyone try to cross-compile Qt for 
ARM these days?

> How does one build Qt in cross-compilation mode these days?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
>From feb928a457f27cd177520b1423016c60a62a2254 Mon Sep 17 00:00:00 2001
From: Thiago Macieira <[email protected]>
Date: Sat, 31 Dec 2011 21:34:31 -0200
Subject: [PATCH 1/1] Unbreak cross-compilation to ARM.

v8snapshot is not required to build V8.

Change-Id: Idd56156bfc0b7f26606e60287a7b0d6325309007
---
 src/src.pro |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/src.pro b/src/src.pro
index 0f7a380..04e3688 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -65,7 +65,7 @@ src_platformsupport.target = sub-platformsupport
       src_declarative.depends += src_opengl
       src_webkit.depends += src_opengl
    }
-   src_v8.depends += src_tools_mkv8snapshot
+   contains(QT_CONFIG, v8snapshot):src_v8.depends += src_tools_mkv8snapshot
 }
 
 
-- 
1.7.6.4

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to