Skip to content

[FIX] pyOpenMS Qt5 for macOS - #3318

Merged
jpfeuffer merged 2 commits into
OpenMS:developfrom
grosenberger:fix/pyopenmsqt5
Mar 18, 2018
Merged

jpfeuffer merged 2 commits into
OpenMS:developfrom
grosenberger:fix/pyopenmsqt5

Conversation

@grosenberger

Copy link
Copy Markdown
Contributor

QT_LIBRARY_DIR unfortunately doesn't exist with Qt5 anymore and pyOpenMS can't be built under macOS. This patch ensures that the libraries can be copied. Unfortunately, the problem #3301 persists.

clang can't find the Qt5 headers. Did anybody observe similar issues?

@jpfeuffer

Copy link
Copy Markdown
Contributor

You have to check which includes are passed from openms (it's external includes which include qt5core and qt5network at least). Probably the QT5 root dir is missing (which needs to be there because we prefix the includes with the subdirectory). Maybe we pass this directory by other means somehow on the build machines. I will take a close look on Monday.

@grosenberger

Copy link
Copy Markdown
Contributor Author

Thanks for the suggestion, the new patch enables building pyOpenMS on macOS again.

@jpfeuffer

Copy link
Copy Markdown
Contributor

No problem. The changes make sense. +1

@jpfeuffer
jpfeuffer merged commit d0fd416 into OpenMS:develop Mar 18, 2018
@grosenberger
grosenberger deleted the fix/pyopenmsqt5 branch March 18, 2018 16:14
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