Qt "cannot call constructor for""a function-style cast remove the redundant ::QBrush"
This is an easy enough error to fix but I was wondering if someone could explain to me why its happening at all? I heard it was something in GCC, but I thought that sort of thing was legal syntax? Its in some code I didn't write so I'm not sure why its there in the first place, but I'm still curious.
|
what version of gcc are YOU using and what version of gcc was the qt code wrote for ?
there have been many changes from gcc 4.1 to gcc 4.5 ad the problem with things like QBrush::QBrush; change to QBrush ; |
Quote:
|
Quote:
to have less common everyday bugs in new code to improve the code base |
Quote:
|
All times are GMT -5. The time now is 03:59 AM. |