Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt5 #1

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Qt5 #1

wants to merge 14 commits into from

Conversation

slyshykO
Copy link

This is fast port to Qt5

@delaitre
Copy link
Owner

Thanks for that. I will test this as soon as I have some spare time!

I noticed :

-Ellipse::Ellipse(QDeclarativeItem* parent)

  • : QDeclarativeItem(parent)
    +Ellipse::Ellipse(QQuickItem* parent)
  • : QQuickPaintedItem(parent)
    , m_borderWidth(0.)
    {
  • // need to disable this flag to draw inside a QDeclarativeItem
  • setFlag(QGraphicsItem::ItemHasNoContents, false);
  • //FIXME: diasble flags settings ?
  • // need to disable this flag to draw inside a QQuickItem
  • //setFlag(QGraphicsItem::ItemHasNoContents, false);

// need to disable this flag to receive geometry change events
(used to discard the path cache)

  • setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
  • //setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
    }

and more or less the same thing in another class.

Does it mean ItemHasNoContents does not exist/is not needed anymore?

Same for ItemSendsGeometryChanges?

Thanks !

On 19 October 2014 02:36, Slyshyk Oleksiy [email protected] wrote:

This is fast port to Qt5

You can merge this Pull Request by running

git pull https://github.com/slyshykO/indigets qt5

Or view, comment on, or merge it at:

#1
Commit Summary

  • add qmake build
  • add qmldir fot dest directory
  • add msvd generated to ignor.
  • success compilation for Qt5
  • it is work.

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#1.

@slyshykO
Copy link
Author

I am commented setFlag() because i can't find proper flags in QQmlItem. Maybe they not used now. I only start learn QML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants