Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QColor :: setRGB: RGB parameters out of range #13

Open
arminmustafa opened this issue Dec 18, 2013 · 1 comment
Open

QColor :: setRGB: RGB parameters out of range #13

arminmustafa opened this issue Dec 18, 2013 · 1 comment

Comments

@arminmustafa
Copy link

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?

@JuriGagarin
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants