diff options
author | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-06-03 17:06:04 +0300 |
---|---|---|
committer | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-06-03 17:10:32 +0300 |
commit | e134e50a20ee9a599b0b17bcc1633e7242fd09f3 (patch) | |
tree | f39cc7893c2440d4ed825e0ed7bc687b96e7894d /mmoc/mmoc.pro | |
parent | 5e79c18dabe5d140de21cce7c3aecfc3b84a7d0c (diff) |
Fixes: NB#171747 - mmoc native binary does not work with qemu - causes build failures
RevBy: Tomas Junnonen
Details: Main configure file, mmoc releated files, src/common_top.pri
src/predeps.pri and some tst project files were modified
to use Qt/C++ mmoc script for i486 target and perl for
armel target
Diffstat (limited to 'mmoc/mmoc.pro')
-rw-r--r-- | mmoc/mmoc.pro | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mmoc/mmoc.pro b/mmoc/mmoc.pro index b9daccc2..8f60b5f2 100644 --- a/mmoc/mmoc.pro +++ b/mmoc/mmoc.pro @@ -27,9 +27,12 @@ SOURCES += \ HEADERS += \ +mmoc_perl.files += mmoc.pl +mmoc_perl.path = $$M_INSTALL_BIN INSTALLS += \ target\ + mmoc_perl win32: { DEFINES += QT_MOC_PATH=\\\"\"moc.exe\"\\\" @@ -37,6 +40,16 @@ win32: { DEFINES += QT_MOC_PATH=\'$$quote(\"$$QMAKE_MOC\")\' } +win32 { + !exists ($$M_BUILD_TREE\mmoc\mmoc.pl) { + system (copy $$M_SOURCE_TREE\mmoc\mmoc.pl $$M_BUILD_TREE\mmoc\mmoc.pl) + } +} else { + !exists ($$M_BUILD_TREE/mmoc/mmoc.pl) { + system (cp -f $$M_SOURCE_TREE/mmoc/mmoc.pl $$M_BUILD_TREE/mmoc/mmoc.pl) + } +} + QMAKE_EXTRA_TARGETS += check check.depends = $${TARGET} check.commands = $$system(true) |