I need help for build Qt 5.1 alpha for iOS
-
Hi everyone!
Today I’ve tried to build the Qt 5.1 Alpha from this "sources":http://download.qt-project.org/development_releases/qt/5.1/5.1.0-alpha/single/qt-everywhere-opensource-src-5.1.0-alpha.tar.gz for iOS platform using command like:
@
./configure -xplatform unsupported/macx-ios-clang -developer-build -nomake examples -nomake tests -release
@This command I found in the "article":http://blog.qt.digia.com/blog/2013/03/05/qt-for-ios-preview/. But i’ve received some error with v8. How I can disable QtQuick 2.0 (but I need QML 1.1 for iOS) with v8 and all others modules which doesn't supports on iOS for now?
The error looks like this:
@
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5XmlPatterns.a(qnodebuilder.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5XmlPatterns.a(qnodemodel.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5XmlPatterns.a(qnodebuilder.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5XmlPatterns.a(qnodemodel.o) has no symbols
Info: creating cache file /Volumes/Backups/1111/qt-everywhere-opensource-src-5.1.0-alpha/qtjsbackend/.qmake.cache
Checking for hardfloat... no
Project MESSAGE: /Volumes/Backups/1111/qt-everywhere-opensource-src-5.1.0-alpha/qtbase/bin/syncqt -check-includes -module QtV8 -version 5.1.0 -outdir /Volumes/Backups/1111/qt-everywhere-opensource-src-5.1.0-alpha/qtjsbackend /Volumes/Backups/1111/qt-everywhere-opensource-src-5.1.0-alpha/qtjsbackend
<srcbase> = /Volumes/Backups/1111/qt-everywhere-opensource-src-5.1.0-alpha/qtjsbackend
<outbase> = /Volumes/Backups/1111/qt-everywhere-opensource-src-5.1.0-alpha/qtjsbackend
QtV8: created fwd-include header(s) for <srcbase>/src/v8/../3rdparty/v8/include/ { v8-debug.h (1), v8-preparser.h (1), v8-profiler.h (1), v8-testing.h (1), v8.h (1), v8stdint.h (1) }
QtV8: created fwd-include header(s) for <srcbase>/src/v8/../v8/ { qcalculatehash_p.h (1) }
QtV8: created headers.pri file
In file included from ../3rdparty/v8/src/accessors.cc:28:
In file included from ../3rdparty/v8/src/v8.h:61:
In file included from ../3rdparty/v8/src/v8utils.h:32:
In file included from ../3rdparty/v8/src/platform.h:100:
In file included from ../3rdparty/v8/src/lazy-instance.h:94:
../3rdparty/v8/src/once.h:106:7: error: no matching function for call to 'Acquire_Load'
if (Acquire_Load(once) != ONCE_STATE_DONE) {
^~~~~~~~~~~~
../3rdparty/v8/src/atomicops_internals_arm_gcc.h:132:17: note: candidate function not viable: no known conversion from 'OnceType *' (aka 'long *') to 'const volatile Atomic32 *' (aka 'const volatile int ') for 1st argument
inline Atomic32 Acquire_Load(volatile const Atomic32 ptr) {
^
In file included from ../3rdparty/v8/src/accessors.cc:28:
In file included from ../3rdparty/v8/src/v8.h:61:
In file included from ../3rdparty/v8/src/v8utils.h:32:
In file included from ../3rdparty/v8/src/platform.h:100:
In file included from ../3rdparty/v8/src/lazy-instance.h:94:
../3rdparty/v8/src/once.h:115:7: error: no matching function for call to 'Acquire_Load'
if (Acquire_Load(once) != ONCE_STATE_DONE) {
^~~~~~~~~~~~
../3rdparty/v8/src/atomicops_internals_arm_gcc.h:132:17: note: candidate function not viable: no known conversion from 'OnceType *' (aka 'long *') to 'const volatile Atomic32 *' (aka 'const volatile int ') for 1st argument
inline Atomic32 Acquire_Load(volatile const Atomic32 ptr) {
^
In file included from ../3rdparty/v8/src/accessors.cc:28:
In file included from ../3rdparty/v8/src/v8.h:65:
In file included from ../3rdparty/v8/src/objects-inl.h:38:
In file included from ../3rdparty/v8/src/elements.h:32:
In file included from ../3rdparty/v8/src/objects.h:39:
../3rdparty/v8/src/arm/constants-arm.h:33:2: error: ARM EABI support is required.
#error ARM EABI support is required.
^
In file included from ../3rdparty/v8/src/accessors.cc:28:
In file included from ../3rdparty/v8/src/v8.h:65:
In file included from ../3rdparty/v8/src/objects-inl.h:38:
In file included from ../3rdparty/v8/src/elements.h:34:
In file included from ../3rdparty/v8/src/isolate.h:44:
../3rdparty/v8/src/optimizing-compiler-thread.h:51:5: error: no matching function for call to 'NoBarrier_Store'
NoBarrier_Store(&stop_thread_, static_cast<AtomicWord>(false));
^~~~~~~~~~~~~~~
../3rdparty/v8/src/atomicops_internals_arm_gcc.h:110:13: note: candidate function not viable: no known conversion from 'volatile AtomicWord *' (aka 'volatile long *') to 'volatile Atomic32 *' (aka 'volatile int ') for 1st argument
inline void NoBarrier_Store(volatile Atomic32 ptr, Atomic32 value) {
^
4 errors generated.
make[3]: *** [.obj/release-static/accessors.o] Error 1
make[2]: *** [sub-v8-make_first-ordered] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtjsbackend-make_first] Error 2
Andrews-MacBook-Pro:qt-everywhere-opensource-src-5.1.0-alpha andrew$
@Must I use sources from article for build Qt for iOS? Thanks for any help!
-
I don't see anywhere truly appropriate to mention this as I resolved the problem, but I think I should mention it anyhow so here goes. I got this error regarding my moc files while building a project with Beta. It ended up somehow being QtCreator's fault; clean and rebuild didn't help, but closing all open files fixed it.
-
You didn't follow Getting Started correctly.
It says to build QtBase, not whole Qt source tree. After QtBase, you can build QtScript and QtQuick1. -
I'm getting the same error.