SfM-Toy-Library
SfM-Toy-Library copied to clipboard
QColor :: setRGB: RGB parameters out of range
I compiled the application. When I am running the spplication, before loading anything at all, with justa window on, this is displayed in command line and that too multiple times like this and it keeps coming after you load the images: QColor :: setRGB: RGB parameters out of range QColor :: setRGB: RGB parameters out of range QColor :: setRGB: RGB parameters out of range
Also No output is seen in the window, it stays blank continuosly.
Can someone help me with this?
I guess you are not working with a mac. I had the same issue and fixed it with a define. Take a look here: https://github.com/JuriGagarin/SfM-Toy-Library/blob/develop/main.cpp#L55 (do not use OpenGL Core Profile, this is required on a mac)
Since this is not really a great fix, i haven't yet posted a pull request.
Maybe you would also checkout my "NewUI" Branch: https://github.com/JuriGagarin/SfM-Toy-Library/tree/feature/newui which migrates the project to qt5 and fixed some errors (e.g. making QOpenGL current from a different thread (non main)). But be careful! Features are missing and there are still some bugs.