Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Compiling with Qt 5.4 #27

Open
Open

Description

@antis81

I get the following compile error with Qt 5.4:

qshareddata.h:166:11: error: cannot initialize a member subobject of type 'BlueSky::Internal::XmlStateRoot *' with an rvalue of type 'BlueSky::Internal::XmlState *'
        : d(o.data())
          ^ ~~~~~~~~

Today I installed Qt 5.4 and directly stumbled upon this neat little macro: QT_ENABLE_QEXPLICITLYSHAREDDATAPOINTER_STATICCAST.

Read about it in the [Qt documentation]: http://doc-snapshot.qt-project.org/qt5-5.4/qexplicitlyshareddatapointer.html

Any clue how to resolve it?

Activity

  1. scunz commented on Dec 13, 2014

    @scunz
    Member

    Insert explicit casts where they are required :)

  2. antis81 commented on Dec 13, 2014

    @antis81
    MemberAuthor

    Thanks! Should be fixed by 8711739. Could you confirm please, that this is the right thing?

  3. added a commit that references this issue on Dec 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions