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

MSA: use qt4-compatible API for default font #682

Merged

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Nov 8, 2017

We recently remove the hard-coded "Arial" font family from MSA
and instead detect the default font via Qt.

However, the QGuiApplication class only exists in qt5 and thus
current kinetic-devel is broken with ROS indigo (qt4).

We agreed the current development branch should support
the target platforms of all other active branches of MoveIt
as long as someone is willing to provide the patches.

I propose to move from QGuiApplication()::font().family() to QFont().defaultFamily().
The latter is pretty much a stub in Qt4 (it only provides one out of 5-6 different hard-coded strings),
but the API exists in both Qt4 and Qt5.

Copy link
Member

@davetcoleman davetcoleman left a comment

Choose a reason for hiding this comment

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

makes sense to me

@v4hn
Copy link
Contributor Author

v4hn commented Nov 10, 2017

CI failed for the lunar test due to unrelated reasons (console output timeout).
Merging

@v4hn v4hn merged commit f05f750 into moveit:kinetic-devel Nov 10, 2017
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