Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43280

Can't build Qt 5.4 on MacOS X 10.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.4.0
    • Core: Other
    • None
    • MacOS X 10.7
      XCode 4.6.3
      Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
    • macOS

    Description

      The clang 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;
      

      My configuration:

      ./configure -platform macx-clang-32 -debug-and-release -opensource -plugin-sql-sqlite -skip qtwebkit -skip qtwebkit-examples -nomake examples -nomake tests

      This problem related with QTBUG-43279

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              thiago Thiago Macieira
              ramzes2 Roman Chernenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes