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

Fix compile errors with Qt5.5 #2109

Closed
wants to merge 1 commit into from

Conversation

heuchi
Copy link
Contributor

@heuchi heuchi commented Jul 7, 2015

define debug methods even if QT_DEBUG is not set,
because the new implementation of Q_ASSERT_X in Qt5.5
always requires all symbols to be defined.

importmidi defines some debug helper methods only when compiled with QT_DEBUG, which was fine up to Qt5.4. With Qt5.5, however, 'make' leads to compile errors. (See https://musescore.org/en/node/68051)

If it's OK to have the debug helpers included in the release version, this does fix the compilation problems with Qt5.5

define debug methods even if QT_DEBUG is not set,
because the new implementation of Q_ASSERT_X in Qt5.5
always requires all symbols to be defined.
@wschweer
Copy link
Contributor

wschweer commented Jul 8, 2015

I prefer to change all ASSERTs to NOPs in release mode to avoid any runtime penalty.

@wschweer wschweer closed this Jul 8, 2015
@lasconic
Copy link
Contributor

lasconic commented Jul 8, 2015

See fc8fad9

@heuchi heuchi deleted the 68051_compile_Qt55 branch July 9, 2015 12:16
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.

None yet

3 participants