1. qtd
  2. repo
Issue #1 new

const problems

Andrej Mitrovic
created an issue

I'm having issues compiling this code: [[https://gist.github.com/783414|Link]]

Errors:

testqt.d(24): Error: function qt.core.QPoint.QPoint.opSub (ref QPoint p) is not callable using argument types (QPoint) const

testqt.d(24): Error: (cast(QWidget)this).frameGeometry().topLeft() is not an lvalue

This was adapted from http://doc.trolltech.com/4.6.2/widgets-shapedclock.html .

Is this a library issue, and if so, how would I work around this?

Comments (0)

  1. Log in to comment