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

Qt 4.8.0, Linux. Warning: Pixmap: It is not safe to use pixmaps outside the GUI thread #1

Closed
raptorswing opened this issue Jan 23, 2012 · 1 comment
Assignees

Comments

@raptorswing
Copy link
Owner

When compiled under linux with Qt 4.8.0. "Pixmap: It is not safe to use pixmaps outside the GUI thread" is printed to the debug console many many times. Basically, every time QPixmap is used outside of the GUI thread. Apparently that's a no-no.

I should convert the non-GUI thread code to use QImage or maybe even use QImage everywhere.

@raptorswing
Copy link
Owner Author

Fixed it by converting MapTileSource code to use QImage instead of QPixmap. The GUI-thread code retrieves the QImage and converts it to a QPixmap.

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

1 participant