Skip to content

fix build error on Ubuntu 16.04 #40

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

niosus
Copy link

@niosus niosus commented Jan 31, 2017

There was a bunch of build errors on Ubuntu 16.04. I've fixed them, but did not test if the fixes break anything on Windows.

Short summary:

  • fix missing QtConcurrent header. It is not present on Ubuntu.
  • fix c++11 configuration not being read
  • fix vector access. No takeAt method available. Replaced with generic at method. In case you don't need to check the boundaries, one can replace it with [index].

@@ -9,7 +9,8 @@
#include <QPen>
#include <QPainter>
#include <QRgb>
#include <QtConcurrent/QtConcurrent>
#include <QtConcurrentRun>
Copy link
Owner

@tux3 tux3 Feb 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't build for me using a freshly downloaded Qt 5.8 SDK on Linux, I have that header in QtConcurrent/QtConcurrentRun instead
What version of Qt are you compiling with?

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

Successfully merging this pull request may close these issues.

2 participants