I tried to add a QLinearGradient in my qt-program, but after porting to QNX there is no gradient..The color is displayed, but it is just switching from black to blue without changes in between.So I am wondering: Is a Gradient from qt not possible in QNX? What is the requirement for using a gradient? (like some specific module, or a library?)

Now the interesting this is: The Brsuh with the blue gradient is not working (clear cut between the colors), but the Red Brush is working.Any idea why?

And how can I change the resolution for the gradient? Because I can see the lines from the gradient and this doesn´t look so good..

EDIT 2:

after some changes with the color (darkBlue to black, darkRed to black, darkGreen to black) I found some differences in the resolution or "steps" to change the color.darkBlue -> black: 1 step. either black or bluedarkRed -> black: around 13 steps. you can still see the changes with some cutsdarkGreen -> black: around 40 or 50 steps. you can still see the changes but looks better

What could be the reason for this? It looks like that it is possible for the BeagleBoard and QNX to make a gradient, but why so different for different colors???

I also tried with different colors and not only the "dark"-variants, but blue is still the looser (3 steps) and yellow, green and red have the most steps.

The QNX specific Qt code merely blits data from a Qt buffer to the hardware buffer. There could be a video mode issue, or a Qt problem. What version of Qt are you using? If it is the 4.7 QNX port, I'd be willing to try the code for you on 4.8.2 if you will post it.

I use Qt 4.7.1 for QNX.I cannot post the code, because I make this program for my thesis.And it is already too much code for posting (But thanks alot for the offer )

On my win8-machine I use Qt 4.7.4 with MinGW and it is working. So does this hint to a video mode issue on the QNX machine?If so I will try to contact Dennis on Foundry27 (he made the demo-OS I use as a basis on my beagleboard)

Ok, here is the minimal program with the basic architecture I am using. After building in Momentics and porting to BeagleBoard-xM I get the same problem -> gradient is not working well/correct.

The kommunikation class is for the communication with the rs232 interface which I use to read data from my laptop. This class is running in a seperate thread.For the communication I send first a value for the switch-loop ("100" in this case) and then the value (for design change "0" and "1" at the moment).This value is then emitted via a signal to the main-thread and received from the function "setDesign()" in controller.cpp

You got me curious about this. The original version of my phqt program had 32 bit hard coded. I tried running the program with Photon in a 16 bit mode. This worked, but all it proved was that Photon properly blits a 32 bit image to a 16 bit graphic mode. So I upgraded the rest of the software so I could run the Qt program in 16 bit also. It appears to continue to work. I'm uploading the screen dump. If you look very carefully, you can see that the color changes are a little bit coarser than they were in 32 bit mode.

What I already tried:- copy files an binaries to \QNX650\target\qnx6\armle-v7\usr\lib and compile a qt4.8 program -> "make" command is not working because of some missing references- copy only the lib-files to the path -> makefile after "make"-command indicates that it is still qt4.7("make" command with the provided qmake_qnx-file found on foundry27)