Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Building Qt 5.4 on macos 10.7 problem

$
0
0
Hello, i am trying to build Qt 5.4 on macos 10.7 from sources (to have 32 bit version), but clang show me next error during the process. Maybe somebody was successful to make such build, please share your way. The error: ../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1943:1: error: copying variable of type 'QBasicAtomicInt' (aka 'QBasicAtomicInteger<int>') invokes deleted constructor Q_DECLARE_METATYPE_TEMPLATE_2ARG(QPair) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1808:32: note: expanded from macro 'Q_DECLARE_METATYPE_TEMPLATE_2ARG'         static QBasicAtomicInt metatype_id = Q_BASIC_ATOMIC_INITIALIZER(o); \                                ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1509:82: note: in instantiation of member function 'QMetaTypeId<QPair<QVariant, QVariant> >::qt_metatype_id' requested here     static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); }                                                                                  ^ ../../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:229:5: note: function has been explicitly marked deleted here     QBasicAtomicInteger(const QBasicAtomicInteger &) = delete; The version of clang: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn), which comes with the XCode 4.6.3 And here is my configuration i tried to build: ./configure -platform macx-clang-32 -debug-and-release -opensource -plugin-sql-sqlite -skip qtwebkit -skip qtwebkit-examples  -nomake examples -nomake tests Thank you

Viewing all articles
Browse latest Browse all 2113

Trending Articles