Patrick N.
|
QLinearGradient problems on QNX650 - BeagleboardxM
|
Patrick N.
10/09/2013 9:00 AM
post105771
|
QLinearGradient problems on QNX650 - BeagleboardxM
Hi again :)
I found a strange failure in my program and don´t know how to solve it, so I hope I can get some help here :)
In my QGraphicsView I wanted to change the backgroundcolor with a QLinearGradient from top to middle and middle to
bottom.
First I used darkBlue to black and again to darkBlue. The strange thing is that the change of color from darkBlue to
black is in 1 step, so I have a clear cut of the colors instead of a good gradient.
Then I tried different colors and the effekt and steps changed with each color:
darkRed to black -> 15 steps
darkGreen to black -> 40 steps
magenta to black -> 6 steps
and so on...
What could be the problem? On my windows machine it is working correct.
I use the demo-bsp from Dennis as basis for my qt-program.
I also added a simple minimal program which shows the same behaviour after compiling for QNX and porting.
|
|
|