On 03/05/2012 12:51 PM, ext Joseph Crowell wrote:
> Also, I think your error is related to a missing include. Are you doing
> #include<QMouseEvent>?

No, the error is because C++ does not recognize (Qt::LeftButton | 
Qt::RightButton) as a constant. You can only use constant values in a 
switch statement.

-- 
Lincoln Ramsay - Senior Software Engineer
Qt Development Frameworks, Nokia - http://qt.nokia.com/
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to